Bug#505517: [grub-pc] Dosen't handle xen dom0 kernel automagically

Didier Raboud didier at raboud.com
Thu Nov 13 08:36:03 UTC 2008


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

--- Please enter the report below this line. ---
Hi, 

Willing to try Xen, I installed "xen-linux-system-2.6.26-1-xen-amd64", which 
came with a bunch of packages…

When I tried to boot the corresponding image, I got an error in Grub.

AFAIK and from what I gathered on the web, the entry "should be":

	multiboot /xen-3.2-1-amd64.gz dom0_mem=1024M
	module	/vmlinuz-2.6.26-1-xen-amd64 root=/dev/mapper/Tamino-Root ro quiet 
vga=792 
	module	/initrd.img-2.6.26-1-xen-amd64

instead of what is shown below. And in fact, it works.

I think that booting the Xen hypervisor should be more straightaway than now (I 
had to modify the grub-pc configuration).

Regards, 

Didier

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.26-1-amd64

Debian Release: lenny/sid
  700 testing         mirror.switch.ch 
  700 stable          mirror.switch.ch 
  600 unstable        pkg-fso.alioth.debian.org 
  600 unstable        mirror.switch.ch 
  500 testing-proposed-updates mirror.switch.ch 
   50 unstable        mirror.switch.ch 
   50 unstable        ftp.uni-kl.de 
   50 testing-proposed-updates mirror.switch.ch 
   50 testing         mirror.switch.ch 
   50 testing         ftp.uni-kl.de 
   50 stable          mirror.switch.ch 
   50 stable          ftp.uni-kl.de 
   50 kernel-dists-trunk kernel-archive.buildserver.net 
   50 kernel-dists-sid kernel-archive.buildserver.net 
   50 kernel-dists-etch kernel-archive.buildserver.net 
   50 experimental    mirror.switch.ch 
   50 experimental    ftp.uni-kl.de 

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-=====================
libc6                     (>= 2.7-1) | 2.7-15
libncurses5      (>= 5.6+20071006-3) | 5.7-2
debconf                    (>= 0.5)  | 1.5.22
 OR debconf-2.0                      | 
grub-common     (>> 1.96+20080413-1) | 1.96+20080724-12
liblzo2-2                  (>= 2.03) | 2.03-1

--- Output from package bug script ---

*********************** BEGIN /proc/mounts
/dev/mapper/Tamino-Root / ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/Tamino-Home /home ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/Tamino-Tmp /tmp ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/Tamino-Usr /usr ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/Tamino-Var /var ext3 rw,relatime,errors=continue,data=ordered 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/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,1)
search --fs-uuid --set 055ce214-7182-4b61-84e8-c831372d5e64
if font /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 root=(hd0,1)
search --fs-uuid --set 055ce214-7182-4b61-84e8-c831372d5e64
insmod png
if background_image /grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### 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 ###
set root=(hd0,1)
search --fs-uuid --set 055ce214-7182-4b61-84e8-c831372d5e64
menuentry "Debian GNU/Linux, linux 2.6.27-1-amd64" {
	linux	/vmlinuz-2.6.27-1-amd64 root=/dev/mapper/Tamino-Root ro quiet vga=792 
	initrd	/initrd.img-2.6.27-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.27-1-amd64 (single-user mode)" {
	linux	/vmlinuz-2.6.27-1-amd64 root=/dev/mapper/Tamino-Root ro single quiet 
vga=792
	initrd	/initrd.img-2.6.27-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-xen-amd64" {
	linux	/vmlinuz-2.6.26-1-xen-amd64 root=/dev/mapper/Tamino-Root ro quiet vga=792 
vga=792
	initrd	/initrd.img-2.6.26-1-xen-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-xen-amd64 (single-user mode)" {
	linux	/vmlinuz-2.6.26-1-xen-amd64 root=/dev/mapper/Tamino-Root ro single quiet 
vga=792
	initrd	/initrd.img-2.6.26-1-xen-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64" {
	linux	/vmlinuz-2.6.26-1-amd64 root=/dev/mapper/Tamino-Root ro quiet vga=792 
	initrd	/initrd.img-2.6.26-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-amd64 (single-user mode)" {
	linux	/vmlinuz-2.6.26-1-amd64 root=/dev/mapper/Tamino-Root ro single quiet 
vga=792
	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

-- 
Didier Raboud, proud Debian user.
CH-1802 Corseaux
didier at raboud.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20081113/13d41ef5/attachment.pgp 


More information about the Pkg-grub-devel mailing list