View previous topic :: View next topic |
Author |
Message |
leyvi Tux's lil' helper
Joined: 08 Sep 2023 Posts: 79
|
Posted: Sun Nov 24, 2024 4:47 pm Post subject: KVM/QEMU/libvirt VM won't boot due to kernel module shenanig |
|
|
I've got this VM I'm trying to boot, and whenever I try, I get this: Code: | Error starting domain: Failed to open file '/lib/modules/6.12.1-gentoo/modules.alias': No such file or directory | This isn't so strange to me, as I have a purely monolithic kernel with loadable modules disabled. However, I have no clue what to do about this error message, short of enabling loadable modules, which I'd prefer not to do. Anyone know what's going on? |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 658
|
Posted: Sun Nov 24, 2024 5:18 pm Post subject: |
|
|
What are you trying to start the VM in?
libvirt, qemu and docker all work fine here with a monolithic kernel.*
You can use Code: | ebuild /var/db/repos/gentoo/path/to/ebuild.ebuild prepare clean | to force a re-showing of any "CONFIG_SOMETHING is not set and it should be" messages you may have missed during emerge time.
*hardware passthrough fails though, fyi. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|