not booting from disk

Alexander Swen alex at swen.nu
Thu Apr 7 15:22:35 CEST 2011


Hi again, 

> [...]
> > but for some reason grub is not completely installed or configured.
> >
> > so, what am i doing wrong?
> >

> The example config scripts of FAI to install grub make use of a
> disk_var.sh file
> as generated by setup-storage. As you don't use setup-storage, you
> will have to
> create this file yourself. If you use grub2, all you will need is the
> BOOT_DEVICE variable, which must hold the device name where grub is
> to be
> installed.

OK, thanks, what parameters should i stick in there? I thought my bootdevice should be /dev/cciss/c0d0p1, but grub refuses to complete (GRUB-PC/10-setup says so ) 
so, I echoed "BOOT_DEVICE=/dev/cciss/c0d0p1" to that disk_var.sh script. 

after setup finished I switch to another console and try to re-do the grub tricks from GRUB-PC/10-setup... 
chroot /target grub-install --no-floppy "(hd0,msdos1)" failed with: 
/usr/sbin/grub-setup: warn: Attemting to install GRUB to a partition instead of the MBR. This is a BAD idea.. 
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is dicouraged.. 
/usr/sbin/grub-setup: error: if you really want blocklists, use --force. 

also tried to put it in /dev/ccisss/c0d0 but that fails with "Your embedding area is unusually smal./ core.img won't fit on it... 

thanks for any more help. 

alex 

> Best,
> Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20110407/72a38328/attachment.html>


More information about the linux-fai mailing list