1 |
On 12/05/19 08:17, Arve Barsnes wrote: |
2 |
|
3 |
> On Thu, 5 Dec 2019 at 08:11, n952162 <n952162@×××.de> wrote: |
4 |
>> 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: |
5 |
>> |
6 |
>> modprobe: FATAL: Module ndb not found in directory /lib/modules/4.19.72-gentoo |
7 |
>> |
8 |
>> Can anyone explain how to run qemu-nbd on gentoo? |
9 |
>> On ubuntu, one would do this: |
10 |
>> |
11 |
>> sudo modprobe nbd |
12 |
>> qemu-nbd -c /dev/nbd0 drive.vdi |
13 |
> You can only modprobe kernel modules, so you need to have nbd compiled |
14 |
> as a module to your kernel to make this work. |
15 |
|
16 |
"to [my] kernel" ... why doesn't the ebuild do that? That shouldn't |
17 |
require rebuilding the kernel or touching /boot |
18 |
|
19 |
|
20 |
|
21 |
|
22 |
> |
23 |
> You could also compile it directly into your kernel, then you could |
24 |
> skip directly to step 2. |
25 |
> |
26 |
> Regards, |
27 |
> Arve |
28 |
> |