Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

qemu: stage 1 can fail #29

Closed
bbjubjub2494 opened this issue Jan 16, 2022 · 0 comments
Closed

qemu: stage 1 can fail #29

bbjubjub2494 opened this issue Jan 16, 2022 · 0 comments

Comments

@bbjubjub2494
Copy link
Owner

The minimal guest cannot boot out of the box. It's missing some kernel modules in the initrd. The minimal fix is

boot.initrd.availableKernelModules = [ "virtio_pci" "9p" "9pnet_virtio" ];

I recommend importing "${modulesPath}/profiles/qemu-guest.nix" anyway, but automatically including if guestType == "qemu" would be a better experience.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant