Coldkernel on Qubes pt.1
December 12, 2016
We are currently working on supporting both Debian and Fedora TemplateVMs, however the below instructions assume a Debian 8 TemplateVM.
It is suggested that you create a dedicated Debian TemplateVM for experimenting with coldkernel. This support is very experimental, and may result in broken Templates.
Configuring Debian TemplateVM
First, change your max storage size to be 10GB (you can likely get away with anything over 4GB, however running out of disk space at the end of a build can be frustrating).
Fix sources.list
Open /etc/apt/sources.list
and uncomment the lines starting with deb-src
. It should look something like this:
Installing dependencies
Run in dom0:
Run in your Debian TemplateVM:
Building coldkernel
Cloning and verification
Once dependencies are installed, clone and verify the coldkernel build scripts on your TemplateVM:
Building
Next, begin the coldkernel build. This step may take multiple hours depending on your hardware.
Installing coldkernel
Run in your Debian TemplateVM post-build:
Post-install TemplateVM configuration
Once the TemplateVM has been shutdown, you can change the kernel in the Qubes VM manager to pvgrub and start the VM.