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 • Updated 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
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.

Discussion (2)

Collapse
fabrixx profile image
fabrixx

x not start also after nvidia-xconfig

Collapse
fabrixx profile image
fabrixx

ok was nvidia-dkms missing