Score:0

PC still booting to GNU GRUB even after boot-repair (DELL G7)

kz flag

I have an issue on my Dell G7 7588. After I runned boot-repair on USB live, after rebooting the same message of Grub GNU 2.0 appears "minimal bash like-line editing is supported..."

I've been following instruction here to boot ubuntu from my sabrent sata enclosure: Creating a PC-Boot-able Ubuntu Installation

Here is the link after running boot-repair: https://paste.ubuntu.com/p/7FZgdwX7JW/

The message says "Please do not forget to make your BIOS boot on sda3/EFI/ubuntu/shimx64.efi file, which I have already adjusted on my BIOS.

Have been stuck on this problem for 3 days already. Its my first time using ubuntu and I am keen to get some work done on it. Any help will be greatly appreciated. Thank you!

ChanganAuto avatar
us flag
You say you did it already but the `efibootmgr` shows otherwise, i.e., that it still boot from a non-working entry when it should be booting from "Ubuntu".
twlandre avatar
kz flag
Is there anyway I can rectify this? I have already selected the efi/ubuntu/shimx64.efi file in my BIOS, but still seeing Grub.
ChanganAuto avatar
us flag
You have UEFI, not BIOS, but apart from this small yet relevant semantics detail, again, you should choose the "Ubuntu" entry, not a specific "file".
oldfred avatar
cn flag
Your UEFI boot entry is using the GUID of a NTFS partition, not an ESP. It looks like you reinstalled grub in BIOS mode. Use Boot-Repair from Ubuntu live installer booted in UEFI mode to make UEFI repairs. And then do a total reinstall of grub using its Advanced mode to choose install & drive. You do have ESP on both drives, so can choose either one. You may need to houseclean old incorrect UEFI boot entries, but new install will overwrite at least one with new correct entry. https://askubuntu.com/questions/429610/uninstall-grub-and-use-windows-bootloader/497720#497720
twlandre avatar
kz flag
Thank you all for your help and suggestions, I managed to find a solution thanks to all the input I have been giving. Many thanks!
Score:0
kz flag

Okay I found the solution after tinkering around GRUB. Thanks @ChanganAuto for indicating to me the issue. But basically you have list the files on the Grub terminal:

Grub> ls

It should list all your mounted drives. Find the directory that contains your linux folder for example:

Grub> ls (hd0,gpt3)/

Once you find the folder that contains the linux installation, which should have: home/ boot/ lost+found etc. Set that folder as root folder following instructions from this post: Grub loads instead of Ubuntu whenever my HP streambook reboots

The commands are as follows:

grub> set root=(hd0,gpt3) #this is the folder with all the files I was talking about.
grub> configfile /boot/grub/grub.cfg 

You will see that GRUB eventually boots to ubuntu. Open terminal and enter this:

sudo apt-get install grub-efi-amd64
sudo update-grub

Problem solved, and you can finally start using ubuntu. Hope this helps anyone so they don't get stuck like I did.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.