From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KSApL-0006m7-8a for mharc-grub-devel@gnu.org; Sun, 10 Aug 2008 09:19:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSApI-0006ig-7O for grub-devel@gnu.org; Sun, 10 Aug 2008 09:19:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSApG-0006fb-GE for grub-devel@gnu.org; Sun, 10 Aug 2008 09:19:15 -0400 Received: from [199.232.76.173] (port=54888 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSApG-0006fP-Cx for grub-devel@gnu.org; Sun, 10 Aug 2008 09:19:14 -0400 Received: from smtp-vbr16.xs4all.nl ([194.109.24.36]:1359) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSApG-0007g8-3D for grub-devel@gnu.org; Sun, 10 Aug 2008 09:19:14 -0400 Received: from [192.168.1.2] (sander-marechal.xs4all.nl [82.95.221.82]) (authenticated bits=0) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m7ADJ1MR022169; Sun, 10 Aug 2008 15:19:04 +0200 (CEST) (envelope-from s.marechal@jejik.com) Message-ID: <489EEAC5.4080209@jejik.com> Date: Sun, 10 Aug 2008 15:19:01 +0200 From: Sander Marechal User-Agent: Icedove 1.5.0.14eol (X11/20080724) MIME-Version: 1.0 To: Felix Zielcke References: <20080808202337.3440.57502.reportbug@sylvester.jejik.com.jejik.com> <1218277583.9301.6.camel@fz.local> In-Reply-To: <1218277583.9301.6.camel@fz.local> X-Enigmail-Version: 0.94.4.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Cc: The development of GRUB 2 , 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: Sun, 10 Aug 2008 13:19:16 -0000 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