I'm sorry to quote this pretty long message but I'm still getting the same trouble with setup_harddisks and I'm still not able to install the machine with FAI.
Does anyone have an idea where it's coming from and how it can be fixed? Thanks On 22 Mar 2005, Cyril Bouthors wrote: > On a new server with one single 80GB S-ATA hard disk, sfdisk through > setup_harddisks fails. I've reproduced it with the following: > > [EMAIL PROTECTED]:/tmp# sfdisk /dev/hda </tmp/fai/partition.hda > Checking that no-one is using this disk right now ... > OK > > Disk /dev/hda: 9964 cylinders, 255 heads, 63 sectors/track > Old situation: > Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 > > Device Boot Start End #cyls #blocks Id System > /dev/hda1 0+ 24 25- 200781 83 Linux > /dev/hda2 25 268 244 1959930 83 Linux > /dev/hda3 269 9963 9695 77875087+ 83 Linux > /dev/hda4 0 - 0 0 0 Empty > Warning: given size (266068530) exceeds max allowable size (157597650) > > sfdisk: bad input > [EMAIL PROTECTED]:/tmp# echo $? > 1 > > --------------------- > > /tmp/fai/partition.hda is wrong and I guess it's a bug with > setup_harddisks. The FAI installation fails because of that. Here > are other important information you might need: > > [EMAIL PROTECTED]:/tmp# cat /tmp/fai/partition.hda > # partition table of device: /dev/hda > unit: sectors > > /dev/hda1 : start= 63, size= 417627, Id= , bootable > /dev/hda2 : start= 417690, size= 2056320, Id= 82 > /dev/hda3 : start= 2474010, size= 266068530, Id= > [EMAIL PROTECTED]:/tmp# cat /fai/disk_config/WEB_PARTITIONS_IDE > # for more information, have a look at > /usr/share/doc/fai/README.disk_config.gz > > # <type> <mountpoint> <size in mb> [mount options] [;extra options] > > disk_config hda > primary /boot 200 rw ;boot xfs > primary swap 1000 rw > primary / 1000- rw ;xfs > [EMAIL PROTECTED]:/tmp# sfdisk -l /dev/hda > > Disk /dev/hda: 9964 cylinders, 255 heads, 63 sectors/track > Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 > > Device Boot Start End #cyls #blocks Id System > /dev/hda1 0+ 24 25- 200781 83 Linux > /dev/hda2 25 268 244 1959930 83 Linux > /dev/hda3 269 9963 9695 77875087+ 83 Linux > /dev/hda4 0 - 0 0 0 Empty > [EMAIL PROTECTED]:/tmp# > > Do you think it can be fixed? > > Thanks -- Cyril Bouthors
pgpwASJ1Kk1yL.pgp
Description: PGP signature