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

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1484
Joined: Fri Aug 29, 2003 8:39 pm

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

Post 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.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply