[Bug 1173457] Re: Ubuntu Installer uses wrong bootloader location for USB UEFI installs
Maxim
1173457 at bugs.launchpad.net
Tue Aug 9 08:38:41 UTC 2022
*** This bug is a duplicate of bug 1396379 ***
https://bugs.launchpad.net/bugs/1396379
I have a laptop with 2 SSDs and want to install Windows and Ubuntu separately.
Windows is installed on the first SSD and runs well.
Now I need to install Ubuntu on second SSD.
Every time I try to install it: Ubuntu installs GRUB to the first disk, to existing EFI partition alongside Windows bootloader. I tried all possible disk choosing options, and it still uses existing ESP. And, yep, it broke my Windows bootloader.
Please pay attention to this bug, it's ancient!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1173457
Title:
Ubuntu Installer uses wrong bootloader location for USB UEFI installs
Status in ubiquity package in Ubuntu:
Triaged
Bug description:
On a secure boot pc (secure boot enabled, Ubuntu Desktop 12.10 64bit installed with Win 8), installing from live media Ubuntu 13.04 64 bit desktop to a target thumbdrive (pre partitioned with gpt, and a bootable FAT32 partition 1 of 250M labeled EFI) properly identifies the target's first partition as an "EFI bootable partition" (when "do something else" is selected), but the install
will then mount the ESP off the laptop's hard drive (at /target/boot/efi).
The install creates a grub.cfg file under /target/boot/efi/EFI/ubuntu pointing to the target's(uuid) /boot/grub/grub.cfg. This wrong grub.cfg will prevent the laptop from booting Ubuntu without the thumbdrive, throwing the boot into a grub prompt (since the configfile points to the usb and is no longer present).
The install should use the identified "EFI boot partition" on the
target, so the target may boot when first in boot priority, and not
touch the hard disk's EFI files. If for any reason a permanent
installation is to be made to a USB device, simply select the hard
disk's ESP instead of one on the target.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1173457/+subscriptions
More information about the foundations-bugs
mailing list