LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2018, 04:39 PM   #1
Chrislw324
Member
 
Registered: Oct 2018
Posts: 40

Rep: Reputation: Disabled
Dual booting W10 and Mint goes straight to Windows.


My dual booting adventures have not been going well. The first time, I could not get my bootable usb to boot in UEFI mode so I booted into it in legacy causing me to have to change the BIOS between UEFI for W10, and legacy for Linux Mint.

I figured out how to boot into the thumb drive in UEFI mode, so I deleted the partition and tried again. I followed the directions on the video I was watching meticulously, but afterward the installation completed, my computer boots straight into windows. What is going on?
 
Old 11-19-2018, 05:11 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
UEFI, from what I know about it, as I do not use t, you have to set your BIOS for UEFI listing . So I'd try first to turn on everything UEFI in your BIOS, if that does not work, wait for someone that knows more about UEFI bootlist setup.

if you can look in /boot in windows to see files, then look fro your linux disto to make sure it is in there,
 
Old 11-19-2018, 05:20 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Hopefully just a matter of simply changing the defaut boot option. Boot into your Mint install media as "liveCD" mode, open a terminal, run these and post (all) the output.
Code:
lsblk -f -o +size
efibootmgr
 
Old 11-19-2018, 05:47 PM   #4
Chrislw324
Member
 
Registered: Oct 2018
Posts: 40

Original Poster
Rep: Reputation: Disabled
mint@mint ~ $ lsblk -f -o +size
NAME FSTYPE LABEL UUID MOUNTPOINT SIZE
sdb 7.1G
└─sdb1 vfat LINUX MINT
6257-BEFA /cdrom 7.1G
loop0 squash /rofs 2G
sda 238.5G
├─sda4 ntfs Recovery AE94A11494A0E057 1G
├─sda2 16M
├─sda5 swap fc1620f0-4d62-485c-89f5-91f5d3c17138 [SWAP] 1.9G
├─sda3 ntfs Acer 4010A00E10A00CCA 157.4G
├─sda1 vfat ESP C099-C535 100M
└─sda6 ext4 900f7f67-4fca-4d1c-a717-cf593e08e6f8 78.1G
mint@mint ~ $ efibootmgr
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0000,0002,2001,2002,2003
Boot0000* Windows Boot Manager
Boot0001* Unknown Device:
Boot0002* Linux
Boot0004* EFI Network
Boot0005* EFI Network
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
mint@mint ~ $ ^C

Last edited by Chrislw324; 11-19-2018 at 05:49 PM. Reason: messed up
 
Old 11-19-2018, 06:51 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Code:
mint@mint ~ $ lsblk -f -o +size
NAME   FSTYPE LABEL    UUID                                 MOUNTPOINT   SIZE
sdb                                                                      7.1G
└─sdb1 vfat   LINUX MINT
                       6257-BEFA                            /cdrom       7.1G
loop0  squash                                               /rofs          2G
sda                                                                    238.5G
├─sda4 ntfs   Recovery AE94A11494A0E057                                    1G
├─sda2                                                                    16M
├─sda5 swap            fc1620f0-4d62-485c-89f5-91f5d3c17138 [SWAP]       1.9G
├─sda3 ntfs   Acer     4010A00E10A00CCA                                157.4G
├─sda1 vfat   ESP      C099-C535                                         100M
└─sda6 ext4            900f7f67-4fca-4d1c-a717-cf593e08e6f8             78.1G
mint@mint ~ $ efibootmgr
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0000,0002,2001,2002,2003
Boot0000* Windows Boot Manager
Boot0001* Unknown Device: 
Boot0002* Linux
Boot0004* EFI Network
Boot0005* EFI Network
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
mint@mint ~ $
Much easier to read - pls use [code] tags in future - click the "Advanced" button, then "#".
To make sure it's ok, get into the EFI boot menu, and select that "Linux" entry - if all ok, run this to change the default boot order.
Code:
efibootmgr -o 0002,0000,2001,2002,2003
Win updates may revert this, so be prepared to repeat in future.
 
Old 11-19-2018, 07:06 PM   #6
Chrislw324
Member
 
Registered: Oct 2018
Posts: 40

Original Poster
Rep: Reputation: Disabled
"To make sure it's ok, get into the EFI boot menu, and select that "Linux" entry"

I'm not sure what you mean here, but I booted into my Linux flash drive, ran that command, and it still boots right into windows.
 
Old 11-19-2018, 07:13 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Chrislw324 View Post
"To make sure it's ok, get into the EFI boot menu, and select that "Linux" entry"

I'm not sure what you mean here, but I booted into my Linux flash drive, ran that command, and it still boots right into windows.
he means run that on the cli it is switching the boot order.
Code:
your boot order
BootOrder: 0000,0002,2001,2002,2003
Boot0000* Windows Boot Manager
Boot0001* Unknown Device: 
Boot0002* Linux
new boot order 

efibootmgr -o 0002,0000,2001,2002,2003
 
Old 11-19-2018, 07:17 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
You mentioned you used to change from EFI to legacy mode - that is done from the EFI menus; what used to be called the BIOS menus. There will be the same boot list in there as efibootmgr gave you. Some (most) systems also have a boot menu key on power-up; try F9 or F10.
As for the command try it as follows - if that still doen't work, you'll have to dig deeper in the EFI options; maybe a boot virus protection, or TPM, or safe-boot, or ...
Code:
sudo efibootmgr -o 0002,0000,2001,2002,2003
 
Old 11-19-2018, 07:41 PM   #9
Chrislw324
Member
 
Registered: Oct 2018
Posts: 40

Original Poster
Rep: Reputation: Disabled
It's still going right into windows.

I did run the command with sudo originally. I don't remember what the output was, but I didn't get an error afterwards.

Secure boot is turned off, and I turned off TPM. Still nothing.

I don't know what the boot order should be in the bios. I see windows boot manager, and then my Kingston SSD.
I tried them both ways.

I've pretty much given up tonight.
 
Old 11-19-2018, 08:35 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I'd consider removing power/data to internal drive and then boot from a uefi aware Linux distro then install to this flash drive.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to dual boot with W10 on pre-installed Ubuntu laptop gustav1979 Linux - Newbie 6 04-18-2018 07:14 PM
[SOLVED] Grub menu lost on dual-boot W10/FC25 2-in-1 laptop cmspooner Fedora 15 02-08-2017 02:24 PM
[SOLVED] Ubuntu 14.04 w/kernel 4.4 on a dual boot system (Linux/W10) grigory Ubuntu 5 08-20-2016 11:57 PM
when linux finishes booting up it goes straight to a blank screen. Creeps Linux - Newbie 28 12-27-2005 08:31 PM
Can't get linux (Disto SUSE 8.2 and XP to dual boot, it goes straight into Linux unrealhippie Linux - Distributions 15 05-07-2004 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration