[Bug 692691] Re: update-grub thinks my kernel is a xen one

nutznboltz 692691 at bugs.launchpad.net
Tue Oct 4 16:38:01 UTC 2011


This is not a Xen-only issue as qemu-kvm is also affected.

My current work-around is to use OpsCode Chef to detect if grub1 in
installed and replace /usr/sbin/update-grub with a working version.

* QEMU guest environment:

$ lsb_release -sd
Ubuntu 10.04.3 LTS

$ uname -srv
Linux 2.6.38-11-server #50~lucid1-Ubuntu SMP Tue Sep 13 22:10:53 UTC 2011

$ cat /boot/grub/device.map 
(fd0)   /dev/fd0
(hd0)   /dev/vda

$ dpkg -l | awk '/grub/ {print $2 " " $3}'
grub 0.97-29ubuntu60.10.04.1
grub-common 1.98-1ubuntu12

* Before replacing /usr/sbin/grub-update

$ sudo update-grub 
...
Ignoring Xen kernel on non-Xen host: vmlinuz-2.6.38-11-server
...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/692691

Title:
  update-grub thinks my kernel is a xen one

Status in “grub” package in Ubuntu:
  Fix Released
Status in “grub” source package in Natty:
  Fix Released

Bug description:
  Binary package hint: grub

  I noticed I'm not running that latest kernel and it seems that update-
  grub doesn't like the newest ones I have available.

  10:49:13 - flash:[~/source-trees/apport/natty] 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 ... found: /boot/grub/menu.lst
  Searching for splash image ... found: /boot/grub/splash.xpm.gz
  grep: /boot/config: No such file or directory
  grep: /boot/config.old: No such file or directory
  Ignoring Xen kernel on non-Xen host: vmlinuz-2.6.37-10-generic
  Ignoring Xen kernel on non-Xen host: vmlinuz-2.6.37-9-generic
  Ignoring Xen kernel on non-Xen host: vmlinuz-2.6.37-8-generic
  Found kernel: /vmlinuz-2.6.37-7-generic
  Found kernel: /vmlinuz-2.6.32-24-generic
  Found kernel: /vmlinuz-2.6.32-23-generic
  Found kernel: /vmlinuz-2.6.32-22-generic
  Found kernel: /vmlinuz-2.6.32-21-generic
  Found kernel: /vmlinuz-2.6.32-19-generic
  Found kernel: /vmlinuz-2.6.32-17-generic
  Found kernel: /vmlinuz-2.6.32-15-generic
  Found kernel: /vmlinuz-2.6.32-14-generic
  Found kernel: /vmlinuz-2.6.32-13-generic
  Found kernel: /vmlinuz-2.6.32-12-generic
  Found kernel: /memtest86+.bin
  Updating /boot/grub/menu.lst ... done

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub 0.97-29ubuntu60
  ProcVersionSignature: Ubuntu 2.6.37-7.19-generic 2.6.37-rc3
  Uname: Linux 2.6.37-7-generic x86_64
  Architecture: amd64
  CheckboxSubmission: fee5e196cb921cbd36888f428b38b488
  CheckboxSystem: 2a6f54df59af338184485e85cbcf0d32
  Date: Mon Dec 20 10:47:47 2010
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   LC_MESSAGES=en_US.utf8
   SHELL=/bin/zsh
  SourcePackage: grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/692691/+subscriptions




More information about the foundations-bugs mailing list