Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

SOLVED Windows 10 Dual Boot but MX Linux doesn't show up

ronjnk
Forum Novice
Forum  Novice
Posts: 40
Joined: Wed Dec 19, 2018 9:36 pm

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#11

Post by ronjnk » Thu Dec 20, 2018 9:15 pm

Thank you everybody for your help and suggestions.

Stevo,,, I will wander around in BIOS and see what I can find. I did use RUFUS in Windows but I have an old Linux Lite and used that to create my UNETBOOTIN drive. But it looks like both created a proper UEFI USB stick. Thank you for your input!

BitJam...I can't tell you how much I appreciate your help. As you can see, I have some more pros making suggestions. I had no idea some of these systems bewilder the best. I feel a little better knowing I didn't do something completely stupid. :)

Dolphin Oracle...My head is spinning on that Lenovo article you passed on. I'm going to spend some time digesting all of that. In regards to the 2 commands you asked to do:

root@mx1:/home/demo# fdisk -l /dev/sda
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 8727269E-15C1-401F-85AF-40777BAE33EB

Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 567295 32768 16M Microsoft reserved
/dev/sda3 567296 293269503 292702208 139.6G Microsoft basic data
/dev/sda4 498069504 500107263 2037760 995M Windows recovery environment
/dev/sda5 293269504 359624703 66355200 31.7G Linux filesystem
/dev/sda6 359624704 464566271 104941568 50G Linux filesystem
/dev/sda7 464566272 498069503 33503232 16G Linux filesystem

Partition table entries are not in disk order.
root@mx1:/home/demo#

cat /sys/firmware/efi/fw_platform_size
64
MX qk system info.rtf
I have also attached the system info. Thank you so much for taking time with me Dolphin Oracle.

fehlix... Please give me some time to download and start the new installation and get the command responses for you. It likely will be some time tomorrow or tomorrow night at the latest. Thank you!
You do not have the required permissions to view the files attached to this post.

User avatar
svx_biker
Forum Novice
Forum  Novice
Posts: 34
Joined: Thu Dec 20, 2018 5:34 pm

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#12

Post by svx_biker » Fri Dec 21, 2018 7:10 am

Did you check with efibootmgr that the partition of MX is in front of Windows?

I had a similar beaviour on acer notebooks where I could boot the live USB in UEFI mode but after install the laptop would always start Windows. My solution was to start again with a live USB and from there change the boot oder with efibootmgr (as root).
Sometimes you also have to add the Linux EFI as trustable in the BIOS setting.

Good luck!
Machine: Acer Aspire S5-371
CPU: Intel Core i3-7100U with 8GB RAM
MX-19 Beta-2 with Kernel 4.19.0-6

ronjnk
Forum Novice
Forum  Novice
Posts: 40
Joined: Wed Dec 19, 2018 9:36 pm

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#13

Post by ronjnk » Fri Dec 21, 2018 7:39 am

Good Morning svx-biker. Thanks for jumping in with your feedback. I did wander around in BIOS last night and found under the security tab a setting called "TCG feature set up". Security chip 2.0 was enabled. I disabled it and tried various booting and it changed nothing. The computer behavior did not change whether it was enabled or disabled. So I enabled it again. But somewhere, I came across trusted keys. I have no idea what they are. I have no idea how to add a trustable Linux EFI.

I'm sorry some of this stuff is beyond me. Zero experience with some of these commands/language. I do not know how to access efibootmgr to determine its location. I also am clueless what commands are needed to enter terminal as root and monkey with efibootmgr.

The only booting order I am familiar with is in the BIOS settings where I selected USB as the first start up device the computer accesses so it looks at my live USB first. I suspect that is not the EFI boot manager you are talking about? You have some good ideas. I'm pretty convinced the system is installed but whatever little software program is in there for MX is either in the wrong place or a security feature is ignoring it. I'm thinking it's in the wrong place. Could you please advise how to check efibootmgr that the partition of MX is in front of Windows? I have not come across anything that says efi boot manager. Thanks! Ron

User avatar
svx_biker
Forum Novice
Forum  Novice
Posts: 34
Joined: Thu Dec 20, 2018 5:34 pm

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#14

Post by svx_biker » Fri Dec 21, 2018 7:54 am

Well I don't have a lenovo and can only comment from what I had to do on the acer laptops.

All these steps are under the security tab of the Setup (F2 during boot with the acer):
- First I had to set a supervisor password. This gives additional entries that are otherwise gray or unavalable
- Then I have an entry "Select an UEFI file as trusted for execution"
- There I see the HDD with a directory EFI and an entry for every System
- I selected grubx64.efi and gave it a name

Now I can reboot and the well known grub selection comes up. Currently I have on one system 3 different distros.

One important point is that the partition with the updated grub has to be the first in the efibootmgr. Just run "efibootmgr" from a terminal to check. After the first Linux install I had to switch the boot order with "efibootmgr -o1,2" or Windows would always come up.

Entering efibootmgr from any Linux (even live when booted in UEFI mode) gives something like:

Code: Select all

BootCurrent: 0000
BootOrder: 0000,0001,0002,2001 ...
Boot0000: Windows Boot Manager
Boot0001: Fedora
Boot0002: MX-18
Boot2001: EFI USB Device
...
Please note the names are just an indication but should show what to look for.
Machine: Acer Aspire S5-371
CPU: Intel Core i3-7100U with 8GB RAM
MX-19 Beta-2 with Kernel 4.19.0-6

ronjnk
Forum Novice
Forum  Novice
Posts: 40
Joined: Wed Dec 19, 2018 9:36 pm

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#15

Post by ronjnk » Fri Dec 21, 2018 8:51 am

Hi again svx biker. I did go to terminal and have the feedback for efibootmgr. I am learning so much from all of you folks. Thank you. I don't know how to change that order but I'm betting that even if MX18 was above Windows Boot Manger, windows would still boot up. But we can try to reorder. I will wander around later today in BIOS security section but I don't recall anything that gave me a choice of UEFI files. I head out to the woodlot for more thinning and will be in later this afternoon. Have a good day, Ron

Code: Select all

root@mx1:/home/demo# efibootmgr
BootCurrent: 000B
Timeout: 1 seconds
BootOrder: 000B,0000,0001,0009,000A,0008,0007
Boot0000* Windows Boot Manager
Boot0001* MX18
Boot0007* Generic Usb Device
Boot0008* CD/DVD Device
Boot0009* UEFI: PXE IP4 Intel(R) Ethernet Connection (7) I219-V
Boot000A* UEFI: PXE IP6 Intel(R) Ethernet Connection (7) I219-V
Boot000B* UEFI:  USB Disk 8.07, Partition 1
root@mx1:/home/demo# 

User avatar
asqwerth
Developer
Posts: 5162
Joined: Sun May 27, 2007 5:37 am

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#16

Post by asqwerth » Fri Dec 21, 2018 9:03 am

How come you are logged in as demo? Does that mean you are on a live system?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Paul..
Global Moderator
Posts: 2679
Joined: Sun Mar 18, 2007 6:34 pm

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#17

Post by Paul.. » Fri Dec 21, 2018 9:15 am

asqwerth wrote:
Fri Dec 21, 2018 9:03 am
How come you are logged in as demo? Does that mean you are on a live system?
I think the answer is 'yes, he is running live' because he cannot boot to his newly installed MX...and can only boot to Win10.

Asus Prime X470-Pro | AMD Ryzen 5 1400 (8 threads)
16 Gig DDR4 3000 | nVidia - GeForce GTX 750 Ti
Samsung 970 NVMe SSD | 860 500GB SSD

User avatar
fehlix
Developer
Posts: 4862
Joined: Wed Apr 11, 2018 5:09 pm

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#18

Post by fehlix » Fri Dec 21, 2018 9:26 am

ronjnk wrote:
Fri Dec 21, 2018 8:51 am
Hi again svx biker. I did go to terminal and have the feedback for efibootmgr. I am learning so much from all of you folks. Thank you. I don't know how to change that order but I'm betting that even if MX18 was above Windows Boot Manger, windows would still boot up. But we can try to reorder. I will wander around later today in BIOS security section but I don't recall anything that gave me a choice of UEFI files. I head out to the woodlot for more thinning and will be in later this afternoon. Have a good day, Ron

Code: Select all

root@mx1:/home/demo# efibootmgr
BootCurrent: 000B
Timeout: 1 seconds
BootOrder: 000B,0000,0001,0009,000A,0008,0007
Boot0000* Windows Boot Manager
Boot0001* MX18
Boot0007* Generic Usb Device
Boot0008* CD/DVD Device
Boot0009* UEFI: PXE IP4 Intel(R) Ethernet Connection (7) I219-V
Boot000A* UEFI: PXE IP6 Intel(R) Ethernet Connection (7) I219-V
Boot000B* UEFI:  USB Disk 8.07, Partition 1
root@mx1:/home/demo# 
The simplest method to check whether your installed MX18 will boot , would be this,
which was posted for a similar situation here
In summary:
- get a special helper UEFI Boot stick image from here: https://www.rodsbooks.com/refind/
- Download from https://www.rodsbooks.com/refind/getting.html The rEFInd USB flash drive image file
- extract the ZIP-file and DD-dump "refind-flashdrive-0.11.4.img" onto a small USB Stick using MX Live USB Maker (choose DD-method) or any other tool.
- boot from the rEFInd USB-stick
- You will now see a new Boot menu with all found EFI system including the MX-Linux
-Click on the one which is MX Linux
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
asqwerth
Developer
Posts: 5162
Joined: Sun May 27, 2007 5:37 am

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#19

Post by asqwerth » Fri Dec 21, 2018 9:29 am

I think you may also be able, from MX-live USB, to use the "efibootmgr -o" command to adjust the bootloader priority. [make sure you back up all your system or data first, including Windows stuff, just in case something goes wrong!]

See this: https://www.lifewire.com/change-the-efi ... gr-4028027

Read from the section captioned "How to Change the EFI Boot Order".

You now know that the order of booting BOOTLOADER priority in your system = 000B,0000,0001,0009,000A,0008,0007

0000 = Windows, and 0001 = MX18

000B = your USB disk/stick, so that should remain first, since you want your system to boot from any bootable USB device first, if detected.

Here is an example of the command you would use to change the order.

[IGNORE THIS CODE]

Code: Select all

 [IGNORE] sudo efibootmgr -o 000B,0001,0000,0009,000A,0008,0007
[/strikeout]

[POST EDITED!] OK, if you have not run the above command yet, you may wish to try instead:

Code: Select all

sudo efibootmgr -o 0001,0000,000B,0009,000A,0008,0007

Reason:

The ESP (EFI partition) is where all the bootloaders of all your distros and OSes reside. The efibootmgr does not manage which device or OS is booted first, but which bootloader on your boot device (the bootable drive) to use first. So the plan is to use MX18's bootloader, ie 0001
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
svx_biker
Forum Novice
Forum  Novice
Posts: 34
Joined: Thu Dec 20, 2018 5:34 pm

Re: Windows 10 Dual Boot but MX Linux doesn't show up

#20

Post by svx_biker » Fri Dec 21, 2018 10:38 am

ronjnk wrote:
Fri Dec 21, 2018 8:51 am
Hi again svx biker. I did go to terminal and have the feedback for efibootmgr. I am learning so much from all of you folks. Thank you. I don't know how to change that order but I'm betting that even if MX18 was above Windows Boot Manger, windows would still boot up. But we can try to reorder. I will wander around later today in BIOS security section but I don't recall anything that gave me a choice of UEFI files. I head out to the woodlot for more thinning and will be in later this afternoon. Have a good day, Ron
From your output I see that Windows Boot Manager goes in front of MX18.

What you need to do is run "efibootmgr -o1,0" from this same liveUSB.

This should be enough.
Machine: Acer Aspire S5-371
CPU: Intel Core i3-7100U with 8GB RAM
MX-19 Beta-2 with Kernel 4.19.0-6

Post Reply

Return to “Installation”