this post was submitted on 27 Jul 2024
251 points (98.5% liked)
Linux
48338 readers
1785 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You likely need to tell the uefi software to boot Grub. I can't remember the command off the top of my head sorry but you basically need to tell it what to boot by default. Then you can let Grub handle the choice of Linux or windows. I just set up a laptop for my sister that behaved that way. No matter what I selected as default in the uefi setup it kept resetting back.
Just looked it up, efibootmgr is the command I think. https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples
I appreciate the reply, I'll have to try that. I ran some other fix commands earlier but haven't tested with a reboot yet. If the pc tries to boot to windows (without Grub), I literally have to power off the psu until the cmos clears, then turn back on in order to get to the boot menu. Win 10 once had a uefi setting console, but it's no more, apparently. If my earlier commands or your fix doesn't work, bye windows.
Edit: neither worked. Efibbootmgr WILL move Mint up in the boot order but windows always stays on top. Figures. I thought about deleting the windows boot Mgr entry, but I'm not sure what that would do. Making the winbootmgr inactive fails. Idk.
Edit2: I decided fuck it; deleted the windows entry in efibbootmgr. Seems to have fixed it. I can still boot to windows if I choose but the select OS option comes up by default now. Yay. It appears winbootmgr has reinserted itself in efibootmgr but as a lower priority than Mint. Oddly, I'm still getting a "Grubx64.efi not found" message for half a second before the OS select comes up. I can live with that unless it's a sign of problems to come?