Comment 1 for bug 1640878

Revision history for this message
Chris Glass (tribaal) wrote :

cyphermox uploaded patched packages to ppa:cyphermox/grub .

Steps to assert this works are as follows:

- Boot a Yakkety EC2 image (https://console.aws.amazon.com/ec2/home?region=eu-central-1#launchAmi=ami-b87881d7)
- Login
- sudo apt-add-repository ppa:cyphermox/grub; sudo apt update; sudo apt-upgrade
- reboot
(assert the system comes back online with no modifications to the grub config)
- login again
- Get the PARTUUID for the image's disk: ls /dev/disk/by-partuuid/ (should be 6983c98a-01 on this particular image)
- Add "GRUB_FORCE_PARTUUID=6983c98a-01" to /etc/default/grub
- sudo update-grub
- reboot
(assert the system comes back online with a root=PARTUUID config)
- login again
- Add "GRUB_DISABLE_INITD=true" to /etc/default/grub.
- sudo update-grub
- reboot
(assert the system comes back online with root=PARTUUID and no initrd)

Currently the Xenial images we build don't expose partuuids (it's an artifact of CPC transitionning to a new build system, AFAIU).