grub2 boot from lvm Auto-detection of a filesystem module failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
root@beast:~# lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
root@beast:~# apt-cache policy grub2
grub2:
Installed: 1.96+20080724-
Candidate: 1.96+20080724-
Version table:
*** 1.96+20080724-
500 http://
100 /var/lib/
I'm tested grub2 on jaunty as per https:/
I started with a separate hdd (ext3 partition) for /boot and managed to get grub2 going via both a chainloading and a native setup.
Next I want to remove my /boot hard drive (since its an old noisy slow drive) so I wish to boot from my root ext4 partition on LVM . Its volume name is Ubuntu-jaunty
First I unmounted /boot and remounted it as /media/oldboot
Then I coppied everything from from /media/oldboot to /boot
I then tried to install grub2 into my first hard drive
root@beast:~# grub-install /dev/sda
error: Unknown metadata header
error: Unknown metadata header
grub-probe: error: no mapping exists for `Ubuntu-jaunty'
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
I just installed jaunty in a vm with the alternate installer and choose to use LVM for the partitions.
grub-probe worked fine with it.
Unfortunately I don't know anything about LVM internals.
Do you remember how/when exactly your LVM was created?