Bug#558306: grub-pc: incorrect path to vmlinuz

Vincent Bernat bernat at debian.org
Fri Nov 27 18:40:11 UTC 2009


Package: grub-pc
Version: 1.97+20091125-1
Severity: important

Hi!

Since upgrade to latest grub, update-grub generates this:

linux   /boot/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/debian-root ro  quiet

I have a /boot partition and therefore, it should be:

linux   /vmlinuz-2.6.30-1-amd64 root=/dev/mapper/debian-root ro  quiet

Grub then complains with some mystic error like "you need to load
kernel first". I think the problem appeared in 1.97+20091125-1 but
maybe it was present in 20091124.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/debian-root / ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/debian-usr /usr ext3 rw,nodev,relatime,errors=continue,data=ordered 0 0
/dev/mapper/debian-var /var ext3 rw,nosuid,relatime,errors=continue,data=ordered 0 0
/dev/mapper/debian-home /home ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/mapper/debian-tmp /tmp ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/sda2 /boot ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/loop0 /media/sysrec iso9660 ro,relatime 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 lvm
insmod ext2
set root=(debian-usr)
search --no-floppy --fs-uuid --set c75f22fe-1e52-496b-825a-90a364094952
if loadfont /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 locale_dir=/boot/grub/locale
set lang=fr
insmod gettext 
set timeout=5
### 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, with Linux 2.6.30-1-amd64" {
	insmod ext2
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set b3d09293-cc88-4310-9ae4-3ab3bd4bf011
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/debian-root ro  quiet
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set b3d09293-cc88-4310-9ae4-3ab3bd4bf011
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/debian-root ro single 
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.29-1-amd64" {
	insmod ext2
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set b3d09293-cc88-4310-9ae4-3ab3bd4bf011
	linux	/boot/vmlinuz-2.6.29-1-amd64 root=/dev/mapper/debian-root ro  quiet
	initrd	/boot/initrd.img-2.6.29-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.29-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set b3d09293-cc88-4310-9ae4-3ab3bd4bf011
	linux	/boot/vmlinuz-2.6.29-1-amd64 root=/dev/mapper/debian-root ro single 
	initrd	/boot/initrd.img-2.6.29-1-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: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (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:
pn  desktop-base                  <none>     (no description available)
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/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet
* grub-pc/install_devices: /dev/sda
  grub-pc/linux_cmdline:
  grub-pc/kopt_extracted: false





More information about the Pkg-grub-devel mailing list