Bug#512787: upgrade makes system unbootable

dann frazier dannf at debian.org
Fri Jan 23 18:05:16 UTC 2009


Package: grub-pc
Version: 1.96+20080724-14
Severity: grave

hey,
 After a recent upgrade, my laptop became unbootable. I don't have
local access to the machine rigth now, so unfortunately the preboot
information will have to come from memory.

According to dpkg.log, the upgrade was this one:
 2009-01-20 22:37:55 upgrade grub-pc 1.96+20080724-12 1.96+20080724-14

At boot time, grub complains that 'initrd' is an invalid option and
refuses to boot.

My boot entry looks like this:
        set root=(hd0,1)
        search --fs-uuid --set e7bf09bb-8d63-4bbb-84d8-4ada743f643f
        linux   /boot/vmlinuz-2.6.26-1-686 root=UUID=e7bf09bb-8d63-4bbb-84d8-4ada743f643f ro  
        initrd  /boot/initrd.img-2.6.26-1-686

I found through experimentation that deleting the first two lines
allows my system to boot again. There are obviously more experiments I
could do - see if just removing one of the two lines fixes things, and
try downgrading to see if it makes my system bootable again. I haven't
had time to do these tests (and probably won't until next week), but I
wanted to get a bug filed in the meantime.

I'll attach my grub.cfg for reference.
-- 
dann frazier

-------------- next part --------------
#
# 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 e7bf09bb-8d63-4bbb-84d8-4ada743f643f
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 ###
menuentry "Debian GNU/Linux, linux 2.6.26-1-686" {
	set root=(hd0,1)
	search --fs-uuid --set e7bf09bb-8d63-4bbb-84d8-4ada743f643f
	linux	/boot/vmlinuz-2.6.26-1-686 root=UUID=e7bf09bb-8d63-4bbb-84d8-4ada743f643f ro  
	initrd	/boot/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 e7bf09bb-8d63-4bbb-84d8-4ada743f643f
	linux	/boot/vmlinuz-2.6.26-1-686 root=UUID=e7bf09bb-8d63-4bbb-84d8-4ada743f643f ro single 
	initrd	/boot/initrd.img-2.6.26-1-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 ###


More information about the Pkg-grub-devel mailing list