grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash


From: Sander Marechal
Subject: Re: Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the name
Date: Sun, 10 Aug 2008 15:19:01 +0200
User-agent: Icedove 1.5.0.14eol (X11/20080724)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]