PDA

View Full Version : Dual Boot fails to load Grub; Boot-Repair failed



gregoledra
April 24th, 2018, 06:31 PM
Hello!

Boot-Repair pastebin (prior to trying without secure boot):
http://paste.ubuntu.com/p/PbFcVHFqKr/


GOAL:
Access Ubuntu on /dev/sda5 and /dev/sda6 via dual boot (aka just get grub to appear)


Method:
Installed Ubuntu on HDD - success; failed to boot there.
Installed Ubuntu on SSD (preferred) - success; failed to boot there.
Modified bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi - successful edit; failed to boot into Ubuntu
Ran efibootmgr off of a USB Linux installation; changes did not take, currently does not show Ubuntu as being in the boot order at all
Verified all OS's are installed in UEFI mode (unable to boot into anything except USB in Legacy)
Attempted to change boot order in the BIOS-like screen at startup. Changing boot order has no effect - it doesn't even make booting off of a USB automatic. Instead it always boots directly to Windows.
Attempted to run Boot-Repair (see output above)
Disabled Secure Boot
Modified bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi - successful edit; failed to boot into Ubuntu
Ran efibootmgr off of a USB Linux installation; changes did not take, although ubuntu is a listed option @ 000A, Windows Boot Manager is always above it.


Time put in:
A day (~10 hours)


Notes:
Hitting F12 allows for seeing a USB and Windows Boot Manger on the HDD and SSD separately (so 3 entries total), but Grub/Ubuntu has never showed up
My system is using UEFI


Intended Resolution I can't do:
I assume that fixing the boot order will solve the problem, yet since the changes I make when booting to a USB don't seem to be saved after restarting and changing the Windows bcdedit configuration path didn't work and changing the UEFI boot order in the BIOS-like startup screen has no effect, I don't know what to do.

Questions
Is there a way to set grub as the default in Windows without using bcdedit?
Is there a reason why \EFI\ubuntu\grubx64.efi doesn't work?



Any help would be appreciated. I am currently going to try setting \sda1\EFI\ubuntu\shimx64.efi in Windows instead of \EFI\ubuntu\shimx64.efi and then try \sda1\EFI\ubuntu\grubx64.efi


Thanks for any help you can give me!

gregoledra
April 24th, 2018, 07:17 PM
Hey I got it!
I re-ran: bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
And rebooted twice (perhaps it wasn't set until after the first boot).

oldfred
April 24th, 2018, 07:20 PM
I see Acer mentioned.
Is this an Acer and what model?

If Acer (all models as far as I know) you have to set UEFI password and enable "trust" on the Ubuntu/grub .efi boot files from within UEFI.

Acer Trust Settings - details, some now report that then secure boot has to be on to set trust:
https://ubuntuforums.org/showthread.php?t=2297947&p=13369742#post13369742
https://ubuntuforums.org/showthread.php?t=2358003
(https://ubuntuforums.org/showthread.php?t=2358003)
Acer Cloudbook shows screen for selecting trust
http://bernaerts.dyndns.org/linux/74-ubuntu/340-ubuntu-install-acer-aspire-cloudbook-431
http://community.acer.com/t5/Predator-Laptops/Dual-Boot-Ubuntu-Win10-Step-by-step-guide/m-p/430392#U430392

Some older models have needed updates to UEFI from Acer. Old threads on trust mention downgrading UEFI, but newer threads say newest UEFI from Acer works. But that was last year, so may depend on version of UEFI you have from Acer.


(https://ubuntuforums.org/showthread.php?t=2358003)