On Thu, 5 Dec 2019 at 08:11, n952162 <n952...@web.de> wrote: > > Or maybe the assumption is wrong - after emerging nbd, I still get this when > I try to modprobe nbd, which is required for running qemu-nbd: > > modprobe: FATAL: Module ndb not found in directory /lib/modules/4.19.72-gentoo > > Can anyone explain how to run qemu-nbd on gentoo? > On ubuntu, one would do this: > > sudo modprobe nbd > qemu-nbd -c /dev/nbd0 drive.vdi
You can only modprobe kernel modules, so you need to have nbd compiled as a module to your kernel to make this work. You could also compile it directly into your kernel, then you could skip directly to step 2. Regards, Arve