~smoser/ubuntu/maverick/cloud-init/lp942961-apt-pipeline

Viewing all changes in revision 38.

  • Committer: Scott Moser
  • Date: 2010-07-09 20:28:09 UTC
  • Revision ID: smoser@ubuntu.com-20100709202809-7nisdfscmqc6y3wp
update-grub-legacy-ec2: do not use 'uuid' grub keyword, but 'root'

uuid is not supported in the ec2 grub kernels.  Instead, we have to use
hd0.  'hd0' might seem strange, but when the disk is presented to grub
there is only a single partition.

Yes, we end up telling grub:
   root (hd0) 
but the device as seen by the kernel is a partition on a disk, ie:
   root=/dev/sda1

At the moment, this is using UUID= for 'root'.  This will need to change
if we get rid of ramdisks.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: