Package: grub2 Version: 1.95-1 Severity: normal Tags: patch Update grub genereates entries that attempt to use the "linux" command to load the Xen hypervisor. That command rejects hypervisor files. Instead the "multiboot" command should be used to load the hypervisor.
The attached patch makes this change. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-1-xen-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages grub2 depends on: ii libc6 2.3.6.ds1-6 GNU C Library: Shared libraries ii liblzo1 1.08-3 data compression library (old vers ii libncurses5 5.5-5 Shared libraries for terminal hand grub2 recommends no packages. -- no debconf information
--- update-grub.dist 2006-10-22 12:08:13.000000000 -0500 +++ update-grub 2006-10-22 12:11:08.000000000 -0500 @@ -590,14 +590,16 @@ echo " set root=$grub_root_device" >> $buffer - echo -n " linux " >> $buffer if [ -n "$hypervisor" ]; then + echo -n " multiboot " >> $buffer echo -n "$hypervisor_image" >> $buffer if [ -n "$hypervisor_options" ]; then echo -n " $hypervisor_options" >> $buffer fi echo >> $buffer echo -n " module " >> $buffer + else + echo -n " linux " >> $buffer fi echo -n "$kernel" >> $buffer if [ -n "$kernel_options" ]; then