Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 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

How to make MX16 the default OS on a dual boot Windows 10 computer

User avatar
Forum Guide
Forum Guide
Posts: 2791
Joined: Sun May 27, 2007 5:37 am

Re: How to make MX16 the default OS on a dual boot Windows 10 computer

#11 Post by asqwerth » Sat Oct 28, 2017 2:21 pm

Since you have an EFI/UEFI system with Windows, you may be able to change boot order with the efibootmgr.

From MX, open terminal and run as root:

Code: Select all

The boot order of your distros/OSes will be listed, together with a serial number before each OS. For instance,
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 3002,3000,3001,2001,2002,2003
Boot0000* ubuntu HD(2,c8800,82000,a0d91f49-899b-46ac-8863-35f2d16774c4)File(\EFI\ubuntu\shimx64.efi)
Boot0001* Ubuntu HD(2,c8800,82000,a0d91f49-899b-46ac-8863-35f2d16774c4)File(\EFI\ubuntu\grubx64.efi)RC
Boot0002* Windows Boot Manager HD(2,c8800,82000,a0d91f49-899b-46ac-8863-35f2d16774c4)File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot2001* USB Drive (UEFI) RC
Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
Boot3000* Internal Hard Disk or Solid State Disk RC
Boot3001* Internal Hard Disk or Solid State Disk RC,.... etc etc etc
The above is an example from this link:
https://askubuntu.com/questions/485261/ ... efibootmgr

So let's say your Boot Order is something like:

0001 Windows
0002 MX Linux

The command to change boot order will be :

Code: Select all

sudo efibootmgr -o 0002,0001
or something like that.

You don't need "sudo" if you were already in root terminal.

I got this command from the first answer in the link set out above.

It worked to change my laptop's boot order. I gave a short account of that here: viewtopic.php?p=424211#p424211
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
Forum Regular
Forum Regular
Posts: 494
Joined: Mon Feb 22, 2016 12:26 pm

Re: How to make MX16 the default OS on a dual boot Windows 10 computer

#12 Post by asinoro » Sat Oct 28, 2017 4:16 pm

What is the outcome of this command:

Code: Select all

sudo dpkg -l | grep grub | grep ii
If your case is solved edit [Solved] to your initial post title to help other users.
Don’t forget to Backup your system
Fix your Grub

Post Reply

Return to “Installation”