Start with Pre-installation step
$ sudo apt install bpftool
and include /usr/sbin in system $PATH variable.
$ sudo apt install libdw-dev
Proceed with cloning https://github.com/Nitrux/linux-cachyos-deb
$ git clone https://github.com/Nitrux/linux-cachyos-deb
$ cd linux-cachyos-deb
Script installs all required packages and pops up TUI dialog to configure kernel 6.18.7 and finally proceed with building of debian kernel packages. Proceed CachyOS Kernel configuration in the same way as it was done https://lxer.com/module/newswire/view/357231/index.html
$ ./cachy-kernel-deb
Upon build completition
boris@boris-VMSDeepin:~/linux-cachyos-deb$ rm -fr linux-6.18.7
boris@boris-VMSDeepin:~/linux-cachyos-deb$ ls -l
total 1613884
-rwxrwxr-x 1 boris boris 34200 Jan 25 09:57 cachy-kernel-deb
-rwxrwxr-x 1 boris boris 155 Jan 25 10:50 install.sh
-rw-rw-r-- 1 boris boris 1536 Jan 25 09:57 LICENSE
-rw-rw-r-- 1 boris boris 154327332 Jan 23 13:33 linux-6.18.7.tar.xz
-rw-r--r-- 1 boris boris 9581112 Jan 25 10:41 linux-headers-6.18.7_6.18.7-1_amd64.deb
-rw-r--r-- 1 boris boris 182415084 Jan 25 10:42 linux-image-6.18.7_6.18.7-1_amd64.deb
-rw-r--r-- 1 boris boris 1304750360 Jan 25 10:48 linux-image-6.18.7-dbg_6.18.7-1_amd64.deb
-rw-r--r-- 1 boris boris 1464980 Jan 25 10:41 linux-libc-dev_6.18.7-1_amd64.deb
-rw-rw-r-- 1 boris boris 7567 Jan 25 10:48 linux-upstream_6.18.7-1_amd64.buildinfo
-rw-rw-r-- 1 boris boris 2208 Jan 25 10:49 linux-upstream_6.18.7-1_amd64.changes
-rw-rw-r-- 1 boris boris 3466 Jan 25 09:57 README.md
boris@boris-VMSDeepin:~/linux-cachyos-deb$ cat install.sh
sudo dpkg -i linux-headers-6.18.7_6.18.7-1_amd64.deb \
linux-image-6.18.7_6.18.7-1_amd64.deb \
linux-libc-dev_6.18.7-1_amd64.deb
$ ./install.sh
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
$ sudo reboot


No comments:
Post a Comment