[HowTo] Dual-boot Manjaro - Windows 10 - Step by Step

Dual boot - Step by Step


  • Target systems
  • Firmware
    • Checklist
  • Windows preparation
  • Manjaro installation
  • Revisions

Target systems UEFI


Computers with preinstalled Windows (Windows 10) is computers using UEFI firmware. This guide is a generic guide targeted at UEFI installations.

However some of the guide does apply even if you are using a BIOS/MBR setup.

:exclamation: DO NOT mix UEFI with MBR partition scheme.

To ensure a successful dual-boot installation using Windows and Manjaro there are a few steps to be taken.

Firmware


The firmware is a crucial part of your system as it controls aspects on how the Linux kernel will interact with your the hardware. Some system firmware is setup in such a way that a Linux system does not recognize disk devices.

Checklist

  • :white_small_square: Use latest available firmware
  • :white_small_square: Disable Intel Optane memory
  • :white_small_square: Disable RAID option
  • :white_small_square: Enable AHCI
  • :white_small_square: Disable Secure Boot
  • :white_small_square: Disable Fast Boot
  • :white_small_square: Disable CSM (Legacy/MBR) boot

Some systems require the user to set a firmware password before more advanced options becomes available.

Windows preparation


Filesystem check

Linux is picky when it comes the Windows filesystem. Any inconsistencies in the filesystem and Linux will mount the filesystem read-only. The Windows command to fix the file system is

chkdsk c: /F

System clock

Configure your Windows installation to use UTC.

Disable Windows features

Do you plan on doing read/write on your Windows partition? Disable Windows options like

  • Fast Startup
  • Hybrid Sleep

Windows Hybrid Sleep defaults to enabled on desktop computers and disabled for laptop computers.

Why should I do that? When Windows uses the above options it leaves the file system in a dirty state. When the file system is in this state the Linux filesystem tool ntfs-3g mounts the file system read-only, effectively blocking you from making changes to your files on the Windows partition. To disable Windows Fast Startup you need to access the Windows Control Panel. You find it by clicking on Windows Start button → type control → select Control Panel desktop app.

In the Control Panel app

  1. Click on System and Security
  2. Click on Power Options
  3. Click on Choose what power buttons do
    a. Click on Change settings that are currently unavailable
    b. Uncheck the option Turn on fast startup
  4. Click on Save Changes

If for any reason you want to turn off hibernation completely

  • Open command prompt as Administrator
  • Input powercfg /h off and press Enter

Clean your Windows system

If you are like most users, your system came with Windows and your system has since been upgraded to Windows 10 (which leaves the old system behind). Major version upgrades - like 1804 - also leaves the old system behind and therefore a tremendous amount of dead data on your system that needs to be cleaned.

  1. Open Windows Explorer File manager and select My Computer.
  2. Right click on you local drive C:Properties
  3. Click on Disk Cleanup button → wait
  4. Click on the Cleanup Systemfiles → wait
  5. check all items in the list (including the old Windows installation) → OK
  6. Wait → wait until finished.
  7. Close all windows

Backup your documents

You can skip this but it is not recommended.
Backup any data you might want to keep to an external location of any kind.

Partition cleanup

If you have experimented a lot and/or had a failed installation and/or you have a messy partition scheme you will have to manually delete those extra partitions with the Windows Disk Manager tool. Be careful that you do not delete partitions required by Windows or by an OEM recovery tool.

Disk space

Use Windows disk tool to make room for a secondary Linux installation because Windows is the best tool to release space.

  1. So boot into Windows.
  2. Rightclick on Start → select Disk Manager
  3. In Disk Manager - rightclick on your Windows drive C: → select Shrink partition
  4. A reasonable size to release - depending on available space - would be 32768-65536 MiB (32-64GiB) or more.
  5. When you are ready click Shrink

When you are done you are ready for the Manjaro installation.

Manjaro Installation


This rest of the guide is only Manjaro UEFI installation using Calamares.

Some of the choices presented here can be argued and the following two points I would like to address beforehand.

Auto partitioning vs Manual partitioning

Some will argue that one should select the auto partition in the Disk preparation section of the installer.

The strategy described here ensures no messing with the Windows EFI partition and therefore no problems with Windows removing the Manjaro bootloader.

Separate root and /home

Separation of the system root and the home folder is not required but is another benefit of using manual partitioning.

The separation of your personal data from the system - using a designated partition for the system's home folder makes it a bit easier to maintain your system. It is no secure replacement for a backup strategy it is just a handy solution should you decide to reinstall your system.

One pitfall here is making the root partition too small - using the recommended minimum size requires you to do regular system maintenanceto avoid the system disk running full and thus making your system very hard to boot.

Depending on your available disk space your system root could be from 20-64GiB. The remaining is assigned to your personal data.

Swap size

Setting a swap partition is the better choice because a little swap is - in most cases - better than none.

The chosen size depends on your system, available RAM and disk type. Use the suggested size of 2 GiB or research and adjust accordingly to system, taste and need.

If you plan on using hibernation ensure the swap can hold system and graphics memory.

Manjaro installation


Now that you have partition sizes defined let start and the numbers are MB which is the unit Calamares makes use of

  1. Reboot your computer to the live USB media.
  2. Launch the graphical installer - it is named Calamares.
  3. Follow the guide until you reach the Disk selection/preparation
  4. Select Manual partitioningNext.
  5. Select the correct disk selected - should be easy to see.
  6. EFI PARTITION
    Select the unpartitioned space → Create
    a. Size → input 512
    b. Filesystem → select FAT32
    c. Mountpoint → select /boot/efi
    d. Flags → check bootOK
  7. SWAP PARTITION
    Select the unpartitioned space → Create
    a. Size → input 2048
    b. Filesystem → select linuxswapOK
  8. ROOT PARTITION
    Select the unpartitioned space → Create
    a. Size → input 20480 (min. recommended size)
    b. Filesystem → select ext4
    c. Mountpoint → select / (root) → OK
  9. HOME PARTITION
    Select the unpartitioned space → Create
    a. Size → Use remaining
    b. Filesystem → select ext4
    c. Mountpoint → select /homeOK
  10. Next
  11. Continue with the guide and when finished do not reboot.
  12. Open a terminal
  13. Input efibootmgrEnter
  14. Verify the BootOrder - you should have a manjaro entry and the corresponding number should be first in the BootOrder

Before you reboot


Oh No - It boots directly to Windows - What do I do?

Just boot to Windows.

If that not do the trick then @gohlip has a goldmine of tips to get grub bootloader right.

Revisions


If you discover an error, due to me not being of the native English tongue or it should be an error in the instructions - please ping me. Thank you :slight_smile:

  • Revision for Calamares 3.2.22.r7667
  • Major revision March 13. 2020
  • Initial guide July 2018
81 Likes
UEFI Boot Dual Boot Issues
[SOLVED] Trying to Install Manjaro with Windows on the same drive
Installing Windows 10 alongside Manjaro
Manual Partitioning - boot, esp flag
How to access windows drive as read-write from manjaro gnome
Efibootmgr does not show manjaro after install (dual boot uefi)
Unable to Dual Boot Windows 10/Manjaro
Partition "in use" trouble prevents dual-boot install on new laptop
Manjaro grub kernel panic
Backup, Install, Reinstall, Dual Boot...OH BOY
Manjaro bootet nach der Installation nicht
Manjaro bootet nach der Installation nicht
[TOC] Manjaro Installation
Windows 10 & Manjaro Dual Boot Partition Scheme.
Manjaro on SSD?
Opensuse GRUB Bootloader problem with Manjaro
[SOLVED] Problems with boot
Windows Manjaro common file area
Installing windows alongide my Manajaro installation
Tried to install Manjaro now I can't get into anything.
Installing manjaro in a place of ubuntu
Instalation stopped at 10%
Dual boot windows 10 / manjaro 18
Improving the Manjaro installer for dual-booting with Windows 10 and UEFI
Install on Secondary Drive Partition With Windows
Issues with grub and efibootmgr while dual booting
Dual system installation after Windows 10
Error during boot
Dual booting problems
Question about dual-booting
Rights on second disk
Manjaro long installation time
Which Manjaro version should I use?
Help with dual booting with windows 10
Installation with disk encryption, can't boot
Win10 and Manjaro on different disks - boot problem
Reinstalling Manjaro to fix boot issues
Can't wake with keyboard
Windows 10 EFI Dual Boot: Boot directly to windows
[SOLVED] Problem in removing dual-boot
Dual-Boot & encrypted /root but non-encrypted /boot/efi: GRUB still asking for password
Why is my /boot/efi partition empty?
need help setting up Dual-Boot on separate hard drives
Partitions not working
How to - Switch from legacy to UEFI?
Strange problem accessing NTFS folders
Surface Pro 4 Win10 + Manjaro on uSD
I can't install manjaro xfce alongside my windows
Surface Pro 4 Win10 + Manjaro on uSD
Multiple EFI partitions after dual booting
Surface Pro 4 Win10 + Manjaro on uSD
Can't manage to boot on grub even with tutorials
GRUB not loading after new installation
Why dont i have write access to my mounted windows drive?
Manjaro/Grub disappearing at random from dual-boot UEFI system?
Triple boot with existing (windows 10 + Ubuntu) dual boot
Cannot install Manjaro Gnome Dualboot [SOLVED]
Manjaro not booting again
Manjaro KDE first boot problem
Not a manjaro problem , but still need help...
Unable to install - "there are no partitions to install on"
Setup Manjaro Windows Dualboot
HDD content not editable
Dual booting with Windows 10 build 1903 in Dell
Can't install from live usb - no disk appears
Install Manjaro on Surface Book 2 13" GTX1050
Efi partition location of manjaro in dual boot installation with windows 10
Multiple entries in bios
Вопрос по установке)
When I install Manjaro alongside Windows 10, should I mount /boot/efi at the existing efi parition?
Win 10 + Manjaro dual boot on an Alienware area 51 R2
Optimal 2 drive partitioning during installation
Moving to Manjaro Architect with dual boot with Windows UEFI
Switching to nonfree drivers from free after install?
Dual Booting|Grub Bootloader|Windows Bootloader
Installation Error with cross-disc Installation
Dual boot win10 & Kubuntu
Trying to clear up some things before I install Manjaro
Can’t Boot gparted live USB
Manjaro not booting after BIOS reset
How do I install Manjaro on an SSD and other partitions on another HDD?
Can't install from DVD or USB// Black Screen on Boot
Grub can't see W10 UEFI
can't install manjaro from usb on dell inspiron laptop
Trying to install Manjaro in Lenovo ideapad S145 with Windows [Solved]
Partition setup for dualboot with Windows 10
Partition setup for dualboot with Windows 10
Windows dual boot, new install, Failed to start Load Kernel Modules.
[SOLVED] Installing/partitioning Manjaro, Dell Inspiron 3583
Windows 10 doesn't appear in boot manager after dual-boot install
How i can create a Dual boot, starting from Manjaro, with Windows 10
Unable to access windows 10 after dual boot manjaro/windows
Windows 10 not showing in Grub
Manjaro Install Forensics
Cannot [dual] boot into Manjaro on BIOS/MBR system
Cannot [dual] boot into Manjaro on BIOS/MBR system
Windows 10 Does not load after Manjaro Installation
[SOLVED] Cannot boot Manjaro after Windows Update 'error: unknown filesystem' 'Entering rescue mode'
UEFI/BIOS Logo and OS Selection weird graphics
After Manjaro reboot the Windows bootmanager disappears (Dualboot)
Manjaro Install Forensics
Manjaro 18.1.5 boot freeze on TLP (MSI Gl62m 7Rex)
What are the things to remember when installing and updating Manjaro (KDE)?
Error while installing XFCE in dual boot mode
Unable to install Linux Manjaro.
Unable to click on icons on screen
Maintaining storage drive with parallel boot
can't install manjaro from usb on dell inspiron laptop
Windows nuked my EFI partition
Migrate Manjaro KDE files, applications, and settings to SSD with Windows 10 on it.
HP Probook 455 6G won't boot to installer.
Installing Manjaro KDE on a already installed windows 10 Lenovo idealpad s340
Manjaro oder Mint als Primärsystem?
RE: Manual Partitioning - boot, esp flag
Boot/efi
Dual Boot Windows 10 and Manjaro KDE with separate physical drives
Flickering elements when hovering with cursor
Can't install Manjaro on UEFI Mode.
Need support installing Manjaro on SSD alongside Windows.
Manjaro openbox kurarken disk bölümleme hatsı alıyorum
Question about boot options on fresh dual-boot system
No grub after installation alongside Win10
Dual Boot Windows 10 and Manjaro Gnome
can't install manjaro, screen goes black
PC Boots to Windows Boot Manager instead of GRUB
Best method of installing windows after installing Manjaro?
Virtualizing Windows-10 from manjaro.
instaler manjaro kde à côté de windows 10 sur le même ssd
Network adapter shows wi-fi networks but doesn't connect.
Manjaro Gnome system destroyed during routine update, and restored
Bootloader does not install with dual boot
Manjaro installation auf ACER Travelmate Bootprobleme
Building dual boot Manjaro / Ubuntu on factory-made single directory EFI Ubuntu laptop
Installing dual boot in SSD and HDD
Many problems, dual-boot not working etc...
Can not boot Manjaro after kernel update
[SOLVED] Calamares throws Installation Failed
[SOLVED] Calamares throws Installation Failed
[solved] Dual boot with 8.1 Win
Installing Manjaro on two separate HDDs
Install Manjaro alongside Windows and Ubuntu 20.04
Install Manjaro alongside Windows and Ubuntu 20.04
Help with ERROR: nvidia-settings could not find the registry key file.
I broke my windows bootloader
Can't access BIOS with grub boot loader installed in Windows/Manjaro dualboot system
Dualboot Manjaro KDE with Windows 10 Insider builds - what to expect
Can't update any packages after fresh install
Manjaro slow boot/Desktop manager hang with Windows SSD connected
Install Manjaro over Mint with Win10 dual boot
EFI Boot Manager messed up - how to fix from live session?
[SOLVED] Calamares throws Installation Failed
Windows 10 Boot Menu entry disappeared after Manjaro update. (dual boot issue)
DualBoot Win10 & Manjaro - Launching Grub & adding Windows to the List
Want to remove Windows and do a fresh install
Boot drive not being detected by BIOS, even though it was with windows installed.
Dual boot with Win10 - installed from LiveUSB, but can't boot without that USB
Manjaro dual boot with windows 10 ?
Ethernet doesn't work on fresh install
[SOLVED] NTFS in read-only mode
Former Sometime Ubuntu/Mint User Ready for Manjaro
XPS 15 7590, kernel install incomplete
How do I install manjaro xfce over ubuntu in win 10 dual boot?
Dual boot with Windows 10 + Manjaro doesn't show up a grub menu
Windows Function Update wont work UEFI Patition with GRUB
How do I boot into Manjaro Mate?
[SOLVED] Grub issues with GUID partition table warnings in dual boot setup
X1 extreme i5, so far I could not get bumblebee to work
Bspwm install won't go live

Thanks for the write up, I’m sure this’ll be linked to many a time.

1 Like

Awesome tutorial @linux-aarhus. I hope you don’t mind, I did a minor grammar and spelling revision. I did not change your directions in any way. Just a minor cosmetic polishing. I hope you are not offended.

3 Likes

What if you select the left disk? :rofl:
Maybe you better set to “correct disk” instead?
I would have corrected myself, but I am too cautious on editing others’ wikis nowadays… :zipper_mouth_face:

1 Like

Thank you for your editorial suggestions.

I am Danish and English is my second language.

Though it has been in use since 4. grade (my 11. year) and now, at my 59. year, it is not getting near perfect.

So thank you for your contribution. :smile:

5 Likes

Is it on purpose that it is suggested to create a second/seperate ESP for manjaro ?

Yes it is.

I do a lot of support in our local community - mostly Ubuntu - and I have noted that a lot of issues strive from the fact that Windows thinks their $esp is theirs.

I have explained why beforehand

The cost of the extra $esp is minimal compared to the benefits.

The benefit is - you don’t mess with your Windows partition. Manjaro creates a pointer to the Windows Bootloader and under no circumstances are your Windows boot entry nor your Manjaro boot entry going to dissappear in an update.

You can of course use the existing bootloader - but you are asking for all kind of troubles.

2 Likes

Mk - I was guessing it might have something to do with windoze shredding the bootloader or something, but wasnt sure.

OP has edited in first post to include my link in section [Oh No - It boots directly to Windows]
Appreciate the inclusion. However, instead of booting up after installation to find it boots only to windows, we can, after Manjaro installation, and still at livecd OS find out if there could be any problem.

The following is done at livecd terminal, after installation is completed and applies only to UEFI installation.

efibootmgr

Is there an entry for manjaro and at top of the bootorder? [1]
If none, continue with the following commands.
Lets say the root partition (no separate boot to keep it simple here) is sda5 and the $esp is sda2

sudo mount /dev/sda5 /mnt
sudo mount /dev/sda2 /mnt/boot/efi
sudo cp /mnt/boot/grub/x86_64-efi/core.efi /mnt/boot/efi/EFI/boot/bootx64.efi
sudo efibootmgr -c -d /dev/sda -p 2 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"

Verify again with “efibootmgr” that ‘manjaro’ is now listed and at top of bootorder.

Good luck.

[1] - It is still possible to have the manjaro entry listed and still boot to Windows. In that case, see the link and it is possible that the computer make and model has some difficult setup. See the [Some diificult UEFI setup] in the link to fix it.

4 Likes

Thank you!

I have modified the post to include ^^^^ - it is valuable information and I really appreciate your knowledge in this specific area.

Once again my thanks to you!

2 Likes

I guess this was a typo?
Should be

sudo mount /dev/sda2 /mnt/boot/efi

?

1 Like

Yes. Thanks. Corrected above.
Cheers.

Frede, your English skills, including grammar, have greatly improved over the past couple years. It speaks highly of your motivation. If only more of us had your enthusiasm! :+1:

3 Likes

I would also like to suggest PLOP for computers that do not support live USB booting. I have tested it out on Windows XP/7 and it works just fine. Just run the BAT file and it will do its thing.

22 posts were split to a new topic: Dual boot tutorial - a question

This guide is very good, the idea of separate EFI is a nice solution for preventing possible bootloaders’ wars. However, some things should be taken into account:

  1. The second ESP partition may become visible in Windows, and this is obviously not a good thing, so one might need to hide it with unassigning the drive letter in Windows’ Disks utility.
  2. This is something really important. In case of user’s decision to make a reinstall of Windows such user should not delete its ESP. Otherwise Windows fill find Manjaro’s one during the installation and make use of it.
1 Like

Stupid question: I am installing Manjaro on a new laptop with Win10 installed on it. Wanted to keep the Win10 install since the SSD is large enough. Following the guide I realize that the current installer does not automatically create extended partitions. So if I follow the guide as it is, I end up with 5 partitions (Windows EFI, Windows NTFS, Manjaro EFI, Manjaro EXT4 root, Manjaro Swap) which is more primary partitions than possible. Is it me doing something wrong or the guide is slightly imprecise here? Didn’t use Windows for over 10 years and therefore always used the Legacy mode in UEFI machines, so I’m kind of a newbie here. :slight_smile:

That is a limitation of MBR partition schema.

But on a new Win10 laptop this should not pose a problem as Windows 10 uses GPT partitioning.

If you are using Legacy boot or CSM as it is also called the partition schema will be MBR as this (probably - no knowledge) will be what the Windows installer will choose.

Booting the system without CSM - pure UEFI - should make the Windows installer choose GPT.

Well, the installer reports it to be a problem. It is a Thinkpad X250, so it is 4 years old (it’s just new for me since I bought it recently :smiley:). Any idea how I should adapt the guide to work with the MBR partition table? Thanks!

Never tried - but as MBR has a limitation of four on primary partitions you need to keep the partition count below four.

You should not need to create an EFI partition.

Using a swapfile instead of a swap partition will further decrease the needed partitions.

Forum kindly sponsored by