Re: FW: FW: [Ani-users] Howto define partition size?
Status: Beta
Brought to you by:
substring-sfn
From: Till W. <t.w...@su...> - 2005-01-24 13:48:53
|
Hi Julien Sorry for let you wait this long... Reisdorffer, Julien schrieb: >i still get the error message. perhaps you can recognize my mistake when i tell you what i did: > >i made a partition with fdisk, defined as size 6000 MB (fdisk tells a size slight above) >i installed FreeDOS 9 on that machine >booted knoppix, made image of the boot sector with "dd if=/dev/hda of=boot.img count=1" >copied it to a floppy disk and the to the Ai386/system/install folder >Edited the "menu.lst" like Till told me. >edited the Ani.pl to: > >"mySys($_parted, '-s', '/dev/'.$CfgData{'INSTDEV'}, 'mkpart', 'primary', 'FAT32', '1020.001', '6000') == 0" > > You also have to change the block where the partitions get formated: -- snip -- *for* (*my* $part=1; $part <= $CfgData{*'SYSPART'*}; $part++) { zeroBlock($CfgData{*'INSTDEV'*}.$part); mySys($_parted, *'-s'*, *'/dev/'*.$CfgData{*'INSTDEV'*}, *'mkfs'*, $part, *'FAT16'*) == 0 *or* fatal(*"prepHd::parted: mkfs "*.$CfgData{*'INSTDEV'*}.$part.*" : $! ($?)"*); } -- snap -- to something like this: -- snip -- *for* (*my* $part=1; $part < $CfgData{*'SYSPART'*}; $part++) { zeroBlock($CfgData{*'INSTDEV'*}.$part); mySys($_parted, *'-s'*, *'/dev/'*.$CfgData{*'INSTDEV'*}, *'mkfs'*, $part, *'FAT16'*) == 0 *or* fatal(*"prepHd::parted: mkfs "*.$CfgData{*'INSTDEV'*}.$part.*" : $! ($?)"*); } zeroBlock($CfgData{*'INSTDEV'*}.$CfgData{*'SYSPART'*}); mySys($_parted, *'-s'*, *'/dev/'*.$CfgData{*'INSTDEV'*}, *'mkfs'*, $part, *'FAT16'*) == 0 * or* fatal(*"prepHd::parted: mkfs "*.$CfgData{*'INSTDEV'*}.$part.*" : $! ($?)"*); -- snap -- BUT(!): Our anisys.com in autoexec.tpl still doesn't work with FAT32, i.e. winnt.exe woun't boot after pre-GUI setup :( So you must wait until we hacked the anisys.com, or you find a workaround of your own. One solution would be to replace FreeDOS with MS-DOS. Then you had to take the boot.img for grub again... bg Till -- Where do you want to go today? - ANIwhere! http://ani.sourceforge.net |