Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the name
Sander Marechal
s.marechal at jejik.com
Sun Aug 10 13:19:01 UTC 2008
Felix Zielcke wrote:
> Hello,
>
> Am Freitag, den 08.08.2008, 22:23 +0200 schrieb root:
>
>> grub-probe: error: Unknown device linux--vg-boot
>> Autodetection of a file system module failed
>> Please specify the module with the option "--modules" explicitly
>>
>
> I never used LVM before so maybe I did something wrong,
> but I think the lvm2 Debian package has a bug:
That's not a bug. See for example this old Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/19631
LVM and /dev/mapper keep names like this:
vgname-lvname
When there's a dash in either the vgname or the lvname, it is doubled to
excape it. So "my-volume-group" and "my-logical-volume" becomes:
my--volume--group-my--logical--volume
I think Grub2 should be able to cope with that.
--
Sander Marechal
More information about the Pkg-grub-devel
mailing list