Bug#497791: grub-pc: System unbotable due to "search --fs-uuid" command

Marc Fargas marc at marcfargas.com
Thu Sep 4 11:01:14 UTC 2008


Package: grub-pc
Version: 1.96+20080831-1
Severity: important

Hi,

I upgraded my system today and when rebooting later it didn't boot,
GRUB said "Unknown command initrd". After playing around a little I
found out that the "search --fs-uuid" was the one causing problems.

Removing that line allowed me to boot my system, but the error message
provided didn't give any clue about it, so most users with the search
--fs-uuid line could be bitten by this.

Either GRUB should say "the search line is wrong for XXX" or even
better, have no problems.

Anyway, what's the problem with the search line? ;)


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/castor-root / ext3 rw,noatime,errors=remount-ro,user_xattr,data=ordered 0 0
/dev/sda1 /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
set root=(hd0,1)
search --fs-uuid --set 72cbcfa8-57bf-4b37-9489-e3eaf056d94d
if font /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 root=(hd0,1)
search --fs-uuid --set 72cbcfa8-57bf-4b37-9489-e3eaf056d94d
insmod png
if background_image /grub/debian-blueish-wallpaper-640x480.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### 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.26-1-686" {
	set root=(hd0,1)
	search --fs-uuid --set 72cbcfa8-57bf-4b37-9489-e3eaf056d94d
	linux	/vmlinuz-2.6.26-1-686 root=/dev/mapper/castor-root ro selinux=1 
	initrd	/initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686 (single-user mode)" {
	set root=(hd0,1)
	search --fs-uuid --set 72cbcfa8-57bf-4b37-9489-e3eaf056d94d
	linux	/vmlinuz-2.6.26-1-686 root=/dev/mapper/castor-root ro single selinux=1
	initrd	/initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-686" {
	set root=(hd0,1)
	search --fs-uuid --set 72cbcfa8-57bf-4b37-9489-e3eaf056d94d
	linux	/vmlinuz-2.6.25-2-686 root=/dev/mapper/castor-root ro selinux=1 
	initrd	/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-686 (single-user mode)" {
	set root=(hd0,1)
	search --fs-uuid --set 72cbcfa8-57bf-4b37-9489-e3eaf056d94d
	linux	/vmlinuz-2.6.25-2-686 root=/dev/mapper/castor-root ro single selinux=1
	initrd	/initrd.img-2.6.25-2-686
}
### 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: (900, 'testing'), (500, 'gutsy'), (300, 'unstable'), (150, 'experimental'), (100, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.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.23          Debian configuration management sy
ii  grub-common              1.96+20080831-1 GRand Unified Bootloader, version 
ii  libc6                    2.8+20080809-1  GNU C Library: Shared libraries

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.0      common files for the Debian Deskto
pn  os-prober                     <none>     (no description available)

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





More information about the Pkg-grub-devel mailing list