Bug#540125: upgrade renders system unbootable

Michal Suchanek hramrach at centrum.cz
Tue Sep 8 20:55:44 UTC 2009


Package: grub-pc
Version: 1.96+20090808-1
Severity: normal


I can boot with grub 1.97 beta and this fix to grub config
(replaces "set root=<device>" with "root <device>" in config)



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda7 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda5 /heretix reiserfs rw,nodev,noexec,relatime 0 0
/dev/sda8 /home ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda3 /scratch ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda9 /opt/ddr ext3 rw,relatime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

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

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

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
root (hd0,7)
search --no-floppy --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output.gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
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_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64" {
	root (hd0,7)
	search --no-floppy --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  quiet
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64 (recovery mode)" {
	root (hd0,7)
	search --no-floppy --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro single 
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-amd64" {
	root (hd0,7)
	search --no-floppy --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.26-2-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  quiet
	initrd	/boot/initrd.img-2.6.26-2-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-amd64 (recovery mode)" {
	root (hd0,7)
	search --no-floppy --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.26-2-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro single 
	initrd	/boot/initrd.img-2.6.26-2-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
	linux	/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/memtest86+.bin
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/22_invaders ###
menuentry "GRUB Invaders" {
	root (hd0,7)
	search --no-floppy --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	multiboot	/boot/invaders
}
### END /etc/grub.d/22_invaders ###

### 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: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing'), (300, 'unstable'), (290, 'stable-i386'), (280, 'testing-i386'), (270, 'unstable-i386'), (1, 'experimental-i386'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/1 CPU core)
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.24          Debian configuration management sy
ii  grub-common              1.96+20090808-1 GRand Unified Bootloader, version 
ii  libc6                    2.9-25          GNU C Library: Shared libraries
ii  ucf                      3.0016          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

-- debconf-show failed
-------------- next part --------------
--- /usr/lib/grub/grub-mkconfig_lib~	2009-09-08 22:50:52.000000000 +0200
+++ /usr/lib/grub/grub-mkconfig_lib	2009-09-08 22:51:09.000000000 +0200
@@ -147,7 +147,7 @@
 
   # If there's a filesystem UUID that GRUB is capable of identifying, use it;
   # otherwise set root as per value in device.map.
-  echo "set root=`${grub_probe} --device ${device} --target=drive`"
+  echo "root `${grub_probe} --device ${device} --target=drive`"
   if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
     echo "search --no-floppy --fs-uuid --set ${fs_uuid}"
   fi


More information about the Pkg-grub-devel mailing list