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).

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

Title:
  grub2 cannot currently generate configuration without initrd

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to