CachyOS Installation Desktop/Laptop
Before you begin
Section titled “Before you begin”Installation Methods
Section titled “Installation Methods”Manual Partitioning
Section titled “Manual Partitioning”UEFI/GPT
Section titled “UEFI/GPT”The partition table for each boot manager varies. Please follow the correct instructions for each.
-
Boot into the ISO and click the Launch Installer button
-
Set the preferred Language and Region/Timezone
-
Configure Keyboard Layout
-
Select Manual partitioning
-
Create a new partition with the following:
-
Size: 2048MiB
Section titled “Size: 2048MiB” -
Filesystem: FAT32
Section titled “Filesystem: FAT32” -
Mount point: /boot
Section titled “Mount point: /boot” -
Flags: boot
Section titled “Flags: boot”
-
-
Create another partition for root:
-
Size: At least 20000MiB
Section titled “Size: At least 20000MiB” -
Filesystem: Any, refer Filesystem
Section titled “Filesystem: Any, refer Filesystem” -
Mount point: /
Section titled “Mount point: /” -
Flags:
Section titled “Flags:”
-
-
Double check that Install boot loader on: is pointing to /boot
-
Select the Desktop Environment of choice, see Desktop Environments.
-
Customize which packages should or should not be installed during the installation process.
-
Setup login credentials.
-
Review the installation summary on the Overview Page carefully. Proceed with the installation by clicking on Install Now if everything looks correct. Otherwise, go back and make any necessary changes.
-
Boot into the ISO and click the Launch Installer button
-
Set the preferred Language and Region/Timezone
-
Configure Keyboard Layout
-
Select Manual partitioning
-
Create a new partition with the following:
-
Size: 2048MiB
Section titled “Size: 2048MiB” -
Filesystem: FAT32
Section titled “Filesystem: FAT32” -
Mount point: /boot
Section titled “Mount point: /boot” -
Flags: boot
Section titled “Flags: boot”
-
-
Create another partition for root:
-
Size: At least 20000MiB
Section titled “Size: At least 20000MiB” -
Filesystem: Any, refer Filesystem
Section titled “Filesystem: Any, refer Filesystem” -
Mount point: /
Section titled “Mount point: /” -
Flags:
Section titled “Flags:”
-
-
Double check that Install boot loader on: is pointing to /boot
-
Select the Desktop Environment of choice, see Desktop Environments.
-
Customize which packages should or should not be installed during the installation process.
-
Setup login credentials.
-
Review the installation summary on the Overview Page carefully. Proceed with the installation by clicking on Install Now if everything looks correct. Otherwise, go back and make any necessary changes.
-
Boot into the ISO and click the Launch Installer button
-
Set the preferred Language and Region/Timezone
-
Configure Keyboard Layout
-
Select Manual partitioning
-
Create a new partition with the following:
-
Size: At least 100MiB
Section titled “Size: At least 100MiB” -
Filesystem: FAT32
Section titled “Filesystem: FAT32” -
Mount point: /boot/efi
Section titled “Mount point: /boot/efi” -
Flags: boot
Section titled “Flags: boot”
-
-
Create another partition for root:
-
Size: At least 20000MiB
Section titled “Size: At least 20000MiB” -
Filesystem: Any, refer Filesystem
Section titled “Filesystem: Any, refer Filesystem” -
Mount point: /
Section titled “Mount point: /” -
Flags:
Section titled “Flags:”
-
-
Double check that Install boot loader on: is pointing to /boot/efi
-
Select the Desktop Environment of choice, see Desktop Environments.
-
Customize which packages should or should not be installed during the installation process.
-
Setup login credentials.
-
Review the installation summary on the Overview Page carefully. Proceed with the installation by clicking on Install Now if everything looks correct. Otherwise, go back and make any necessary changes.
MBR/BIOS
Section titled “MBR/BIOS”-
Boot into the ISO and click the Launch Installer button
-
Set your preferred Language and Region/Timezone
-
Configure your Keyboard Layout
-
Select Manual partitioning
-
Create a new partition with the following:
-
Size: At least 20000MiB
Section titled “Size: At least 20000MiB” -
Filesystem: Any, refer Filesystem
Section titled “Filesystem: Any, refer Filesystem” -
Mount point: /
Section titled “Mount point: /” -
Flags:
Section titled “Flags:”
-
-
Double check that Install boot loader on: is pointing to your boot drive e.g: /dev/sda
-
Pick the Desktop Environment you’d like to use, see Desktop Environments.
-
Select the specific packages you wish to install from the provided list, and deselect any that you do not require.
-
Setup your login credentials.
-
Review the installation summary on the Overview Page carefully. If all the settings look correct for you, proceed with the installation by clicking on Install Now. Otherwise, go back and make any necessary changes.
-
Boot into the ISO and click the Launch Installer button
-
Set your preferred Language and Region/Timezone
-
Configure your Keyboard Layout
-
Select Manual partitioning
-
Create a new partition with the following:
-
Size: At least 2048MiB
Section titled “Size: At least 2048MiB” -
Filesystem: FAT32
Section titled “Filesystem: FAT32” -
Mount point: /boot
Section titled “Mount point: /boot” -
Flags: boot
Section titled “Flags: boot”
-
-
Create another partition for root:
-
Size: At least 20000MiB
Section titled “Size: At least 20000MiB” -
Filesystem: Any, refer Filesystem
Section titled “Filesystem: Any, refer Filesystem” -
Mount point: /
Section titled “Mount point: /” -
Flags:
Section titled “Flags:”
-
-
Double check that Install boot loader on: is pointing to your boot drive e.g: /dev/sda
-
Pick the Desktop Environment you’d like to use, see Desktop Environments.
-
Select the specific packages you wish to install from the provided list, and deselect any that you do not require.
-
Setup your login credentials.
-
Review the installation summary on the Overview Page carefully. If all the settings look correct for you, proceed with the installation by clicking on Install Now. Otherwise, go back and make any necessary changes.
Erase Disk
Section titled “Erase Disk”The “Erase Disk” Option in Calamares will wipe the selected disk and install CachyOS to the target.
-
Boot into the ISO and click on Launch Installer
-
Select the preferred Boot Manager. Check the Boot Managers section for more information.
-
Set the preferred Language and Region/Timezone
-
Configure Keyboard Layout
-
Select Erase Disk and choose a Filesystem.
-
Select the Desktop Environment of choice, see Desktop Environments.
-
Customize which packages should or should not be installed during the installation process.
-
Setup login credentials.
-
Review the installation summary on the Overview Page carefully. Proceed with the installation by clicking on Install Now if everything looks correct. Otherwise, go back and make any necessary changes.
Dual Booting Windows and CachyOS
Section titled “Dual Booting Windows and CachyOS”-
Prerequisites
-
Disable Windows Fast Startup and Hibernation
- Open Windows Powershell as Administrator and execute the following command:
Reboot the system to make sure the changes take effect.
Terminal window powercfg /H off
- Open Windows Powershell as Administrator and execute the following command:
-
Windows BitLocker must be disabled
- Checking if BitLocker is enabled:
Open a Command Prompt as administrator and execute the following command manage-bde -status
If Encryption Method shows as
None, then BitLocker is disabled. - Checking if BitLocker is enabled:
-
Secure Boot must be disabled.
-
A +30GB empty partition
- Guide on how to shrink a Windows partition:
- Press
Win + R, typediskmgmt.msc, and press Enter to open Disk Management. - Identify your main Windows partition (usually C:) and right-click on it.
- Click on
Shrink Volume...and specify at least 30720MB (30GB) and click onShrink.
- Press
- Guide on how to shrink a Windows partition:
-
Booteable USB with CachyOS
- Refer to the Creating a Bootable CachyOS USB Drive section.
We need to copy the Windows EFI binaries to the Linux EFI partition so that the boot manager can recognize them.
-
Locate the Windows EFI partition with
lsblkExecute this command in the terminal lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINTExample output NAME FSTYPE SIZE MOUNTPOINTzram0 15.3G [SWAP]nvme0n1 476.9G├─nvme0n1p1 vfat 100M├─nvme0n1p2 16M├─nvme0n1p3 ntfs 234.4G├─nvme0n1p4 ntfs 830M├─nvme0n1p5 vfat 2G /boot└─nvme0n1p6 btrfs 239.6G /var/tmpEFI partitions are almost always formatted as
FAT32/vfat. Sincenvme0n1p1does not have a Linux mount point, we can assume that this partition is the Windows EFI partition. -
Temporarily mount the Windows EFI partition
Terminal window sudo mkdir /mnt/WinBootsudo mount /dev/nvme0n1p1 /mnt/WinBoot # Replace `nvme0n1p1` with the name of the Windows EFI partition. -
Copy the EFI binaries from the Windows EFI partition to the Linux EFI partition:
Terminal window sudo cp -r /mnt/WinBoot/EFI/Microsoft/ /boot/EFI -
Unmount the previously mounted partition, and Windows should appear in the boot menu on the next startup.
Terminal window sudo umount /mnt/WinBootsudo rm -r /mnt/WinBoot
GRUB uses os-prober to automatically detect the Windows EFI partition and add it to the boot menu.
-
Install and execute os-prober
Terminal window sudo pacman -S os-probersudo os-prober -
Enable os-prober in the GRUB configuration file
Press CTRL+S to save and CTRL+Q to exit from Micro sudo micro /etc/default/grub# /etc/default/grub# Probing for other operating systems is disabled for security reasons. Read# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this# functionality install os-prober and uncomment to detect and include other# operating systems.GRUB_DISABLE_OS_PROBER=falsesudo grub-mkconfig -o /boot/grub/grub.cfgWindows should now be added to the boot menu.