Bug#505517: Any updates concerning Xen kernels with grub-pc/grub2?

Eric Veiras Galisson bugs at sietch-tabr.com
Fri Oct 9 14:34:50 UTC 2009


Package: grub-pc
Version: 1.96+20080724-16
Followup-For: Bug #505517

I recently installed Debian Lenny on an hp server with hardware RAID enabled.
Grub 1 (legacy) do not handle boot on hardware raid so I installed grub-pc package which installs grub 2.

It works well to boot normal Debian kernels but after installation of a xen kernel I can't boot.

I have exactly the same problem specified above: the update-grub script does not format xen kernel entries correctly in grub.cfg.

I have tried the patches included in this bugreport (the latter ones) but they don't work too.

Is there any chance to see any progress on this bug which is really annoying?

Thanks for the work done anyway.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vg--system--xen-lv--root / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/cciss/c0d0p1 /boot ext3 rw,errors=continue,data=ordered 0 0
/dev/mapper/vg--system--xen-lv--var /var ext3 rw,errors=continue,data=ordered 0 0
/dev/cciss/c0d0p3 /opt/xen-images xfs rw,attr2,nobarrier,noquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/cciss/c0d0
(hd2)	/dev/cciss/c0d1
*********************** 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
insmod lvm
set root=(vg-system-xen-lv-root)
search --fs-uuid --set e629dc48-06ef-425c-b440-2c8fc734e87b
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.26-2-xen-amd64" {
	set root=(hd1,1)
	search --fs-uuid --set 7a62059a-60e3-4e3d-8fe8-85451427b01f
	linux	/vmlinuz-2.6.26-2-xen-amd64 root=/dev/mapper/vg--system--xen-lv--root ro  
	initrd	/initrd.img-2.6.26-2-xen-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-2-xen-amd64 (single-user mode)" {
	set root=(hd1,1)
	search --fs-uuid --set 7a62059a-60e3-4e3d-8fe8-85451427b01f
	linux	/vmlinuz-2.6.26-2-xen-amd64 root=/dev/mapper/vg--system--xen-lv--root ro single 
	initrd	/initrd.img-2.6.26-2-xen-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-2-amd64" {
	set root=(hd1,1)
	search --fs-uuid --set 7a62059a-60e3-4e3d-8fe8-85451427b01f
	linux	/vmlinuz-2.6.26-2-amd64 root=/dev/mapper/vg--system--xen-lv--root ro  
	initrd	/initrd.img-2.6.26-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-2-amd64 (single-user mode)" {
	set root=(hd1,1)
	search --fs-uuid --set 7a62059a-60e3-4e3d-8fe8-85451427b01f
	linux	/vmlinuz-2.6.26-2-amd64 root=/dev/mapper/vg--system--xen-lv--root ro single 
	initrd	/initrd.img-2.6.26-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64" {
	set root=(hd1,1)
	search --fs-uuid --set 7a62059a-60e3-4e3d-8fe8-85451427b01f
	linux	/vmlinuz-2.6.26-1-amd64 root=/dev/mapper/vg--system--xen-lv--root ro  
	initrd	/initrd.img-2.6.26-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64 (single-user mode)" {
	set root=(hd1,1)
	search --fs-uuid --set 7a62059a-60e3-4e3d-8fe8-85451427b01f
	linux	/vmlinuz-2.6.26-1-amd64 root=/dev/mapper/vg--system--xen-lv--root ro single 
	initrd	/initrd.img-2.6.26-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 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.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.7-18           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