I am trying to create a qube based on Fedora 42 that uses its own kernel, rather than the kernel provided from dom0. This is supposed to be a template qube, but for the sake of simplicity, I tried to create a standalone VM as well, with the same result: the qube doesn’t boot.
What I did:
Change the virtualization mode to HVM
Set to use kernel “provided by qube”
Start the qube – it does respond within 60 seconds.
I am using Qubes r4.3. I tried this procedure using the following standard templates as base: fedora-42-xfce, fedora-42, with the same result: the qube becomes unbootable. It becomes bootable again when I change the kernel to use to the one provided by dom0.
I also tried this procedure with the standard Debian templates (e.g. debian-13-xfce) and the Debian-based StandaloneVM, when set to use its own native kernel, boots just fine.
Am I missing some important steps with Fedora templates?
I have found a similar post on this forum from 3 years ago, but the solution that worked for the poster back then does not work in my case.
Thanks @parulin for the tip, though the current version still claims that the steps I performed should be enough to use the standard kernel provided by the template, see section Using kernel installed in the VM.
I see that there are changes to instructions for using non-default kernel, like running grub2-install /dev/xvda and grub2-mkconfig -o /boot/grub2/grub.cfg, which I also did, just to be sure, but it didn’t help. Maybe the documentation is still a WIP, I’ll be checking later again, in case anything changes.
BTW, are you somehow able to create a bootable Fedora 42 based qube with a native kernel?