From d26a4e12deafade205d37a9fda748a6b78dfdb6a Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Sat, 25 Feb 2017 18:40:03 +0000 Subject: overall revesion --- tools/qemu.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'tools/qemu.html') diff --git a/tools/qemu.html b/tools/qemu.html index 1c58e49..c914d74 100644 --- a/tools/qemu.html +++ b/tools/qemu.html @@ -43,22 +43,17 @@ this describes how to create a qcow2 type;

-        $ qemu-img create -f qcow2 crux-img.qcow2 15G
+        $ qemu-img create -f qcow2 crux-img.qcow2 20G
         
-

You can mount disk image;

+

Qemu disk images can be treated as regular disks using + qemu disk network block device server;

         $ sudo modprobe nbd
         $ sudo qemu-nbd -c /dev/nbd0 /crux-img.qcow2
         
-

To disconnect image disk (ndb);

- -
-        $ sudo qemu-nbd -d /dev/nbd0
-        
-

Information about preparing partitions and storage administration. @@ -100,6 +95,13 @@ # mount $BLK_VAR $CHROOT/var +

Before disconnecting image, clean dev mappings;

+ +
+        $ sudo kpartx -d /dev/nbd0
+        $ sudo qemu-nbd -d /dev/nbd0
+        
+

2. Network

Network configuration;

-- cgit