I am having difficulty installing grub on lvm.

Issues related to applications and software problems
Post Reply
petros99
Posts: 2
Joined: 2015/04/12 00:36:50

I am having difficulty installing grub on lvm.

Post by petros99 » 2015/04/12 00:44:52

I was trying to install grub after changing hard drives by running

Code: Select all

grub-install /dev/sdc
and it complains that

Code: Select all

/dev/mapper/vg_petrosserver-lv_root does not have any corresponding BIOS drive.
Why does it do this? How do I tell it which drive to install on to?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: I am having difficulty installing grub on lvm.

Post by gerald_clark » 2015/04/12 02:06:49

You cannot install grub to LVM. It must be a primary partition.

petros99
Posts: 2
Joined: 2015/04/12 00:36:50

Re: I am having difficulty installing grub on lvm.

Post by petros99 » 2015/04/12 03:24:43

So, do I need a seperate boot partition? How would I specify that with grub-install ?

Post Reply