FAI failure...

Ian Colquhoun ian.colquhoun at sheridanc.on.ca
Thu Oct 25 15:55:33 CEST 2001


Hi Jens,

Thanks for the reply. I went ahead and tested that change you
suggested. Unfortunately, I'm still getting the same results:

FAI: setup harddisks V0.7fai
disks found:
sfdisk: ERROR: sector 0 does not have an msdos signature


parsing config file: /fai/disk_config/SD_9_36GB
ERROR: could not read device /dev/sda
Error: /tmp/disk_var.sh not found.


Any other suggestions?

Ian.


On Wed, Oct 24, 2001 at 10:28:16PM +0200, Jens Ruehmkorf wrote:
> 
> Hi Ian,
> 
> > Unfortunately, the default scripts FAI uses seem to require that some
> > sort of partition table be readable from the disk by sfdisk, otherwise
> > setup_harddisks fails.
> 
> that bug has been fixed by the upstream maintainer of setup_harddisks.
> For now, simply change line 222 in setup_harddisks where it says
> 
> $result = `sh -c "LC_ALL=C sfdisk -l -q"`;
> 
> to
> 
> $result = `sh -c "LC_ALL=C sfdisk -g -q"`;
> 
> (Thanks to Lech Nieroda for that hint!)
> 
> > Anyone have any elegant ways around this? Should this be integrated
> > into FAI for everyone? Am I just plain missing something?
> 
> see above.
> 
> Hope this helps,
> Jens
> 
> [0] http://cvs.debian.org/fai/scripts/setup_harddisks?rev=1.8
> 
> --
> ruehmkorf at informatik dot uni hyphen koeln dot de
> 



More information about the linux-fai mailing list