## launched a xenial instance $ cat /etc/cloud/build.info build_name: server serial: 20170207
## Enable proposed $ rel=$(lsb_release -sc) $ line=$(awk '$1 == "deb" && $2 ~ /ubuntu.com/ { printf("%s %s %s-proposed main universe\n", $1, $2, rel); exit(0) }; ' "rel=$rel" /etc/apt/sources.list) $ echo "$line" | sudo tee /etc/apt/sources.list.d/proposed.list $ sudo apt-get update -qy $ sudo apt-get install -qy cloud-init grub-legacy-ec2 ## copy -generic to -ec2 $ sudo sh -c 'for i in /boot/*-generic; do n=${i%-generic}-ec2; mv -v $i $n; done' '/boot/System.map-4.4.0-62-generic' -> '/boot/System.map-4.4.0-62-ec2' '/boot/abi-4.4.0-62-generic' -> '/boot/abi-4.4.0-62-ec2' '/boot/config-4.4.0-62-generic' -> '/boot/config-4.4.0-62-ec2' '/boot/initrd.img-4.4.0-62-generic' -> '/boot/initrd.img-4.4.0-62-ec2' '/boot/vmlinuz-4.4.0-62-generic' -> '/boot/vmlinuz-4.4.0-62-ec2' ## run update-legacy-grub-ec2 $ sudo update-grub-legacy-ec2 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 ... none found, skipping ... Found kernel: /boot/vmlinuz-4.4.0-62-generic Replacing config file /run/grub/menu.lst with new version Found kernel: /boot/vmlinuz-4.4.0-62-ec2 Replacing config file /run/grub/menu.lst with new version Updating /boot/grub/menu.lst ... done ** Tags removed: verification-needed ** Tags added: verification-done ** Changed in: cloud-init (Ubuntu Zesty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379080 Title: update-grub-legacy-ec2 fails to detect xen kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1379080/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs