Difference between revisions of "Qemu-nbd"

From wikieduonline
Jump to navigation Jump to search
Line 20: Line 20:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[guestmount]]</code>
 
* <code>[[guestmount]]</code>
 
+
* <code>[[guestfish]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 07:26, 18 October 2020

qemu-nbd

https://gist.github.com/shamil/62935d9b456a6f9877b5

modprobe nbd max_part=8


qemu-nbd --connect=/dev/nbd0 /path/to/your_image.qcow2
qemu-nbd: Failed to open /dev/nbd0: No such file or directory
qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected end-of-file before all bytes were read
fdisk /dev/nbd0 -l
fsck /dev/nbd0pXXXX
qemu-nbd --disconnect /dev/nbd0
/dev/nbd0 disconnected


Related terms

See also

Advertising: