Re: [Ani-users] Partition
Status: Beta
Brought to you by:
substring-sfn
From: Till W. <t.w...@su...> - 2005-12-13 16:29:10
|
Dear ANI users, In the default mode (bootprompt 'new'), ANI creates three partitions: One small for booting and remote installation purposes (SERVICE), a 2GB sized one for storing the I386 tree (MIRROR), and a big one at the end of the harddisk (SYSTEM), which takes all the remaining place for the system drive. The two first partitions are hidden after the second reboot so that third one becomes the 'C:' system drive. You always should ANI let prepare the harddisk for the first time. After an initial installation you could unhide the second partition for storing resistent user data there. When you have to reinstall your system, use the boot mode 'update' or 'nonet', and the second partition well be untouched. Please consult the ANI documentation A.1.1 concerning Installation Modes. In the current version of ANI there's no official support for custom partitioning. The only way to adapted the partition scheme to your needs is in editiing the Ani.pm in manix.bz2 (/usr/lib/perl5/site_perl/5.6.0/Ani.pm). Change or extend the lines in PerpHd() subroutine to your needs: mySys($_parted, '-s', '/dev/'.$CfgData{'INSTDEV'}, 'mklabel', 'msdos') == 0 or fatal("prepHd::parted: label $CfgData{'INSTDEV'} : $! ($?)"); mySys($_parted, '-s', '/dev/'.$CfgData{'INSTDEV'}, 'mkpart', 'primary', 'FAT16', '0', '20.000') == 0 or fatal("prepHd::parted: mkpart ".$CfgData{'INSTDEV'}."1 : $! ($?)"); mySys($_parted, '-s', '/dev/'.$CfgData{'INSTDEV'}, 'mkpart', 'primary', 'FAT16', '20.001', '1020') == 0 or fatal("prepHd::parted: mkpart ".$CfgData{'INSTDEV'}."2 : $! ($?)"); mySys($_parted, '-s', '/dev/'.$CfgData{'INSTDEV'}, 'mkpart', 'primary', 'FAT32', '1020.001', '3000') == 0 or fatal("prepHd::parted: mkpart ".$CfgData{'INSTDEV'}."3 : $! ($?)"); Maybe you should do some more changes in main.pl on the installation share Ai386/ani/, too. Please read the documentation of the parameters in config/ani.cf0 on the bootmedia (e.g. DOPART, FORMAT_MIR). Maybe the next big release (1.2.x) will have a HD partitioning configuration part in the ani.cfg files or in a cfg file of its own. bg Till Pascal Gora schrieb: > Hi ani's, > > I would like to know if it's possible to have a choice on which > partition we can install windows. > I tried to put Autopartiton=0 and 1 in unattend.tpl but it doesn't work. > I prepared 2 partitions, 1 for the system (windows) and a another one > for the data but ani format all of the disk on 1 partition and install > windows. > How can we used differents partitions for the OS. If we have severals > OS how can used it on the same hard drive ? > > Thanks, > > Pascal > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Ani-users mailing list > Ani...@li... > https://lists.sourceforge.net/lists/listinfo/ani-users -- Where do you want to go today? - ANIwhere! http://ani.sourceforge.net |