I am running 4.1 on a brand new laptop - and it works really fine, including some bugs :-). I tried to install 4.0.4 first but this one did not work due to cpu panic and some IO-APCI bug. So I was wondering if is possible to build an iso with the latest kernel version to solve this IO-APCI problem.
I am working on QubesOS 4.1. Here is what I’ve done:
In dom0, Create Qubes VM
name: build_qubes_kernel
Type:AppVM
Template: fedora-32 (same as dom0)
(I have not changed max RAM/VCPUs)
start terminal in new AppVM
make remount
make get-sources
make install-deps
If you want to change kernel version default now is 5.12.5(I changed it to 5.12.8):
1)edit qubes-src/linux-kernel/version
2)make get-sources
make qubes
Building kernel took about 2 hours.
In dom0:
mkdir ~/kernel
cd ~/kernel
check rpm packages names:
qvm-run --pass-io build_qubes_kernel ‘ls /home/user/qubes-builder/qubes-src/linux-kernel/pkgs/dom0-fc32/x86_64’ copy packages to dom0 for each package (there are three of them) run:
qvm-run --pass-io build_qubes_kernel ‘cat /home/user/qubes-builder/qubes-src/linux-kernel/pkgs/dom0-fc32/x86_64/[package name here]’ > [package name here]
sudo qubes-dom0-update elfutils-libelf-devel
for each package (there are three of them)
sudo dnf install -y ./