need some mechanism to support /boot/grub/menu.lst and pv-grub

Bug #1014695 reported by Scott Moser on 2012-06-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Low
Unassigned
grub (Debian)
Fix Released
Unknown
grub (Ubuntu)
Wishlist
Unassigned

Bug Description

Currently (12.04 and quantal at the moment) cloud-init creates a binary package called grub-legacy-ec2. The purpose of grub-legacy-ec2 is really to
 * support use of pv-grub, a xen paravirtualied bootloader, which reads a grub 0.97 style /boot/grub/menu.lst file
 * install along side of grub-pc. The Ubuntu cloud-images that run on xen are identical at the filesystem level to those that run on kvm. Having 2 images, or having the user need to install a specific package based on hypervisor is not desirable.

the grub-legacy-ec2 package basically represents a copy of grub (0.97)'s update-grub code and required dependencies. As that is the code that updates /boot/grub/menu.lst. It also includes some small bit of code to determine if a kernel is sufficient to run on EC2 (based on the fact that in the past some kernels did not run there).

So, this bug is a request to remove that function from cloud-init and either put it into the grub package instead.

Colin Watson (cjwatson) on 2012-06-18
affects: grub2 (Ubuntu) → grub (Ubuntu)
Scott Moser (smoser) wrote :

Long term, this would be a better path as the maintenance of menu.lst does not really make sense in cloud-init, and debian has packaged cloud-init without the grub-legacy-ec2 code.

Also, note in debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672104 the discussion there.

Changed in grub (Debian):
status: Unknown → New
Changed in grub (Ubuntu):
importance: Undecided → Wishlist
Scott Moser (smoser) on 2012-06-21
Changed in cloud-init (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in grub (Debian):
status: New → Fix Committed
Changed in grub (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.