From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KRnzE-00037N-2p for mharc-grub-devel@gnu.org; Sat, 09 Aug 2008 08:56:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRnzB-00033T-CT for grub-devel@gnu.org; Sat, 09 Aug 2008 08:55:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRnzA-000320-24 for grub-devel@gnu.org; Sat, 09 Aug 2008 08:55:57 -0400 Received: from [199.232.76.173] (port=51414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRnz9-00031u-SB for grub-devel@gnu.org; Sat, 09 Aug 2008 08:55:55 -0400 Received: from moutng.kundenserver.de ([212.227.126.183]:49246) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRnz9-0004Dw-Kd for grub-devel@gnu.org; Sat, 09 Aug 2008 08:55:55 -0400 Received: from [85.180.8.77] (e180008077.adsl.alicedsl.de [85.180.8.77]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1KRnz740qs-0008C8; Sat, 09 Aug 2008 14:55:54 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <1218277583.9301.6.camel@fz.local> References: <20080808202337.3440.57502.reportbug@sylvester.jejik.com.jejik.com> <1218277583.9301.6.camel@fz.local> Content-Type: text/plain Date: Sat, 09 Aug 2008 14:55:54 +0200 Message-Id: <1218286554.9301.17.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+spIIeNp92xp5WAMv+XX3JfubBkRYESIX01cm 564CCkczgn3PXQP+442P2vBO7zz8MboOZvU9bglNfc8veluetO 14om8aUJotlkOxUTQoG/fiIexR7MM+c X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Cc: root , 494383@bugs.debian.org Subject: Re: Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the name X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2008 12:55:57 -0000 Hi, Am Samstag, den 09.08.2008, 12:26 +0200 schrieb Felix Zielcke: > fz-vm:~# ls /dev/mapper/ > control linux--vg-lvol0 > And again it wasn't that clear with my first mail :( fz-vm:~# l /dev/linux* /dev/mapper/ /dev/linux-vg: insgesamt 0 lrwxrwxrwx 1 root root 27 9. Aug 14:49 lvol0 -> /dev/mapper/linux--vg-lvol0 /dev/linuxvg: insgesamt 0 lrwxrwxrwx 1 root root 25 9. Aug 14:49 lvol0 -> /dev/mapper/linuxvg-lvol0 /dev/mapper/: insgesamt 0 crw-rw---- 1 root root 10, 60 9. Aug 14:49 control brw-rw---- 1 root disk 253, 1 9. Aug 14:49 linux--vg-lvol0 brw-rw---- 1 root disk 253, 0 9. Aug 14:49 linuxvg-lvol0 Current upstream SVN shows me: fz-vm:/dev/mapper# grub-probe /mnt/ error: no mapping exists for `linux--vg-lvol0' grub-probe: error: no mapping exists for `linux--vg-lvol0' If I change the double dash to one and mount it again then it works fine. This bug happens at least with recent udev/lvm2 from Debian unstable with kernel.org 2.6.27-rc2 I failed to find out how to workaround this in GRUB and I'm a bit unsure if we even should do this. What happens if this is fixed in lvm2/udev/kernel (wherever it belongs too) and what is with people who like to have 2 dashes in there vg name? (Robert: In this LVM case I think it's not that bad that debian-installer currently prefers LILO over GRUB 2 ;))