Bug#540125: grub-pc: grub still not installed

Michal Suchanek hramrach at centrum.cz
Thu Aug 6 21:04:10 UTC 2009


Package: grub-pc
Version: 1.96+20080724-16
Severity: normal


Currently my system is unbootable, probably due to a grub upgrade.

It says "you have to load a kernel first" or something like that when I
use the boot menu for my current kernel.

dpkg-reconfigure grub-pc does not install grub, at least it does not
show any question about installing it and does not print any message
about doing so.

The config is unusable even when loaded from a grub trunk rescue CD. I
have to load the kernel manually for the system to boot.

The option to chainload from menu.lst is not very useful. I do not have
the grub legacy installed anymore.

I wonder how people are supposed to upgrade from grub legacy. The
menu.lst file is not going to disappear by itself, and if grub is not
going to be installed when this file is present then you have to install
it manually and upgrades will break it.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/ae7d5095-c8b3-4205-af0e-032b0e124ec3 / 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/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,7)
search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
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.30-1-amd64" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinux-2.6.30-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.30-1-amd64 (single-user mode)" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinux-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.30-1-amd64" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.30-1-amd64 (single-user mode)" {
	set root=(hd0,7)
	search --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.29-1-amd64" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.29-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  
	initrd	/boot/initrd.img-2.6.29-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.29-1-amd64 (single-user mode)" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.29-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro single 
	initrd	/boot/initrd.img-2.6.29-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.28.3" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.28.3 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  
	initrd	/boot/initrd.img-2.6.28.3
}
menuentry "Debian GNU/Linux, linux 2.6.28.3 (single-user mode)" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.28.3 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro single 
	initrd	/boot/initrd.img-2.6.28.3
}
menuentry "Debian GNU/Linux, linux 2.6.26-2-amd64" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.26-2-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  
	initrd	/boot/initrd.img-2.6.26-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-2-amd64 (single-user mode)" {
	set root=(hd0,7)
	search --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
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.26-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  
	initrd	/boot/initrd.img-2.6.26-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64 (single-user mode)" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.26-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro single 
	initrd	/boot/initrd.img-2.6.26-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.25-2-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  
	initrd	/boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64 (single-user mode)" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.25-2-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro single 
	initrd	/boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.24-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro  
	initrd	/boot/initrd.img-2.6.24-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64 (single-user mode)" {
	set root=(hd0,7)
	search --fs-uuid --set ae7d5095-c8b3-4205-af0e-032b0e124ec3
	linux	/boot/vmlinuz-2.6.24-1-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro single 
	initrd	/boot/initrd.img-2.6.24-1-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" {
	set root=(hd0,7)
	search --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.2
  APT prefers stable
  APT policy: (900, '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+20080724-16 GRand Unified Bootloader, version 
ii  libc6                   2.9-23           GNU C Library: Shared libraries
ii  liblzo2-2               2.03-1           data compression library
ii  libncurses5             5.7+20081213-1   shared libraries for terminal hand

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
pn  os-prober                     <none>     (no description available)

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: false





More information about the Pkg-grub-devel mailing list