[Bug 977357] Re: 12.04 cloud-images do not boot (no such device: 00000000-0000-0000-0000-TEMP0FS0UUID)

Scott Moser smoser at ubuntu.com
Mon Apr 9 17:13:58 UTC 2012


Embarrased.


http://bazaar.launchpad.net/~ubuntu-on-ec2/vmbuilder/automated-ec2-builds/revision/466

That code was inadvertently commited with a fix to hardy images.

** Package changed: grub2 (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/977357

Title:
  12.04 cloud-images do not boot (no such device:
  00000000-0000-0000-0000-TEMP0FS0UUID)

Status in Ubuntu:
  Fix Committed

Bug description:
  When trying to boot a recent download of cloud-images (tested on 20120409) which has installed grub-pc at  1.99-21ubuntu2, we see:
  error: no such device: 00000000-0000-0000-0000-TEMP0FS0UUID.
  Press any key to continue...

  Pressing a key does in deed continue, and the system will boot fine,
  but the issue is that now someone has to press a key.

  
  The cloud-images build process builds into a filesystem, and replaces grub-probe and then invokes in a chroot [1]:
   grub-install --grub-setup=/bin/true /dev/sda && /usr/sbin/update-grub

  Then, the contents of that chroot are copied to a filesystem in an
  image, and that filesystem image turned into a booting disk via [2]

  Looking at the menu entry, it looks like this:
  | setparams 'Ubuntu, with Linux 3.2.0-22-virtual'
  | recordfail
  | gfxmode $linux_gfx_mode
  | insmod gzio
  | insmod part_msdos
  | insmod ext2
  | set root='(hd0,1)'
  | search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-TEMP0FS0UUID
  | linux /boot/vmlinuz-3.2.0-22-virtual root=LABEL=cloudimg-rootfs ro   console=ttyS0
  | initrd /boot/initrd.img-3.2.0-22-virtual

  It is possible that this error has  been showing up on the console for
  a longer period of time than it required key press to continue.  Ie, I
  would not necessarily know that.

  --
  [1] http://bazaar.launchpad.net/~ubuntu-on-ec2/vmbuilder/automated-ec2-builds/view/head:/vmbuilder-cloudimg-fixes
  [2] http://bazaar.launchpad.net/~ubuntu-on-ec2/vmbuilder/automated-ec2-builds/view/head:/ovf/part2disk-grubhelper

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/977357/+subscriptions




More information about the foundations-bugs mailing list