Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] qemu / nbd
Date: Thu, 05 Dec 2019 07:17:59
Message-Id: CAJjrzcWwkAXpteKOp+h-_LDVaQaTfYC=k0dGtv6VGFYx7Fhn0A@mail.gmail.com
In Reply to: Re: [gentoo-user] qemu / nbd by n952162
1 On Thu, 5 Dec 2019 at 08:11, n952162 <n952162@×××.de> wrote:
2 >
3 > 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:
4 >
5 > modprobe: FATAL: Module ndb not found in directory /lib/modules/4.19.72-gentoo
6 >
7 > Can anyone explain how to run qemu-nbd on gentoo?
8 > On ubuntu, one would do this:
9 >
10 > sudo modprobe nbd
11 > qemu-nbd -c /dev/nbd0 drive.vdi
12
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 You could also compile it directly into your kernel, then you could
17 skip directly to step 2.
18
19 Regards,
20 Arve

Replies

Subject Author
Re: [gentoo-user] qemu / nbd n952162 <n952162@×××.de>