Lenovo Thinkpad t460s
PC keeps automatically into linux mint. i dont see a grub boot menu.
typing "efibootmgr" on the terminal keeps showing that "EFI variables are not supported on this system.
how do i switch between the two OS's?
#Unable to select operating system in a dualbooted device. Windows 10 and Linux Mint
190 messages · Page 1 of 1 (latest)
how old is pc?
About 9 years old
probably need to reinstall linux in UEFi MODE
and turn Windows Fast Startup off, in Windows
Will I still have windows?
also check the msinfo32 app in Windows, and take note of the listed BIOS mode
I did turn it off before installing Linux
I can't access windows
Only Linux mint boots up
go to bios , turn on uefi boot
and move windows boot manager to top of boot list
gotta redo the linux install.
It had both turned on, with legacy first
What option should I select
just put to pure uefi boot
legacy/csm off
My windows was in NTFS, doesn't it mean it's on legacy
this is why efi varables arent supported. u booted the installer in legacy (and it created a legacy install)
it probably is
So how should I fix the situation
if not, then it would show in grub menu
I selected Uefi only
Turned csm support off
How to go to boot order list
also turn off Quick boot
Done. Where's boot order
Check please sir
Entering the ATA HDD does nothing
Both are installed in legacy I think
revert as the were in first pic, then boot linux up, and open Disks app in accessories, and click hdd and show
Scroll to the top to see my screenshots
oh right
Btw loto told me to do this. How do I do it
hang on.
Yessir
what lot said is correct, basically what I said, however this case seems different
boot up to mint
im in mint
click p2, then click play button
if error, click the gear, and choose repair filesystem
after repair, click play button to mount, ensure windows core files are all intact
mounted
then open linux terminal, and do sudo update-grub
then reboot and see if u get grub menu with 2 OS
if theres only mint and advanced options in grub, check advanced
But rebooting auto logged in into mint
from mint
can you do
lemme see where it is
np just need to unhide the grub menu now
@boreal stratus do you know the dir of grub config
etc/default/
you got it
the mint online manual shows how
mint does hide grub
What do I do
Okay thanks
not usually
Let me see, I'll let u guys know if this doesn't work
I found out what grub is for the first tiem when I switched to debian from mint :D
unless it didnt probe in the installer, and thought it was the only OS, and u have this situation
but the manual shows how to do
can you send a screenshot of
"sudo nano /etc/default/grub"
this thing
as per manual: sudo nano /etc/default/grub.d/90_custom.cfg to edit
then ctrl-o to save, enter, ctrl-x to exit
and the rest it says

I don't know what it means
one sec
can't you just comment out the style hidden line?
I don't understand the guide
"
hidden: When set to hidden, GRUB will not display the boot menu by default. Instead, it will boot the default entry automatically after the specified timeout period (defined by GRUB_TIMEOUT). This setting is commonly used for systems that are intended to boot automatically without needing user interaction, but still want to provide the option to access the GRUB menu if needed."
What do I do?
okay let's try this
To make it visible, as root, add these lines to /etc/default/grub.d/90_custom.cfg
;
Wait I'm so confused. One at a time
u cant just uncomment it
if that doesnt work open the thing I told you and put a # in front of GRUB_TIMEOUT_STYLE
CTRL O then ENTER
CTRL X
^^ that wont work.
i added it to my config lemme reboot and test
if u insist on editing grub file directly, instead of the custom90 file, then:
hidden must say menu
and timeout can be but to 5 (seconds) if dont need so long
How do I change this
u already opened that file with sudo right?
sudo nano /etc/default/grub
I typed it in the terminal. The menu appeared. Now what do I do
is it this menu?
its a text editor
Yes
yes you are in "notepad"
lol
go in front of the GRUB_TIMEOUT_STYLE line and add a #
these to lines
it must say menu
timeout can stay
leave time out to 10 thats how long you got to pick windows or mint before it defaults to mint
10 seconds
after that:
CTRL O, enter
CTRL X
after that restart your pc and pick windows from the menu
WAIT
also do sudo update-grub after CTRL X
Oh praise the lord it worked
great
How do I set it to open up windows by default though? Instead of mint
keep fast startup off in Windows from now on, to prevent interference
I had it off before I installed mint
grub default = 0, change it to 1
was windows the second thing in the menu?
sudo nano /etc/default/grub
Nah, I think mint with compatibility or something similar was in second
change grub defai;t to 2 then
Okey sor
second thing would have been mint advanced
Yes it was that
0, 1, 2
number 2, (the third entry) would likely be windows
Okay how do I switch keyboard input method
what's that?
I can't find # on this
check setting in mint for input method
SHIFT 3?
if ur using some kind of chinese keybd maybe
weird
I selected UK English
or change Keyboard
open start menu and type "keyboard"
in the settings
select US english
One second
UK people are weird
you're welcome. please use the dots menu at top and add the Solved green tag
tldr user made a mistake when custom partitioning and made a mess on his drive, seems like just running update-grub and unhiding the boot menu fixed
idk if you remember but i changed the timeout to 2 seconds for the grub menu but it's still 10 seconds long. do i have to make any more changes?
sudo update-grub
i have to do this after i change the grub file?
you always do that after any change to the grub file
btw thanks I was wondering how mint hid it's grub