All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Zielcke <fzielcke@z-51.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: root <s.marechal@jejik.com>, 494383@bugs.debian.org
Subject: Re: Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the name
Date: Sat, 09 Aug 2008 14:55:54 +0200	[thread overview]
Message-ID: <1218286554.9301.17.camel@fz.local> (raw)
In-Reply-To: <1218277583.9301.6.camel@fz.local>

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 ;))




  reply	other threads:[~2008-08-09 12:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080808202337.3440.57502.reportbug@sylvester.jejik.com.jejik.com>
2008-08-09 10:26 ` Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the name Felix Zielcke
2008-08-09 12:55   ` Felix Zielcke [this message]
2008-08-10 13:19   ` Sander Marechal
2008-08-11 16:18     ` [PATCH] " Felix Zielcke
2008-08-11 21:48       ` Sander Marechal
2008-08-14 17:34       ` Felix Zielcke
2008-08-14 18:03         ` Robert Millan
2008-08-14 19:32           ` Felix Zielcke
2008-08-14 20:38             ` Robert Millan
2008-08-14 21:15               ` Felix Zielcke
2008-08-18 15:05                 ` Felix Zielcke
2008-08-18 15:16                   ` Felix Zielcke
2008-09-01  7:08                     ` Felix Zielcke
2008-09-01 22:14                   ` Robert Millan
2008-09-01 22:46                     ` Felix Zielcke
2008-09-02  8:28                       ` Felix Zielcke
2008-09-02 14:59                         ` Vesa Jääskeläinen
2008-09-02 15:59                           ` Felix Zielcke
2008-09-02 16:21                             ` Vesa Jääskeläinen
2008-09-04 19:56                             ` Felix Zielcke
2008-09-02 13:37                       ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1218286554.9301.17.camel@fz.local \
    --to=fzielcke@z-51.de \
    --cc=494383@bugs.debian.org \
    --cc=grub-devel@gnu.org \
    --cc=s.marechal@jejik.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.