Bug#484228: grub-pc: root partition fail to mount by uuid

Remi Vanicat vanicat at debian.org
Tue Jun 3 05:56:29 UTC 2008


Package: grub-pc
Version: 1.96+20080601-1
Severity: critical
Justification: breaks the whole system

After recent upgrade, grub-pc use UUID to find the root partition, but
on my lvm instalation, /dev/disk/by-uuid/${UUID} doesn't exists, and
the boot failed. Enabling GRUB_DISABLE_LINUX_UUID solve the problem,
but it stay unseen before the first reboot. grub-pc should at least
warn on upgrade that this should be looked at, or default to
GRUB_DISABLE_LINUX_UUID=true or update-grub should check that
/dev/disk/by-uuid/${UUID} does exists.




-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/maison-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/maison-root /dev/.static/dev ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/hdb1 /var xfs rw,relatime,noquota 0 0
/dev/hda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/maison-home /home ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/maison-tmp /tmp ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/maison-usr /usr ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/hdb1 /home/moi/Video xfs rw,relatime,noquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
(hd1)	/dev/hdb
(hd2)	/dev/hdd
*********************** 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
set root=(maison-usr)
search --fs-uuid --set ae4f9539-5526-4296-87ff-70076903a62e
if font /share/grub/unicode.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
set root=(hd0,1)
search --fs-uuid --set 966574cc-3eec-4598-ab36-86511571b271
### 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
set root=(hd0,1)
search --fs-uuid --set 966574cc-3eec-4598-ab36-86511571b271
### 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 ###
menuentry "Debian GNU/Linux, linux 2.6.25.3-dl" {
	linux	/vmlinuz-2.6.25.3-dl root=UUID=252b92a8-5f20-42a7-9d14-f8bcddf8d6fc ro
	initrd	/initrd.img-2.6.25.3-dl
}
menuentry "Debian GNU/Linux, linux 2.6.25.3-dl (single-user mode)" {
	linux	/vmlinuz-2.6.25.3-dl root=UUID=252b92a8-5f20-42a7-9d14-f8bcddf8d6fc ro single
	initrd	/initrd.img-2.6.25.3-dl
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-k7" {
	linux	/vmlinuz-2.6.22-3-k7 root=UUID=252b92a8-5f20-42a7-9d14-f8bcddf8d6fc ro
	initrd	/initrd.img-2.6.22-3-k7
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-k7 (single-user mode)" {
	linux	/vmlinuz-2.6.22-3-k7 root=UUID=252b92a8-5f20-42a7-9d14-f8bcddf8d6fc ro single
	initrd	/initrd.img-2.6.22-3-k7
}
### END /etc/grub.d/10_linux ###

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

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (700, 'testing'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.3-dl (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  cdebconf [debconf-2.0]   0.131           Debian Configuration Management Sy
ii  debconf [debconf-2.0]    1.5.22          Debian configuration management sy
ii  grub-common              1.96+20080601-1 GRand Unified Bootloader, version
ii  libc6                    2.7-11          GNU C Library: Shared libraries
ii  liblzo2-2                2.03-1          data compression library
ii  libncurses5              5.6+20080531-1  Shared libraries for terminal hand

grub-pc recommends no packages.

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: false





More information about the Pkg-grub-devel mailing list