Bug#466389: grub-pc: chainloading grub2, size=0x00

Arthur Marsh arthur.marsh at internode.on.net
Sat Jun 7 11:19:01 UTC 2008


Package: grub-pc
Version: 1.96+20080601-2
Followup-For: Bug #466389


When I select the following option:

title   Chainload Grub2
root    (hd0,4)
#kernel  /boot/grub/boot.img
kernel /usr/lib/grub/i386-pc/lnxboot.img
savedefault

from my grub-legacy start menu, 

I get the following:

root (hd0,4)

Filesystem type is ext2fs, partition type 0x83

kernel /usr/lib/grub/i386-pc/lnxboot.img

[Linux-bzImage, setup=0x200, size=0x0]

savedefault

[copied by hand] and then nothing, requiring a control-alt-delete to 
restart.

The lnxboot.img is apparently being read but what ever is supposed to 
happen next fails.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/hda5 / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/hda5 /dev/.static/dev ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/md/0 /mirror3 ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/hda7 /symonec vfat rw,uid=65534,gid=65534,fmask=0000,dmask=0000,codepage=cp437,iocharset=utf8 0 0
/dev/hda1 /victoriac vfat rw,uid=65534,gid=65534,fmask=0000,dmask=0000,codepage=cp437,iocharset=utf8 0 0
/dev/hdb1 /victoriad vfat rw,uid=65534,gid=65534,fmask=0000,dmask=0000,codepage=cp437,iocharset=utf8 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(fd0)	/dev/fd0
(hd0)	/dev/hda
(hd1)	/dev/hdb
*********************** 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,5)
search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
if font /usr/share/grub/unicode.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
set root=(hd0,5)
search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
### 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
set root=(hd0,5)
search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
### 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.25-2-686" {
	linux	/boot/vmlinuz-2.6.25-2-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
	initrd	/boot/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-686 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.25-2-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
	initrd	/boot/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.25" {
	linux	/boot/vmlinuz-2.6.25 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
	initrd	/boot/initrd.img-2.6.25
}
menuentry "Debian GNU/Linux, linux 2.6.25 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.25 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
	initrd	/boot/initrd.img-2.6.25
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686" {
	linux	/boot/vmlinuz-2.6.24-1-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
	initrd	/boot/initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.24-1-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
	initrd	/boot/initrd.img-2.6.24-1-686
}
### 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/30_os-prober ###
menuentry "Windows 95/98/Me (on /dev/hda1)" {
	set root=(hd0,1)
	chainloader +1
}
menuentry "Windows 95/98/Me (on /dev/hda7)" {
	set root=(hd0,7)
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###
*********************** END /boot/grub/grub.cfg

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

Kernel: Linux 2.6.25 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.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.22          Debian configuration management sy
ii  grub-common              1.96+20080601-2 GRand Unified Bootloader, version 
ii  libc6                    2.7-12          GNU C Library: Shared libraries
ii  liblzo2-2                2.03-1          data compression library
ii  libncurses5              5.6+20080531-1  Shared libraries for terminal hand

grub-pc recommends no packages.

-- debconf-show failed





More information about the Pkg-grub-devel mailing list