Bug#606719: grub-pc doesn't give priority to the Xen hypervisor anymore
Thomas Goirand
zigo at debian.org
Sat Dec 11 06:17:56 UTC 2010
Package: grub-pc
Version: 1.98+20100804-8
Severity: wishlist
Hi there,
In Lenny, when installing Xen, grub was giving it priority, and by default,
Debian was booting on the hypervisor. This has changed in Lenny, and even
with the Xen hypervisor installed, Debian boots by default on a non-xen
kernel, without the hypervisor. This behavior could be considered a
regression, and could put some servers in production into some big troubles.
After some talks with Jcristau on IRC, he said that the RT wouldn't hold
Squeeze befcause of that issue, and that I should send this bug report as
release critical. However, when I asked if such a modification would be
allowed to migrate to Squeeze, the answer was "I don't know". So I believe
that there is still a room for change.
It would be very nice if you could tell if you think the change of order is
something you would consider before Squeeze is out. If it's too much of a
big modification, everybody will understand. But at least, I think that some
documentation should be added to tell how to reverte the change.
Anyway, thanks for the work on Grub, even if the above can't get in Squeeze,
Cheers,
Thomas Goirand (zigo)
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/48143a88-9fa2-47b0-a946-4407ff9de3bb / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/buzzlvm-home_crypt /home ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/buzzlvm-tmp /tmp ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/buzzlvm-usr /usr ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/buzzlvm-src /usr/src ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/buzzlvm-var /var ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/buzzlvm-data /mnt/data ext3 rw,relatime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-ST9320423AS_5VH0A9SS
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-usr)'
search --no-floppy --fs-uuid --set cd4eeda8-77b5-4303-aefb-e310cb479ca2
if loadfont /share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 48143a88-9fa2-47b0-a946-4407ff9de3bb
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-usr)'
search --no-floppy --fs-uuid --set cd4eeda8-77b5-4303-aefb-e310cb479ca2
insmod png
if background_image /share/images/desktop-base/spacefun-grub.png ; then
set color_normal=light-gray/black
set color_highlight=white/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_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 48143a88-9fa2-47b0-a946-4407ff9de3bb
echo 'Loading Linux 2.6.32-5-xen-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-xen-amd64 root=UUID=48143a88-9fa2-47b0-a946-4407ff9de3bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 48143a88-9fa2-47b0-a946-4407ff9de3bb
echo 'Loading Linux 2.6.32-5-xen-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-xen-amd64 root=UUID=48143a88-9fa2-47b0-a946-4407ff9de3bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 48143a88-9fa2-47b0-a946-4407ff9de3bb
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=48143a88-9fa2-47b0-a946-4407ff9de3bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 48143a88-9fa2-47b0-a946-4407ff9de3bb
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=48143a88-9fa2-47b0-a946-4407ff9de3bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0-amd64' --class debian --class gnu-linux --class gnu --class os --class xen {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 48143a88-9fa2-47b0-a946-4407ff9de3bb
echo 'Loading Linux 2.6.32-5-xen-amd64 ...'
multiboot /boot/xen-4.0-amd64.gz placeholder
module /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=48143a88-9fa2-47b0-a946-4407ff9de3bb ro quiet
echo 'Loading initial ramdisk ...'
module /boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 48143a88-9fa2-47b0-a946-4407ff9de3bb
echo 'Loading Linux 2.6.32-5-xen-amd64 ...'
multiboot /boot/xen-4.0-amd64.gz placeholder
module /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=48143a88-9fa2-47b0-a946-4407ff9de3bb ro single
echo 'Loading initial ramdisk ...'
module /boot/initrd.img-2.6.32-5-xen-amd64
}
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 4ea07a8ba07a7973
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/sda2)" {
insmod part_msdos
insmod fat
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 324c-cdc0
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Debian GNU/Linux, kernel 2.6.31.5 (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.31.5 root=/dev/sda3 ro
initrd /boot/initrd.img-2.6.31.5
}
menuentry "Debian GNU/Linux, kernel 2.6.31.5 (single-user mode) (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.31.5 root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.31.5
}
menuentry "Debian GNU/Linux, kernel 2.6.31.1 (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.31.1 root=/dev/sda3 ro
}
menuentry "Debian GNU/Linux, kernel 2.6.31.1 (single-user mode) (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.31.1 root=/dev/sda3 ro single
}
menuentry "Debian GNU/Linux, kernel 2.6.30.5 (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.30.5 root=/dev/sda3 ro
}
menuentry "Debian GNU/Linux, kernel 2.6.30.5 (single-user mode) (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.30.5 root=/dev/sda3 ro single
}
menuentry "Debian GNU/Linux, kernel 2.6.26-2-amd64 (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.26-2-amd64 root=/dev/sda3 ro
initrd /boot/initrd.img-2.6.26-2-amd64
}
menuentry "Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode) (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.26-2-amd64 root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.26-2-amd64
}
menuentry "Debian GNU/Linux, kernel 2.6.26 (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.26 root=/dev/sda3 ro
initrd /boot/initrd.img-2.6.26
}
menuentry "Debian GNU/Linux, kernel 2.6.26 (single-user mode) (on /dev/mapper/buzzlvm-xen01)" {
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(buzzlvm-xen01)'
search --no-floppy --fs-uuid --set b86f7b05-e6be-4bc6-a767-5c46279ebd47
linux /boot/vmlinuz-2.6.26 root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.26
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
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.36 Debian configuration management sy
ii grub-common 1.98+20100804-8 GRand Unified Bootloader, version
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-4 The Linux Kernel Device Mapper use
ii ucf 3.0025+nmu1 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 6.0.2 common files for the Debian Deskto
-- debconf information excluded
More information about the Pkg-grub-devel
mailing list