[SOLVED] Have to bring up GRUB menu after every boot- how to fix?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have to bring up GRUB menu after every boot- how to fix?
SOLVED EDIT: I got systemd-boot working instead of GRUB by nuking Pop!_OS and following these (not very beginner-friendly) guides: Installing Pop!_OSGetting systemd-boot to work Unfortunately I cannot figure out how to mark this post as [SOLVED] because the option is not in "Thread Tools" for some reason :/ https://i.imgur.com/LrO0MED.jpg
The gist:
I'm having some unusual trouble with GRUB. Every time I boot my computer, it opens to the GRUB command line. I have to run the following commands:
Code:
set root=(hd0,msdos1)
set prefix=(hd0,msdos1)/boot/grub
insmod normal
normal
which brings me to a perfectly-formed GRUB menu, like this one, but with Windows on it: https://i.imgur.com/ZiO2qxH.png
How can I make it so that it opens the GRUB menu automatically?
Details:
I am dual-booting Windows 10 and Pop!_OS. I originally had Linux Mint. But I replaced Linux Mint with Pop!_OS after I messed up my GRUB using Grub-customizer and boot-repair made it even worse.
I have tried using sudo update-grub and sudo grub-install but those didn't fix anything.
When I run efibootmgr -v I get:
Is windows installed as efi or mbr boot?
Is the drive partitioned as msdos or gpt?
Using the command the way you do
Code:
set root=(hd0,msdos1)
set prefix=(hd0,msdos1)/boot/grub
seems to indicate the drive is partitioned in msdos mode which would indicate that windows is doing an MBR boot and you should have installed Pop OS in mbr boot mode.
However, all the efibootmgr entries shown reflect GPT, so I am a bit confused why your command does not reflect gpt such as
Code:
set root=(hd0,gpt1)
set prefix=(hd0,gpt1)/boot/grub
With that said, you might reinstall the kernel with grub properly configured so the vmlinuz image properly reflects the boot mode and config. On fedora we have tools called grubby and dracut to handle the reconfig of the boot image and kernel parameters when changes occur. I am not familiar with pop os so cannot tell how to do similar for that OS.
After thinking a bit more, I wonder if windows is efi booting and you created an additional efi partition when you installed Pop OS. If so then there will be an issue with booting from one efi partition (the one shown as EFI System by fdisk -l) and the second one created by pop os.
Sorry guys, this thread didn't show up for me for a long time, so I couldn't post any updates. Since I posted it I just nuked POP!_OS (it was a fresh install) and got systemd-boot working instead of GRUB using these guides: Installing Pop!_OS Getting systemd-boot to work
Unfortunately, neither of them are very beginner-friendly.
Thanks for all your help anyway!
Last edited by dudeguy1337; 03-12-2022 at 07:19 PM.
Reason: add thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.