DEV Community

Cover image for A simple guide to install linux-zen (The "Zen" kernel) on Arch Linux for Systemd-boot
Sakshat
Sakshat

Posted on • Edited on

A simple guide to install linux-zen (The "Zen" kernel) on Arch Linux for Systemd-boot

  • Firstly run the following command with the appropriate privilege:
sudo pacman -S linux-zen linux-zen-headers
Enter fullscreen mode Exit fullscreen mode
  • When asked for confirmation, type 'y', press ENTER
  • Now the kernel is installed on your system.

We need to tell systemd-boot to boot with the newly kernel installed

  • Open up a terminal and type these commands:
su
Enter fullscreen mode Exit fullscreen mode

[Enter your password]

cd /
ls 
Enter fullscreen mode Exit fullscreen mode
  • At these stage there should be a folder named "boot" Run the following command:
cd boot/loader/entries
Enter fullscreen mode Exit fullscreen mode
  • There should be a ".conf" file. This could be named anything. In my case it is "arch.conf"

NOTE : You can use any text editor / CLI editor you like. Here I am using nano

nano arch.conf
Enter fullscreen mode Exit fullscreen mode
  • After opening the file edit these entries to the new one ( '->' = to)

linux /vmlinuz-linux -> linux /vmlinuz-linux-zen
initrd /initramfs-linux.img -> initrd /initramfs-linux-zen.img

  • SAVE the file and exit
  • Now we are done. Simply reboot and enjoy! :)

If you wish to contribute to this project, visit :

GitHub logo zen-kernel / zen-kernel

Zen Patched Kernel Sources

Linux kernel
============
The Linux kernel is the core of any Linux operating system. It manages hardware
system resources, and provides the fundamental services for all other software
Quick Start
-----------

* Report a bug: See Documentation/admin-guide/reporting-issues.rst
* Get the latest kernel: https://kernel.org
* Build the kernel: See Documentation/admin-guide/quickly-build-trimmed-linux.rst
* Join the community: https://lore.kernel.org/

Essential Documentation
-----------------------

All users should be familiar with:

* Building requirements: Documentation/process/changes.rst
* Code of Conduct: Documentation/process/code-of-conduct.rst
* License: See COPYING

Documentation can be built with make htmldocs or viewed online at:
https://www.kernel.org/doc/html/latest/


Who Are You?
============

Find your role below:

* New Kernel Developer - Getting started with kernel development
* Academic Researcher - Studying kernel internals and architecture
* Security Expert - Hardening and vulnerability analysis
* Backport/Maintenance Engineer - Maintaining stable kernels
* System Administrator - Configuring and troubleshooting
* Maintainer - Leading subsystems and reviewing patches
* Hardware Vendor - Writing
…

Top comments (3)

Collapse
 
fabrixx profile image
fabrixx

x not start also after nvidia-xconfig

Collapse
 
fabrixx profile image
fabrixx

ok was nvidia-dkms missing

Collapse
 
abraham2 profile image
abraham2

When I installed the pacman command, bash LITERALLY installed the Pacman game! (lol)