Set a password and start ssh daemon
Set password
Start ssh daemon
- I’ll suppose to you’re connected to internet.
Partitioning
Formatting Partition
Create and Mount Subvolumes
Mount Subvols
Mount EFI Partition
Installing Base System and /etc/fstab
Editing /etc/pacman.conf
Install kernel and essential packages
Create /etc/fstab
Enter Chroot and Configure System
Enter Chroot
Set time zone
Run hwclock to generate /etc/adjtime
Localization
Edit /etc/locale.gen
and uncomment en_US.UTF-8 UTF-8
and other needed UTF-8 locales.
Create locale.conf
and set LANG variable accordingly:
Create /etc/hostname
file and setting hostname:
Recreate initramfs:
Set the root password:
I leave it to you create a user, installing Bootloader and setting your Desktop Environment.
Add and Use CachyOS Repositories with CachyOS’s Configs
-
CachyOS is an performance orianted Operating System and has repositories are including flags for performance, stability and security.
-
If you want more information for Cachyos Repositories take a look: What is the CachyOS Repositories
Get and Add CachyOS Repositories:
- When it reinstall the packages, we’ll continue.
Installing yay (aur helper) and linux-cachyos kernel.
- CachyOS kernel includes EEVDF and BORE CPU SCHEDULERS.
- BORE CPU Scheduler gives us to maximum responsiveness. I’m personally using this.
- Now installing kernel and nvidia drivers. (Because I have nvidia right now)
Nvidia DRM Backend
You must add nvidia-drm.modeset=1
kernel parameter in your bootloader config.
- Now download CachyOS Settings and use on our machine.
CachyOS using zstd compression algorithm with zram, we’ll change it with lz4 and using all ram size.
Optional Kernel Parameter
- zswap functions as a swap cache in front of zram, intercepting and compressing evicted memory pages before they can reach zram.
- Becouse of this reason we’ll disable zswap as a result zram will work better.
- If we disable zswap, suspend to disk (hibernate) wont work.
- Add this kernel parameter your bootloader config disables zswap on your system.
zswap.enable=0
- Now installing zram generator and enabling it.
- Reboot now, and enjoy system :)
Extras