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

Steve Langasek steve.langasek at canonical.com
Wed Nov 16 07:32:15 UTC 2011


** Changed in: grub (Ubuntu Lucid)
     Assignee: (unassigned) => Steve Langasek (vorlon)

-- 
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 Lucid:
  Triaged
Status in “grub” source package in Natty:
  Fix Released

Bug description:
  SRU justification:
  The version of grub included in lucid has code for detecting Xen-only kernels which misfires on later kernel releases, where Xen guest support may be built into a kernel that can also be run on bare hardware.  The distro kernels for natty and later are built in precisely this way, which means that the LTS backport kernels for natty and oneiric are also built this way - making it impossible to use these backported kernels on a 10.04 LTS system that's using grub 1 as its bootloader.

  Test case:
  1. Configure 10.04 LTS with grub as its bootloader.
  2. Install the linux-image-server-lts-backport-oneiric package.  Observe that the newly installed kernel is ignored by update-grub as in the below messages.
  3. Install the grub package from lucid-proposed.  Observe that the 3.0.0 kernel is no longer ignored by update-grub.

  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