Bug#475296: update-grub not run

Joey Hess joeyh at debian.org
Wed Apr 9 21:04:45 UTC 2008


Package: grub-pc
Version: 1.96+20080408-1
Severity: normal

I installed on a system with grub 1, and since I was at the console,
decided to answer "no" to grub-pc/chainload_from_menu.lst.

I immediatly ran upgrade-from-grub-legacy, deleted menu.lst, and
rebooted. Silly me..

System came up in grub2, but w/o a grub.cfg, so I had to boot it by
hand. I then ran update-grub and it generated the missing grub.cfg.


BTW, the wording of grub-pc/chainload_from_menu.lst was not very clear
to me -- I wasn't sure if answering "no" to it would cause grub2 to be
installed as the main bootloader, or whether it would leave grub 1
installed and just not chainload grub2. It appears it does the latter,
and I suggest clarifying the wording.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/hda2 / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/hda2 /dev/.static/dev ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/mapper/system-srv /srv ext3 rw,data=ordered 0 0
/dev/mapper/system-home /home ext3 rw,data=ordered 0 0
/dev/mapper/backup-backup /home/joey/lib/backup ext3 rw,data=ordered 0 0
/dev/mapper/system-srv /var/lib/tftpboot/penguin ext3 rw,data=ordered 0 0
/dev/mapper/system-srv /var/lib/tftpboot/kodama ext3 rw,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
(hd1)	/dev/sda
*********************** 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,2)
if font (hd0,2)/usr/share/grub/unicode.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.24-1-686" {
	linux	(hd0,2)/boot/vmlinuz-2.6.24-1-686 root=/dev/hda2 ro 
	initrd	(hd0,2)/boot/initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" {
	linux	(hd0,2)/boot/vmlinuz-2.6.24-1-686 root=/dev/hda2 ro single 
	initrd	(hd0,2)/boot/initrd.img-2.6.24-1-686
}
### END /etc/grub.d/10_linux ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (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.20          Debian configuration management sy
ii  grub-common              1.96+20080408-1 GRand Unified Bootloader, version 
ii  libc6                    2.7-9           GNU C Library: Shared libraries
ii  liblzo1                  1.08-3          data compression library (old vers
ii  libncurses5              5.6+20080308-1  Shared libraries for terminal hand

grub-pc recommends no packages.

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

-- 
see shy jo





More information about the Pkg-grub-devel mailing list