#Unable to select operating system in a dualbooted device. Windows 10 and Linux Mint

190 messages · Page 1 of 1 (latest)

languid vector
#

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?

boreal stratus
#

how old is pc?

languid vector
boreal stratus
#

probably need to reinstall linux in UEFi MODE

#

and turn Windows Fast Startup off, in Windows

languid vector
boreal stratus
#

also check the msinfo32 app in Windows, and take note of the listed BIOS mode

languid vector
#

I can't access windows

#

Only Linux mint boots up

boreal stratus
#

go to bios , turn on uefi boot

#

and move windows boot manager to top of boot list

#

gotta redo the linux install.

languid vector
#

What option should I select

boreal stratus
#

just put to pure uefi boot

languid vector
boreal stratus
#

legacy/csm off

languid vector
#

My windows was in NTFS, doesn't it mean it's on legacy

boreal stratus
boreal stratus
languid vector
#

So how should I fix the situation

boreal stratus
#

if not, then it would show in grub menu

languid vector
#

I selected Uefi only

boreal stratus
#

switch as i said

#

yes

#

now go to boot order list

#

what u find?

languid vector
languid vector
boreal stratus
#

*csm

#

should show as a category no?

languid vector
#

Can you find it here

boreal stratus
languid vector
boreal stratus
#

so that should now read as:

languid vector
#

Check please sir

boreal stratus
#
  • UEFI only
  • UEFI first
  • csm NO
#

ok just try save and exit/reboot (note F12)

languid vector
#

I just get boot menu now

languid vector
boreal stratus
#

hm

#

ok weird

#

revert the settings

languid vector
#

Both are installed in legacy I think

boreal stratus
#

revert as the were in first pic, then boot linux up, and open Disks app in accessories, and click hdd and show

languid vector
boreal stratus
#

(well leave quick boot off)

#

but the rest put back how they were

boreal stratus
languid vector
boreal stratus
#

hang on.

languid vector
#

Yessir

boreal stratus
#

what lot said is correct, basically what I said, however this case seems different

#

boot up to mint

languid vector
boreal stratus
#

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

languid vector
boreal stratus
#

then open linux terminal, and do sudo update-grub

#

then reboot and see if u get grub menu with 2 OS

humble oracle
#

if theres only mint and advanced options in grub, check advanced

languid vector
#

a second, let me try

#

It did say that it found win 10

languid vector
humble oracle
#

can you do

#

lemme see where it is

boreal stratus
humble oracle
#

@boreal stratus do you know the dir of grub config

boreal stratus
#

etc/default/

humble oracle
boreal stratus
#

the mint online manual shows how

humble oracle
#

mint does hide grub

languid vector
#

What do I do

languid vector
#

Okay thanks

boreal stratus
languid vector
#

Let me see, I'll let u guys know if this doesn't work

humble oracle
#

I found out what grub is for the first tiem when I switched to debian from mint :D

boreal stratus
#

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

humble oracle
#

"sudo nano /etc/default/grub"

#

this thing

boreal stratus
#

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

languid vector
humble oracle
languid vector
#

I don't know what it means

humble oracle
#

one sec

humble oracle
boreal stratus
#

idk i would do as it says

#

in the custom file

#

not the original grub file

languid vector
humble oracle
#

"
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."

humble oracle
boreal stratus
humble oracle
#

I think that adding one # is easier

languid vector
#

Wait I'm so confused. One at a time

boreal stratus
#

u cant just uncomment it

humble oracle
boreal stratus
#

^^ that wont work.

humble oracle
#

i added it to my config lemme reboot and test

boreal stratus
#

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

languid vector
humble oracle
#

yep grub was gone

#

do what i said it will fix it

#

just sudo update-grub after

boreal stratus
humble oracle
#

sudo nano /etc/default/grub

languid vector
humble oracle
boreal stratus
#

its a text editor

languid vector
humble oracle
#

yes you are in "notepad"

languid vector
#

lol

humble oracle
#

go in front of the GRUB_TIMEOUT_STYLE line and add a #

boreal stratus
humble oracle
#

should be like this

boreal stratus
#

it must say menu

humble oracle
#

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

languid vector
humble oracle
#

great

languid vector
#

How do I set it to open up windows by default though? Instead of mint

boreal stratus
#

keep fast startup off in Windows from now on, to prevent interference

humble oracle
#

Noted btw thanks I was wondering how mint hid it's grub

#

I wanted to do it on my debian

languid vector
humble oracle
#

was windows the second thing in the menu?

#

sudo nano /etc/default/grub

languid vector
humble oracle
#

change grub defai;t to 2 then

languid vector
#

Okey sor

boreal stratus
languid vector
boreal stratus
#

0, 1, 2

humble oracle
#

CTRL O, enter, CTRL X, sudo update-grub

#

reboot

boreal stratus
#

number 2, (the third entry) would likely be windows

languid vector
#

Okay how do I switch keyboard input method

humble oracle
#

what's that?

languid vector
#

I can't find # on this

boreal stratus
#

check setting in mint for input method

humble oracle
#

SHIFT 3?

languid vector
#

I press shift + 3

#

It gives me £ sign

boreal stratus
#

if ur using some kind of chinese keybd maybe

humble oracle
#

weird

languid vector
#

I selected UK English

boreal stratus
#

or change Keyboard

humble oracle
#

open start menu and type "keyboard"

boreal stratus
#

in the settings

humble oracle
languid vector
#

One second

humble oracle
#

UK people are weird

languid vector
#

Oke thanks again

#

Y'all are the best

boreal stratus
errant berry
#

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

languid vector
languid vector
humble oracle
#

you always do that after any change to the grub file

languid vector
#

ohh

#

thanks again