Page 1 of 1

grub & lvm: [...] does not have any corresponding BIOS d

Posted: Wed Oct 15, 2008 10:00 pm
by ^rooker
[PROBLEM]
Installing ubuntu onto a disk under LVM control, installing GRUB terminated with an error. The installer did not show any errormessage except something like "this is serious. I quit" - (at approximately 98% of the installation. :evil: ):

[SOLUTION]
Still within the live installation, I chroot'ed into the installation to find out what happened:

Code: Select all

sudo chroot /target


There I ran "grub-install /dev/sda" which gave me this error
/dev/mapper/xxx-root does not have any corresponding BIOS drive.
I figured out that it probably was my fault: During manual partitioning, I forgot to tell the installer to mount /dev/sda1 (plain ext3, non lvm boot partition) as /boot. hmpf.

So, I added the following line to "/etc/fstab":
LABEL=boot /boot ext3 defaults 0 0
and mounted it immediately:
mount /boot
Now I could do "grub-install /dev/sda" and it was successful. puh.