Bug#558042: grub-pc: grub fails to load kernel

Simon Danner simon at danner-urloffen.de
Thu Nov 26 07:36:47 UTC 2009


Package: grub-pc
Version: 1.97+20091125-1
Severity: critical
Tags: patch
Justification: breaks unrelated software

Hi after a recent update of grub, grub fails to load the kernel.
In the autogenerated grub.cfg it searches the kernel in /boot/vm.. with this configuration the startup fails.
If i remove the /boot part it can successfull load the kernel and boots it.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/debian--simon-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext2 rw,relatime,errors=continue 0 0
/dev/mapper/debian--simon-home /home ext3 rw,relatime,errors=continue,commit=15,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/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
if loadfont /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 locale_dir=/boot/grub/locale
set lang=de
insmod gettext 
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
insmod png
if background_image /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, with Linux 2.6.32-rc8-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.32-rc8-amd64 root=/dev/mapper/debian--simon-root ro video=i915:modeset=1 quiet
	initrd	/boot/initrd.img-2.6.32-rc8-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-rc8-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.32-rc8-amd64 root=/dev/mapper/debian--simon-root ro single vga=0x0368
	initrd	/boot/initrd.img-2.6.32-rc8-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/debian--simon-root ro vga=0x0368 quiet
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/debian--simon-root ro single vga=0x0368
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/debian--simon-root ro vga=0x0368 quiet
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/debian--simon-root ro single vga=0x0368
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
### 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 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 unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-rc8-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  grub-common              1.97+20091125-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-2        GNU C Library: Shared libraries
ii  ucf                      3.0025          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: vga=0x0368
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/sda
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet





More information about the Pkg-grub-devel mailing list