Computers with preinstalled Windows (Windows 10) is computers using UEFI firmware. This guide is a generic guide targeted at UEFI installations.
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.
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.
Some systems require the user to set a firmware password before more advanced options becomes available.
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
Configure your Windows installation to use UTC.
Do you plan on doing read/write on your Windows partition? Disable Windows options like
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
If for any reason you want to turn off hibernation completely
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.
You can skip this but it is not recommended.
Backup any data you might want to keep to an external location of any kind.
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.
Use Windows disk tool to make room for a secondary Linux installation because Windows is the best tool to release space.
When you are done you are ready for the 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.
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.
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.
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.
Now that you have partition sizes defined let start and the numbers are MB which is the unit Calamares makes use of
efibootmgr
→ EnterJust boot to Windows.
[quote="ManjaroBlack, post:1, topic:56290"]
bcdedit /set {bootmgr} path \EFI\manjaro\grubx64.efi
If that not do the trick then @gohlip has a goldmine of tips to get grub bootloader right.
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 :)