githubEdit

linuxArch / Derivatives

1. Prerequisites:

Before installation, you’ll need the following:

2. Installation Media Creation:

After downloading the ISO of your preferred distro, you will need to flash it to a USB drive to boot from it and install the OS. You can use tools such as Balena Etcher, Rufus, or other similar software to burn the ISO.

If you haven’t downloaded the ISOs yet, here’s where you can get them.

  1. Select “ISO Image” and choose your distro’s ISO.

  2. Insert your USB drive.

  3. Select the correct Partition Scheme (GPT for modern systems).

  4. Click Start and wait for it to finish.

  5. Safely eject the USB.

3. Partitioning for Dual Boot:

If you are trying to dual boot Linux alongside Windows, you will need to leave some unallocated space for the installer to detect and use. A minimum of 60 GiB is recommended for the Linux partition. If you plan on playing multiple large games, you may want to allocate even more space, as games installed on the Windows (NTFS) partition generally won’t work on Linux.

3.1 Steps:

To create a partition, open Disk Management, then right-click on your partition or drive. If you want to share the same SSD between two operating systems, right-click on the C: partition and select Shrink Volume. In the field Enter the amount of space to shrink in MB, enter the size you want to allocate to Linux and click Shrink.

After shrinking, you will see a black unallocated space of the same size. Do not create a new volume, leave it unallocated. Once confirmed, you can exit Disk Management and continue to the next step.

circle-info

If you are not confident with partitioning and are worried you might mess something up, then take a screenshot of the Disk Management screen so you can identify which partitions are new and can be safely removed.

4. Installation Steps:

4.1 Booting from the Installation USB:

Assuming you have disabled Secure Boot, if you have not, hold the F2 key and press the Power button, keeping F2 held until you enter the BIOS screen. Inside the BIOS, go to the Security tab, turn off Secure Boot, then save the changes and exit. Once Secure Boot is disabled, plug in your USB drive, hold the Esc key, and press the Power button. When prompted to select a boot device, choose your USB drive and press Enter.

4.2 Installation:

EndeavourOS/CachyOs Installation:

CachyOS and EndeavourOS use the same Calamares installer. While CachyOS is included in the title, it isn’t covered specifically in the installation steps. There are no images showing the CachyOS installation process, since the steps are largely the same, with only a few appearing in a different order. Following the EndeavourOS steps will work for CachyOS as well.

Once you’re in the live session, connect to the internet using Wi-Fi or Ethernet. Then launch the installer from the taskbar and choose the Online Installation method.

circle-info

An internet connection is required for updating the system, and some options, like selecting a desktop environment or bootloader, are not available in the offline installer.

Installer
Language

Choose your language.

Region and Timezone

Choose your region and your timezone.

Keyboard Layout

Choose your keyboard layout. If you have the US layout, simply press Next.

Desktop Environment

Now choose your desktop environment. I would recommend sticking to either GNOME or KDE. It will show a preview image of what the desktop environment looks like, but in short: KDE is more Windows-like and GNOME is more macOS-like. Once you've decided, simply double click on the option and choose Next.

Additional Packages

I’d recommend getting an LTS kernel that you can use as a backup, and if you have a printer, you can check the printing support box. Other than that, I’d leave the rest as is.

Bootloader

Select GRUB as the bootloader.

Disk Setup
chevron-rightLinux Only:hashtag

For a single-boot setup, select Erase Disk and enable Swap with Hibernate if you plan to use suspend-to-disk (hibernation), which requires a disk-based swap partition or swap file, instead of zram. (zram creates a compressed block device in RAM, allowing more data to be stored in memory and providing much faster access than disk-based swap.) Hibernation and zram cannot be used together, because hibernation requires disk-backed swap. However, zram can be used alongside traditional swap as long as hibernation is not used.

triangle-exclamation
chevron-rightDual Boot:hashtag

For dual boot, select Replace a partition and choose the unallocated space (do not select your existing windows partition).

An example of dual boot. This is an example of a dual-boot setup. The disk size is irrelevant because it is running in a virtual machine.

User Setup

Now enter your username, hostname, and password, then click Next.

Summary

Review all settings. If everything looks correct, click Install. Then wait for the installation to complete, and reboot.

chevron-rightArch:hashtag

For a complete manual installation, please refer to the installation stepsarrow-up-right found on the Arch Wiki.

5. Uninstalling Linux

5.1 For Dual Boot Users

chevron-rightEndeavourOS/CachyOShashtag

Open Disk Management in Windows, delete the Linux partitions, and then extend the partition from which the space was taken.

When Linux is installed alongside Windows, its bootloader files are copied to the Windows EFI system partition. To fully remove Linux, you’ll need to delete those files. If you skip this step, you might get an error on boot from the Linux bootloader saying it can’t find the Linux system.

Open PowerShell as administrator and run the following commands in order.

Now open a new PowerShell window as administrator while keeping the old one open.

Depending on the installed distro, dir will return different output. For example, it will show endeavouros for EndeavourOS and cachyos for CachyOS. Locate your distro’s directory and remove it.

Replace <distroname> with your distro name as shown in the dir output.

Return to the previous window and run:

After that, you can close both windows and use Windows normally.

5.2 For Standalone Linux Installation:

If you want to return to Windows after using Linux, open DiskPart, select the Linux drive, and remove its filesystem by returning it to an uninitialized state using the clean command in DiskPart.

circle-info

If you are using an Intel system and the Windows installer cannot detect your drive, disable VMD (Volume Management Device) in BIOS.

Last updated