RE: FW: FW: [Ani-users] Howto define partition size?
Status: Beta
Brought to you by:
substring-sfn
From: Reisdorffer, J. <Jul...@ha...> - 2005-02-01 10:21:34
|
Hi Till, i don=B4t want to bother you, but i was curious about the actual status = of the ANI FAT32 support :-) So, what has happened yet? Thanks. Julien -----Original Message----- From: Till Wimmer [mailto:t.w...@su...] Sent: Monday, January 24, 2005 2:49 PM To: Reisdorffer, Julien Cc: ani...@li... Subject: Re: FW: FW: [Ani-users] Howto define partition size? 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=3D/dev/hda = of=3Dboot.img count=3D1" >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') =3D=3D 0" > =20 > You also have to change the block where the partitions get formated: -- snip -- *for* (*my* $part=3D1; $part <=3D $CfgData{*'SYSPART'*}; = $part++) { zeroBlock($CfgData{*'INSTDEV'*}.$part); mySys($_parted, *'-s'*, *'/dev/'*.$CfgData{*'INSTDEV'*}, = *'mkfs'*, $part, *'FAT16'*) =3D=3D 0 *or* fatal(*"prepHd::parted: mkfs = "*.$CfgData{*'INSTDEV'*}.$part.*" : $! ($?)"*); } -- snap -- to something like this: -- snip -- *for* (*my* $part=3D1; $part < $CfgData{*'SYSPART'*}; $part++) { zeroBlock($CfgData{*'INSTDEV'*}.$part); mySys($_parted, *'-s'*, *'/dev/'*.$CfgData{*'INSTDEV'*}, = *'mkfs'*, $part, *'FAT16'*) =3D=3D 0 *or* fatal(*"prepHd::parted: mkfs = "*.$CfgData{*'INSTDEV'*}.$part.*" : $! ($?)"*); } zeroBlock($CfgData{*'INSTDEV'*}.$CfgData{*'SYSPART'*}); mySys($_parted, *'-s'*, *'/dev/'*.$CfgData{*'INSTDEV'*}, = *'mkfs'*, $part, *'FAT16'*) =3D=3D 0 * or* fatal(*"prepHd::parted: mkfs = "*.$CfgData{*'INSTDEV'*}.$part.*" : $! ($?)"*);=09 -- snap -- BUT(!): Our anisys.com in autoexec.tpl still doesn't work with FAT32,=20 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=20 workaround of your own. One solution would be to replace FreeDOS with=20 MS-DOS. Then you had to take the boot.img for grub again... bg Till --=20 Where do you want to go today? - ANIwhere! http://ani.sourceforge.net |