#GRUB menu not installing correctly

62 messages · Page 1 of 1 (latest)

upper wyvern
#

Description
I had installed Linux mint on an external USB hard drive. But due to it being slow I Uninstalled it and went back to windows. When I did this. The grub menu stayed but was different. It now said GNU GRUB version 2.12. I reinstalled Linux directly onto my hard drive as a dual boot setup and it still booted into GNU grub. I tried to create a new grub menu but with the command "grub-mkconfig -o /boot/grub/grub.cfg. and it says default grub not found. I am not sure how to fix this and I just want the default grub menu back

Steps to reproduce

  1. Install Linux mint on an external hard drive.
  2. remove external hard drive and use computer in windows as normal. (This is when the GNU GRUB menu showed up)
  3. Install Linux mint onto the internal C drive. In a separate partition.

Expected behavior
The regular grub boot menu would appear on startup
Actual behavior
The GNU GRUB menu appears on startup

hard wolf
#

boot live, and use the boot repair app included in the apps menu

#

these situations when installing to any external drive, you really TRULY should remove the internal drive temporarily. one screw and out.

upper wyvern
#

By boot live you mean to boot from the USB that has Linux flashed onto it?

And that's good to know thank you

hard wolf
#

yep

upper wyvern
hard wolf
#

ok now go into BIOS

#

see if UEFI boot list priority has 'ubuntu' in it. then move it to top.

#

forget about external drive, just the 2 OS on the internal drive now

hard wolf
upper wyvern
#

There's 2 ubuntu's in boot priority. I do not have the external drive plugged into the system. One of them is already on top. I'll switch it with the other one and see if that changes anything

#

(Thank you for the help by the way)

#

It now boots directly into Linux without the grub menu!

hard wolf
#

ok in linux now, search disks in start menu

#

open it, and show the internal drive

#

do u see a big NTFS partition, which is where Windows would be

upper wyvern
#

The seagate portable is a different external drive.

And I do see that partition. It's the third one

hard wolf
#

well your Windows is still there. in partition 3

#

select partition 5

#

then read the bottom text for "Partition Type"

upper wyvern
#

It says EFI system

hard wolf
#

ok so u have two EFI partitions rn on same drive.

#

not the best, but maybe can be fixed

#

open terminal, and do efibootmgr and show

#

also disconnect the other hard drive. no need to have it in right now

upper wyvern
#

Alright. Here's what it pulled up.
It has the long windows boot manager alongside two ubuntus

hard wolf
#

boot current is 3

#

so bad one is 4

#

note the hard drive has very long ID

#

starting with ce1

#

to remove bad one, do sudo efibootmgr -b 0004 -B

upper wyvern
#

Alright. Done. Now there's only boot 0000 and boot 0003

hard wolf
#

do sudo os-prober

#

only nvme drive should be in.

upper wyvern
hard wolf
#

do sudo nano /etc/default/grub

#

what's it say for timeout; and timeout_style?

upper wyvern
#

Timeout says 10. Timeout style =menu

hard wolf
#

do you want less than 10 seconds to choose options?

upper wyvern
#

That should be fine tbh

hard wolf
#

ok close . (ctrl-x)

#

do sudo update-grub

#

watch if it adds windows

upper wyvern
#

It just says default grub not found

hard wolf
#

must put dash

#

nvm

#

do boot repair again. do NOT have external hdd connected.

upper wyvern
hard wolf
#

btw dont use that pastebin, it's junk

#

i can never see it.

#

do a reboot, remove usb stick n see what happens

upper wyvern
#

Oh fair enough. Sorry

#

We are back to GNU GRUB

hard wolf
#

if it's just grub>*

#

then type normal and press enter

#

or try exit

#

also, try starting Windows using your BIOS key or Boot Menu key as soon as you power-on.