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

Dave Morley davmor2 at davmor2.co.uk
Thu Mar 24 17:34:37 UTC 2016


Right okay so the setup was this:

On kvm I install fedora on a full qcow2 hdd.
I then repartition it to create some free space as I didn't realise that fedora uses lvm by default
In the free space I then install ubuntu

In EFI menu of uefi I now can boot from fedora or from ubuntu

When I look at /boot/EFI I now see separate folders for Fedora and
Ubuntu  each Folder has the similarly named files in for shim etc in
order to boot.

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