grub issues during FAI install

Michael Tautschnig mt at debian.org
Thu Oct 15 09:22:00 CEST 2009


[...]

> 
> - and closer examination shows that in disk_var.sh, there's a line
> BOOT_DEVICE="/dev/sda /dev/sdb"
> when it should read
> BOOT_DEVICE="/dev/sda"
> only.
> 
> For whatever reason this has happened: it shouldn't. There could be
> several reasons to have multiple bootable devices (e.g. different
> OSes), and they should be selectable in the BIOS. 
> A (visible) complaint should be emitted instead.
> Perhaps, in such cases ($BOOT_DEVICE consisting of multiple entries)
> the one corresponding to $ROOT_PARTITION (or the first one) should be 
> used?
> 

[...]

Looking at the relevant code in setup-storage once again, this will only happen
if you set the bootable flag for more than one disk configuration. setup-storage
doesn't care much if you do so, but instead it gives you the chance to adapt the
GRUB scripts to handle such situations the way you prefer (you may want to
decide yourself where to put the bootloader, as already discussed in this
thread).

Those people who do softraid, however, will want to use grub-pc instead of grub.
The experimental packages of FAI have a corresponding GRUB_PC class defined in
the simple examples for quite a while now. Still, I don't no whether this has
seen sufficient testing or not.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20091015/f9799f7d/attachment.bin 


More information about the linux-fai mailing list