[root] Linux dual-boot Windows

Calamares dual-boot installation

  • Firmware
    • Checklist
  • Boot mode
  • Windows preparation
  • Linux Installation
  • Revisions


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.


  • Use latest available firmware (check your vendor’s support section)
  • Disable Intel Optane memory (incompatible with Linux)
  • Disable Fake RAID option (or check archlinux wiki)
  • Enable AHCI
  • Disable Secure Boot (or check archlinux wiki)
  • Disable Windows Fast Boot, Windows hibernation and/or Windows hybrid sleep.
  • System boot method (BIOS or UEFI)

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

Boot mode UEFI vs BIOS

Computers with preinstalled Windows (Windows 10) is computers using UEFI firmware.

However your system may be configured to allow BIOS boot also labeled as Legacy, CSM(Compatibility Mode) or BIOS/MBR.

The main difference is partition layout schema used.

Partition schema

This is the original schema which has limitations on modern systems. The most notable limitation is the number of partitions which is 4 primary partitions compared to GPT which allows for 128 partitions.

  • UEFI does not work with MBR partition schema

An EFI based system uses GPT partition schema and using GRUB boot loader it is also possible to use GPT while still using the older BIOS boot method.

It is very important to choose the correct combination - otherwise Calamares installer will fail in the end when reaching the boot loader stage of the installation.

Installing in EFI mode

This requires a separate partition flagged as boot and is the default installation mode for EndeavourOS. The partition is formatted using FAT32 and usually mounted to /boot/efi.

Installing in BIOS mode

If you choose to install a system using BIOS boot mechanism you must boot the system in BIOS mode you must select manual partitioning in Calamares. Besides the usual root and possibly home you must create 32MB unformatted partition - which must be flagged as bios-boot - do not format the partition. When asked for the boot loader location - select this unformatted partition as target for the bootloader.

Windows preparation

The next parts of this section is all executed inside your current Windows installation.

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. This is done best with a registry import file.

Create a new file using Notepad with this content (e.g. utc.txt)

Windows Registry Editor Version 5.00


Open a command prompt and navigate to your desktop folder and rename the file to utc.reg

C:\Users\**username**> cd Desktop
C:\Users\**username**\Desktop> move utc.txt utc.reg

You can now import the file into the registry by double clicking the filename - accept the disclaimer to import the keys.

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 the filesystem is tainted which causes the system to mount 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

This should be an obvious step. 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 installation.


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 rewriting the $esp.

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 maintenance to avoid the system disk running full and thus making your system very hard to boot.

Other considerations is application distribution methods such as snap and flatpak both of which requires a considerable amounts a disk estate.

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

The number mentioned is just examples - they will work if you are just getting your fet wet and needs a gentle hand holding.

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 both system and graphics memory.


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. BOOT PARTITION either or - not both
    • EFI
      a. Select the unpartitioned space → Create
      b. Size → input 512
      c. Filesystem → select FAT32
      d. Mountpoint → select /boot/efi
      e. Flags → check bootOK
    • BIOS
      a. Select unpartitioned space → Create
      b. Size → input 32
      c. Filesystem → select unformatted
      d. Flags → check bios-bootOK
    a. Select the unpartitioned space → Create
    b. Size → input 2048 or the number you decided to use
    c… Filesystem → select linuxswapOK
    a. Select the unpartitioned space → Create
    b. Size → input 32768 (32G) or the number you decided to use
    d… Filesystem → select ext4
    d. Mountpoint → select / (root) → OK
    a. Select the unpartitioned space → Create
    b. Size → Use remaining
    b. Filesystem → select ext4
    d. Mountpoint → select /homeOK
  10. Next
  11. Reboot

That’s it

Enjoy …

A rewrite of my old guide for dual-booting Manjaro and Windows. The original guide can be found following this link


As a proud Linux only user i officially disavow! :laughing:

Endeavour OS installation :wink:

1 Like

Sorry - I did mention it was a rewrite?


Yep, we’re all humans :slight_smile:

Wait…actually…100101010101 :robot:

1 Like


1 Like

If I understand this correctly, by choosing manual partitioning I will end up with two EFI partitions: one for Windows 10 (which remains unchanged) and one for EndeavourOS. Will this generate any conflicts? I’ve heard that Windows officially supports only 1 EFI partition, but maybe that’s not the case anymore.

If you follow this guide that is what it does. Windows should boot fine -

Never heard this before…But anyway I used to have two EFI’s and it was fine.

EDIT : You do not need to EFI partitions. As long you don’t format the one before they can work in harmoy. :face_with_hand_over_mouth:

BTW ; Welcome (soon) to EOS! :upside_down_face:

EDIT: BACKUP! Please don’t hurt me if it goes wrong! :face_with_thermometer:

1 Like

Basically you can use only one EFI partition for all systems, provided it has enough space for the files.

Manual partitioning does not mean you have to create a second EFI partition. In manual partitioning you can choose either to use the existing EFI partition, or create a new one.

And as @OdiousImp said, if you use the existing EFI partition, do not format it, only set mount point to it.


Thanks for clarifying. What is the default behaviour of Auto partitioning? Would it use the existing Windows EFI partition or create a new one in the unallocated space?

1 Like

Use existing EFI partition. But don’t be scared of Manual Partition! It helps you understand

1 Like

Maybe a dumb question, but how to revert registry changes made by this section:

System clock
Configure your Windows installation to use UTC. This is done best with a registry import file.

Create a new file using Notepad with this content (e.g. utc.txt)

Windows Registry Editor Version 5.00


Open a command prompt and navigate to your desktop folder and rename the file to utc.reg

C:\Users\**username**> cd Desktop
C:\Users\**username**\Desktop> move utc.txt utc.reg

You can now import the file into the registry by double clicking the filename - accept the disclaimer to import the keys.

I did that as the guide suggested, but now my time goes 2 hours forward on Windows, and “time sync” option fails every time:

If you want to revert this, you can do it in the Windows Registry Editor by manually deleting those exact two keys from the Windows Registry and reboot.

1 Like

That was my idea as well, but I thought that those keys had to exist. I simply thought that this utc.reg file modified those values, not created them. Will try it out now, thanks!

I think it could be important to keep UTC settings if you work on both systems in parallel, but off hand I’m not aware, why your Windows should need to be set to UTC.

Maybe someone else can shed some light on the matter…??

After deleting those two keys and rebooting, my Time looks correct now:

Since the time zone selected is already UTC +1, I think that it should be compatible with linux. Therefore that registry script wasn’t necessary for me (I may be wrong, I am complete beginner when it comes to linux).
Thanks ivanhoe!

You are welcome.

1 Like

I am a bit confused about the partitioning part of the guide.
I have only one NVME 2TB drive, and I have Windows 11 installed on it right now.
My Disk Management looks like this (ignore external HDD):

Can’t I just select “Install alongside” option in EndeavorOS’s installer?
I wish to have 1.5TB for Linux, and remaining 500GB for Windows 11 because of specific online games that don’t work yet on Linux.

Hi @Smokus and welcome to EnOS community!

Since this is not exactly a support thread, you might want to open a new one at #arch-based-related-questions:installation for example to get proper assistance for your issue.

Alright, I am sorry. Will do that.

1 Like

No problem!
Good luck with the install!

:enos: :handshake:t5:

1 Like