Mount QEMU qcow image

Programming 2015. 12. 17. 19:29

Follow these steps.

Install qemu-utils and enable ndb module

sudo apt-get install qemu-utils
sudo modprobe nbd

Connect the image to the first nbd device

sudo qemu-nbd -c /dev/nbd0 disk.img

Mount the image. 

sudo mount /dev/nbd0p1 /mnt

After you're done, unmount it.

sudo umount /mnt

And disconnect the loopback device too

sudo qemu-nbd -d /dev/nbd0


'Programming' 카테고리의 다른 글

ARM DACR basics  (0) 2016.07.13
Intel SGX basics  (1) 2016.07.12
Mount QEMU qcow image  (0) 2015.12.17
커널모듈 Cross Compile 주의사항  (0) 2015.12.09
RSA crap  (0) 2015.10.19
Linux 쉘커맨드로 반복적으로 argv escape 하기 귀찮을때  (0) 2015.10.14
Posted by daehee87

댓글을 달아 주세요