user prompted for grub 1 cfg file change due to Chainload entry

Bug #627451 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Medium
Scott Moser

Bug Description

Binary package hint: cloud-init

the update-grub-legacy-ec2 program will write a stanza for "Chainload grub2" if there exists a /boot/grub/core.img.

This is bad for 2 reasons:
a.) on ec2, this is not going to work (unless the core.img was a pv-grub2 , which does not exist)
b.) if grub was intalled and configured before grub2 in original installation, there will not be a stanza in the menu.lst file, but then a later call to update-grub-legacy-ec2 (ie, on kernel upgrade) will see the /boot/grub/core.img and think one should be written. The user will then be prompted to address the change.

Since its pointless, I'll just comment it out.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: grub-legacy-ec2 0.5.14-0ubuntu4
ProcVersionSignature: User Name 2.6.35-19.28-virtual 2.6.35.3
Uname: Linux 2.6.35-19-virtual i686
Architecture: i386
Date: Tue Aug 31 14:38:54 2010
Ec2AMI: ami-821cf6eb
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-maverick-daily-i386-server-20100831.manifest.xml
Ec2AvailabilityZone: us-east-1b
Ec2InstanceType: m1.small
Ec2Kernel: aki-407d9529
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cloud-init

Revision history for this message
Scott Moser (smoser) wrote :
Changed in cloud-init (Ubuntu):
assignee: nobody → Scott Moser (smoser)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Scott Moser (smoser) wrote :

fix-released in 0.5.15-0ubuntu1. grub-legacy-ec2 will never write a grub2 chainload entry.

Changed in cloud-init (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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