Bug#550477: grub-pc: after update-from-grub-legacy the system stopped booting

wzabolot@elektron.elka.pw.edu.pl W.Zabolotny at elka.pw.edu.pl
Sat Oct 10 12:52:37 UTC 2009


Package: grub-pc
Version: 1.97~beta3-1
Justification: renders package unusable
Severity: grave

*** Please type your report below this line ***
After I've issued the command "upgrade-from-grub-legacy", the system stopped
booting, when I press enter or select any line in the menu (if I let the
system
boot automatically after timeout - everything works...).
If I press enter, or move the highlighted line, then
i  get "error: file not found" and the menu is redisplayed
I have to enter the "edit" option in the grub menu, and make the following
changes:
1. Replace "set root=(hd0,3)" with "root=(hd0,3)"
2. Add the end of line in the last line (which defines the initial ramdisk)
Only after the above adjustments I'm able to boot with ctrl+x.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/947eb5e4-9cdb-41f4-b8cc-aaa08af7f489 / reiserfs
rw,relatime,notail 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)    /dev/hda
*********************** 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
insmod reiserfs
set root=(hd0,3)
search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
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
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod reiserfs
set root=(hd0,3)
search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
insmod png
if background_image /boot/grub/moreblue-orbit-grub.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_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686" {
    insmod reiserfs
    set root=(hd0,3)
    search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
    linux    /boot/vmlinuz-2.6.30-1-686
root=UUID=947eb5e4-9cdb-41f4-b8cc-aaa08af7f489 ro  
    initrd    /boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686 (recovery mode)" {
    insmod reiserfs
    set root=(hd0,3)
    search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
    linux    /boot/vmlinuz-2.6.30-1-686
root=UUID=947eb5e4-9cdb-41f4-b8cc-aaa08af7f489 ro single
    initrd    /boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.29.1" {
    insmod reiserfs
    set root=(hd0,3)
    search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
    linux    /boot/vmlinuz-2.6.29.1 root=/dev/hda3 ro  
}
menuentry "Debian GNU/Linux, Linux 2.6.29.1 (recovery mode)" {
    insmod reiserfs
    set root=(hd0,3)
    search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
    linux    /boot/vmlinuz-2.6.29.1 root=/dev/hda3 ro single
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-686" {
    insmod reiserfs
    set root=(hd0,3)
    search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
    linux    /boot/vmlinuz-2.6.26-2-686
root=UUID=947eb5e4-9cdb-41f4-b8cc-aaa08af7f489 ro  
    initrd    /boot/initrd.img-2.6.26-2-686
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-686 (recovery mode)" {
    insmod reiserfs
    set root=(hd0,3)
    search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
    linux    /boot/vmlinuz-2.6.26-2-686
root=UUID=947eb5e4-9cdb-41f4-b8cc-aaa08af7f489 ro single
    initrd    /boot/initrd.img-2.6.26-2-686
}
menuentry "Debian GNU/Linux, Linux 2.6.26-1-686" {
    insmod reiserfs
    set root=(hd0,3)
    search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
    linux    /boot/vmlinuz-2.6.26-1-686
root=UUID=947eb5e4-9cdb-41f4-b8cc-aaa08af7f489 ro  
    initrd    /boot/initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.26-1-686 (recovery mode)" {
    insmod reiserfs
    set root=(hd0,3)
    search --no-floppy --fs-uuid --set 947eb5e4-9cdb-41f4-b8cc-aaa08af7f489
    linux    /boot/vmlinuz-2.6.26-1-686
root=UUID=947eb5e4-9cdb-41f4-b8cc-aaa08af7f489 ro single
    initrd    /boot/initrd.img-2.6.26-1-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/hda1)" {
    insmod fat
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set 4433-387f
    drivemap -s (hd0) ${root}
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply
type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.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.27       Debian configuration
management sy
ii  grub-common                 1.97~beta3-1 GRand Unified Bootloader,
version
ii  libc6                       2.9-25       GNU C Library: Shared libraries
ii  ucf                         3.0022       Update Configuration File:
preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian
Deskto
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM
filesystem

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
* grub-pc/install_devices: /dev/hda
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:





More information about the Pkg-grub-devel mailing list