installation of kernel fails in ec2 instance

Bug #610554 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cloud-init

$ sudo dpkg -i linux-image-2.6.35-12-virtual_2.6.35-12.17~pvops_i386.deb
Selecting previously deselected package linux-image-2.6.35-12-virtual.
(Reading database ... 33394 files and directories currently installed.)
Unpacking linux-image-2.6.35-12-virtual (from linux-image-2.6.35-12-virtual_2.6.35-12.17~pvops_i386.deb) ...
Done.
Setting up linux-image-2.6.35-12-virtual (2.6.35-12.17~pvops) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.35-12-virtual
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
User postinst hook script [/usr/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.35-12-virtual (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-2.6.35-12-virtual

The above is because /etc/kernel-img.conf has 'update-grub'.
This should somehow be modified to not insist on success of /usr/sbin/update-grub on ec2 (it will fail, as there is no /dev/sda).

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cloud-init 0.5.13-0ubuntu2
ProcVersionSignature: User Name 2.6.32-305.9-ec2 2.6.32.11+drm33.2
Uname: Linux 2.6.32-305-ec2 i686
Architecture: i386
Date: Tue Jul 27 18:20:16 2010
Ec2AMI: ami-e930db80
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-maverick-daily-i386-server-20100727.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 :
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.