[Bug 1560973] Re: EFI booting Ubuntu image to grub removes existing boot entries and makes system unbootable

Dave Morley davmor2 at davmor2.co.uk
Wed Mar 23 17:33:01 UTC 2016


This only effects ubuntu on ubuntu installs

I have confirmed that fedora 23 ubuntu 16.04 side by side works as
expected.

I believe the cause is that all ubuntu installs share a common path to
file ie /boot/EFI/ubuntu/shim.....  where as Fedora is at
/boot/EFI/fedora/shim......

** Changed in: grub2 (Ubuntu)
       Status: New => Confirmed

-- 
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/1560973

Title:
  EFI booting Ubuntu image to grub removes existing boot entries and
  makes system unbootable

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  I'm using xenial image 20160323 on an XPS 13 2015 (9343). Booting (to
  grub) with the image on a USB stick is enough to make my previously
  installed system unbootable!

  1. Have the system in EFI mode and an installed Ubuntu system. I have Secure Boot on too. Make sure the installation boots properly.
  2. Burn image to USB drive. I used dd, but doubt that matters.
  3. Insert USB drive into "target" system.
  4. (Re)boot it, select to boot from the USB drive if it doesn't do that for you.
  5. See the grub menu from the image.
  6. Don't choose anything. Turn the system off.
  7. Take the USB stick out.
  8. Turn the system back on.
  9. See "No bootable devices fdund."

  Obviously at "9" it should instead boot into your previous
  installation, since you didn't change anything.

  You can repair the system by entering setup (F2) and re-adding the
  boot entry. Settings -> General -> Boot Sequence -> Add Boot Option.
  Click the "…" next to File Name and pick EFI/ubuntu/shimx64.efi. Then
  exit setup and it should reboot and work again.

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



More information about the foundations-bugs mailing list