** Description changed: Binary package hint: grub2 I'm investigating backporting support for guest managed kernels into 10.04 guest UEC images. Doing so would allow 10.04 guest images that were running on EC2 and 10.10 UEC hosts to run 'apt-get dist-upgrade && reboot' and boot into their new kernel. Currently, the 10.04 guests cannot manage their own kernel under either UEC or EC2. The solution in place for 10.10 is to use grub-pc to load the kernel on UEC and legacy-grub-ec2 to load the kernel on EC2. That same solution will almost work for 10.04. The one point of failure is that 10.04 images have 2 kernels in them (linux-ec2 and linux- virtual). Currently the linux-ec2 kernel is 2.6.32.309.10 and linux- virtual is 2.6.32.25.27. That would mean that when update-grub runs, it will choose the linux-ec2 kernel as the newest, and, on reboot, the guest would reboot into that -ec2 kernel on UEC. To avoid that, we need to have update-grub explicitly ignore the -ec2 kernel. I had a discussion on this solution with cjwatson at http://irclogs.ubuntu.com/2010/11/03/%23ubuntu-devel.html . The key point of that discussion is that it will *never* be useful for the -ec2 kernel to be loaded by grub-pc. the only possible case that would occur is the future development of a grub2 based xen pv-grub. + One other bit of information, is that the upgrade path from lucid to + maverick is preserved. The maverick based grub-pc do not exclude the + linux-ec2, but do not need to. Maverick does not include a linux-ec2 + kernel (well, it is in the archive, but not updated). Thus, when a do- + release-upgrade from lucid->maverick would occur, there will be a + -virtual kernel installed that will appear to maverick's grub-pc to be + newest. It would be selected, and all future upgrades would have + -virtual kernels that were newer than -ec2 kernel. + ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: grub-pc 1.98-1ubuntu7 ProcVersionSignature: Ubuntu 2.6.32-309.18-ec2 2.6.32.21+drm33.7 Uname: Linux 2.6.32-309-ec2 i686 Architecture: i386 Date: Thu Nov 4 18:34:45 2010 Ec2AMI: ami-480df921 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-east-1d Ec2InstanceType: t1.micro Ec2Kernel: aki-6603f70f Ec2Ramdisk: unavailable ProcEnviron: - PATH=(custom, no user) - LANG=en_US.UTF-8 - SHELL=/bin/bash + PATH=(custom, no user) + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: grub2
-- update-grub needs to ignore linux-ec2 kernels https://bugs.launchpad.net/bugs/671097 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs