setup-storage + grub2
Waldemar Brodkorb
fai at waldemar-brodkorb.de
Thu Apr 29 20:04:38 CEST 2010
Hi,
Michael Tautschnig wrote,
> [...]
>
> > >
> > > Could you give that one another try?
> >
> > Still no green blinking lights:
> > ===== shell: GRUB_PC/10-setup =====
> > Can't open /target/boot/grub/device.map
> > /usr/sbin/grub-setup: error: no mapping exists for `sda'.
> > Generating grub.cfg ...
> > Found linux image: /boot/vmlinuz-2.6.32-21-generic
> > Found initrd image: /boot/initrd.img-2.6.32-21-generic
> > Found memtest86+ image: /boot/memtest86+.bin
> > done
> > GRUB_PC/10-setup FAILED with exit code 1.
> >
> > device2grub fails because, /target/grb/boot/device.map does not
> > exist. BOOT_DEVICE is /dev/sda.
> > And if grub_dev is empty, /dev/sda is converted to sda, which does
> > not work as argument for grub-setup.
> >
>
> Err, yes, of course, there was nothing that would create device.map. I've added
> a call to grub-mkdevicemap in 3.4~beta1+experimental14, could you give that one
> another try?
Yes, I can. The brackets around $grub_dev are wrong. device2grub
already prints out (hd0).
+ $ROOTCMD /usr/sbin/grub-install --no-floppy --modules="biosdisk
part_msdos ext2 lvm raid" "($grub_dev)"
bye
Waldemar
More information about the linux-fai
mailing list