Bug#442218: update-grub overlooks xen kernels
supaplex
debian at foss.daxal.com
Fri Sep 14 08:09:20 UTC 2007
Package: grub
Version: 0.97-27
Severity: normal
>From the man page:
It works by looking in /boot for all files which start
with "vmlinuz-". They will be treated as kernels...
I've tried it with sudo bash -x /usr/sbin/update-grub &>hg.txt - but
didn't discover anything helpfull in determining why the xen kernel is
overlooked. I just installed xen, and prior to reboot, I inspected the
menu.lst to see if the xen kernel had a menu entry. There is none. I
backed up the existing menu.lst, and ran update-grub again, and said Yes
to create a new menu.lst. Still no xen kernel in the list.... (I assume
this is dom0 right?) And yes, only bare metal involved here, so far...
transcript:
supaplex at armada:~$ sudo update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ...
Could not find /boot/grub/menu.lst file. Would you like
/boot/grub/menu.lst generated for you? (y/N) y
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.18-4-686-bigmem
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
supaplex at armada:~$ ls -l /boot/vmlinuz-*
-rw-r--r-- 1 root root 1261353 2007-05-09 22:22
/boot/vmlinuz-2.6.18-4-686-bigmem
-rw-r--r-- 1 root root 1272167 2007-08-30 01:02
/boot/vmlinuz-2.6.18-5-xen-vserver-686
I'll include the bash -x transcript if you really want it, but it's some
1100 lines.
Thanks!
Scott Edwards
-- http://www.daxal.com/?from=debian+bts
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686-bigmem
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages grub depends on:
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
grub recommends no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list