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

Steve Langasek steve.langasek at canonical.com
Thu Mar 24 17:33:12 UTC 2016


To debug this, I would like to see the results from:
 - from your existing system, run 'efibootmgr -v' and paste the output.
 - boot to the installer
 - from a terminal, run 'efibootmgr -v' and paste the output.
 - remove the USB stick.
 - reboot.
 - if your boot options come up, reboot again until you reproduce the bug.
 - insert the USB stick and reboot.
 - if at all possible, boot the USB stick without adding the stick to the firmware's boot options.  I.e., if the grub on the USB stick comes up automatically, boot it; if you have an option to boot from a file *without* doing 'add boot option', do that.
 - once booted, get the output of 'efibootmgr -v' again.

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

** Changed in: grub2 (Ubuntu)
     Assignee: (unassigned) => Steve Langasek (vorlon)

-- 
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:
  Incomplete

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