Your message dated Mon, 18 Aug 2008 14:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#464215: fixed in grub2 1.96+20080724-8
has caused the Debian Bug report #464215,
regarding grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the 
name
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
464215: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464215
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: grub-pc
Version: 1.96+20080724-5
Severity: important


Grub2 does not work on LVM if the LVM volume group has a dash in the
name. I have tried this on a clean install of Debian Lenny using the
Debian Installer beta2 netinst for amd64. I have one hard disk which
is one big PV for LVM:

* volume group "linux-vg" (or "linuxvg")
  * volume "boot"
  * volume "root"
  * volume "swap"

Because I have /boot on LVM, D-I installed Lilo for me and I installed
grub2 by hand:

# aptitude install grub-pc

Then I try to install it:

# grub-install /dev/sda
grub-probe: error: Unknown device linux--vg-boot
Autodetection of a file system module failed
Please specify the module with the option "--modules" explicitly

So, I do what it says:

# grub-install --modules="ext2 pc lvm" /dev/sda
grub-probe: error: Unknown device linux--vg-boot
grub-setup: error: Unknown device linux--vg-boot

However, when I install Lenny in the exact same way, only I name
the volume group "linuxvg" instead of "linux-vg" then it all
works just fine:

# grub-install /dev/sda
# update-grub
<output snipped>
# reboot
Welcome to Grub!

I have tried various other volume group names, both with and
without a dash in them. When the name contains a dash, grub2 fails.
When the name does not contain a dash, grub2 works.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/linuxvg-root / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/mapper/linuxvg-root /dev/.static/dev ext3 
rw,errors=remount-ro,data=ordered 0 0
/dev/mapper/linuxvg-boot /boot ext3 rw,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)   /dev/sda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
insmod lvm
set root=(linuxvg-root)
search --fs-uuid --set 07bbd91c-a0a9-4d9a-b90b-28f093798fca
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
insmod lvm
set root=(linuxvg-boot)
search --fs-uuid --set b04ccca6-97b5-4387-98d4-b5edb67aedc3
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64" {
        linux   /vmlinuz-2.6.25-2-amd64 root=/dev/mapper/linuxvg-root ro  
        initrd  /initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64 (single-user mode)" {
        linux   /vmlinuz-2.6.25-2-amd64 root=/dev/mapper/linuxvg-root ro single 
        initrd  /initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64" {
        linux   /vmlinuz-2.6.24-1-amd64 root=/dev/mapper/linuxvg-root ro  
        initrd  /initrd.img-2.6.24-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64 (single-user mode)" {
        linux   /vmlinuz-2.6.24-1-amd64 root=/dev/mapper/linuxvg-root ro single 
        initrd  /initrd.img-2.6.24-1-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.22          Debian configuration management sy
ii  grub-common              1.96+20080724-5 GRand Unified Bootloader, version 
ii  libc6                    2.7-10          GNU C Library: Shared libraries
ii  liblzo2-2                2.03-1          data compression library
ii  libncurses5              5.6+20080713-1  shared libraries for terminal hand

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
pn  os-prober                     <none>     (no description available)

-- debconf information:
  grub-pc/linux_cmdline: fillme
  grub-pc/chainload_from_menu.lst: true



--- End Message ---
--- Begin Message ---
Source: grub2
Source-Version: 1.96+20080724-8

We believe that the bug you reported is fixed in the latest version of
grub2, which is due to be installed in the Debian FTP archive:

grub-common_1.96+20080724-8_amd64.deb
  to pool/main/g/grub2/grub-common_1.96+20080724-8_amd64.deb
grub-efi_1.96+20080724-8_amd64.deb
  to pool/main/g/grub2/grub-efi_1.96+20080724-8_amd64.deb
grub-ieee1275_1.96+20080724-8_amd64.deb
  to pool/main/g/grub2/grub-ieee1275_1.96+20080724-8_amd64.deb
grub-linuxbios_1.96+20080724-8_amd64.deb
  to pool/main/g/grub2/grub-linuxbios_1.96+20080724-8_amd64.deb
grub-pc_1.96+20080724-8_amd64.deb
  to pool/main/g/grub2/grub-pc_1.96+20080724-8_amd64.deb
grub-rescue-pc_1.96+20080724-8_amd64.deb
  to pool/main/g/grub2/grub-rescue-pc_1.96+20080724-8_amd64.deb
grub2_1.96+20080724-8.diff.gz
  to pool/main/g/grub2/grub2_1.96+20080724-8.diff.gz
grub2_1.96+20080724-8.dsc
  to pool/main/g/grub2/grub2_1.96+20080724-8.dsc
grub2_1.96+20080724-8_amd64.deb
  to pool/main/g/grub2/grub2_1.96+20080724-8_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Millan <[EMAIL PROTECTED]> (supplier of updated grub2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 18 Aug 2008 15:17:29 +0200
Source: grub2
Binary: grub2 grub-of grub-common grub-pc grub-rescue-pc grub-linuxbios 
grub-efi grub-ieee1275
Architecture: source amd64
Version: 1.96+20080724-8
Distribution: unstable
Urgency: high
Maintainer: GRUB Maintainers <[EMAIL PROTECTED]>
Changed-By: Robert Millan <[EMAIL PROTECTED]>
Description: 
 grub-common - GRand Unified Bootloader, version 2 (common files)
 grub-efi   - GRand Unified Bootloader, version 2 (EFI version)
 grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
 grub-linuxbios - GRand Unified Bootloader, version 2 (LinuxBIOS version)
 grub-of    - GRand Unified Bootloader, version 2 [dummy]
 grub-pc    - GRand Unified Bootloader, version 2 (PC/BIOS version)
 grub-rescue-pc - GRUB bootable rescue images, version 2 (PC/BIOS version)
 grub2      - GRand Unified Bootloader, version 2 (dummy package)
Closes: 464215 475585 494501 495049
Changes: 
 grub2 (1.96+20080724-8) unstable; urgency=high
 .
   [ Felix Zielcke ]
   * patches/00_fix_raid0.diff: Fix a `small' incorrect calculation for raid 0.
   * patches/09_handle_md_slash_N.diff: Add support for /dev/md/N style mdraid
     devices. (Closes: #475585, #464215)
   * patches/10_handle_lvm_dash_escaping.diff: LVM escapes a dash with a dash 
and GRUB
     doestn't like that, so remove the double dashes. (Closes #494383)
 .
   [ Robert Millan ]
   * Handle errors in RAID/LVM scan routine (rather than letting the upper
     layer cope with them).  (Closes: #494501, #495049)
     - debian/patches/00_raid_lvm_error_handling.diff: Fix the actual problem.
     - debian/patches/00_grub_print_error.diff: Fix a bug exposed by
       00_raid_lvm_error_handling.diff.
Checksums-Sha1: 
 b082fad1a7947959e66149d9c3fc7a2525f2cebe 2068 grub2_1.96+20080724-8.dsc
 c9f5b3cdc42f314ebedcf399c1e5be19c0813afd 50650 grub2_1.96+20080724-8.diff.gz
 356e315d41d6e54d802a6e41cc2932a3503c9fb9 123154 grub2_1.96+20080724-8_amd64.deb
 5dd24d0920e4b635bddd062bed4c0bdd2b0b929b 196064 
grub-common_1.96+20080724-8_amd64.deb
 c61c2dcd04b4d5766a0f79aa44b3427b605699f6 1467350 
grub-pc_1.96+20080724-8_amd64.deb
 165a0160eba155c02659d5e7d78bce3cfb2da709 438610 
grub-rescue-pc_1.96+20080724-8_amd64.deb
 5330bd58774bb07f667f62906c098b2d2d280298 1315262 
grub-linuxbios_1.96+20080724-8_amd64.deb
 e8d95a9a6d2c2d4ba63c433d69f64325826ae74e 1233964 
grub-efi_1.96+20080724-8_amd64.deb
 0c6ca74c5c55f04d16ac41455e0d5c3b2ae53859 1317422 
grub-ieee1275_1.96+20080724-8_amd64.deb
Checksums-Sha256: 
 065211ea9db41c0ade502f701107e0acb82118a38fac5a2736a73f51601ac84b 2068 
grub2_1.96+20080724-8.dsc
 900856579108f7189dca79d83141545269d0a2eea670951753dcfa4ae3424e17 50650 
grub2_1.96+20080724-8.diff.gz
 3b5efe6b52d02492deefdba76539e7d7370c0e5bd2890eb9da662952e69b2bdf 123154 
grub2_1.96+20080724-8_amd64.deb
 df8453bd4af0a4b85ff3f2f2206b2a3e6d12cd00366c1062524ea19ae77f31d2 196064 
grub-common_1.96+20080724-8_amd64.deb
 23331a90e231b042a7f0ccdbf8074dea0a2c7842060a943ed124c873fb743c34 1467350 
grub-pc_1.96+20080724-8_amd64.deb
 8b0fa5c913b56950945dbd82486640b471c191bdaca99030fb5bf95c4abadc2d 438610 
grub-rescue-pc_1.96+20080724-8_amd64.deb
 41b2ac4fdc6f4857194ad1cc7767a6ebf13215c7c0989fbc031f6af1de99147f 1315262 
grub-linuxbios_1.96+20080724-8_amd64.deb
 2e204a131c41dea26512d3685726fee1f67008e4bfe2546e9a3bd8b25cbd720a 1233964 
grub-efi_1.96+20080724-8_amd64.deb
 f75554fd49f19977136bc6c1a127cc94a891b5463ac5ce200c44e73107b1e05c 1317422 
grub-ieee1275_1.96+20080724-8_amd64.deb
Files: 
 ef8ad910a17e1d54e6f8f2abda9c5631 2068 admin extra grub2_1.96+20080724-8.dsc
 5b4d3a631cbfc8a4a058f8091af776ec 50650 admin extra 
grub2_1.96+20080724-8.diff.gz
 75d9659333f5dca5557ad458f9a43fca 123154 admin extra 
grub2_1.96+20080724-8_amd64.deb
 1f81dc8aff5d1281c3a7638f9cb3a8e0 196064 admin extra 
grub-common_1.96+20080724-8_amd64.deb
 4cf2553ebfd1a98167f068b4334b5edc 1467350 admin extra 
grub-pc_1.96+20080724-8_amd64.deb
 086b00512cefa2a7f9cbd37e8ace264c 438610 admin extra 
grub-rescue-pc_1.96+20080724-8_amd64.deb
 3480434472b563b1a4efd98f72276119 1315262 admin extra 
grub-linuxbios_1.96+20080724-8_amd64.deb
 88b2337ef394311a75eed6fb104a990a 1233964 admin extra 
grub-efi_1.96+20080724-8_amd64.deb
 4b752007333829dd5113d0d4973339ae 1317422 admin extra 
grub-ieee1275_1.96+20080724-8_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkipgTUACgkQC19io6rUCv+86wCcC914upVBVf07tbH/vZHNNCB+
u7AAoI1elxU9AJb/1YDYmt+IW64PKmAQ
=Da0P
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to