build xen dom0 linux kernel

assuming slackware system

grab the sourcegrab the source

grab the latest longterm version

ver=6.12.59

or the longterm version that matches your distro’s config already e.g. slackware 15.0 uses v5.15

ver=5.15.196

and proceed

cd /usr/src/
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-$ver.tar.xz
tar xaf linux-$ver.tar.xz

kernel config filekernel config file

you need an existing kernel config to begin with –either– the one from you distro’s package e.g.

ls -lF /boot/config-*

config=/boot/config-huge-5.15.193.x64
config=/boot/config-generic-5.15.193.x64

–or– the one you’re currently running

zcat /proc/config.gz > config-from-proc
config=config-from-proc

–or– grab the latest slackware config online

wget -O - https://lab.nethence.com/confdiff/config.txt > config-from-repo
config=config-from-repo

dom0 kernel builddom0 kernel build

# https://pub.nethence.com/bin/xen/build0.bash
./build0.bash linux-$ver $config

HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Licensed under MIT