Outils pour utilisateurs

Outils du site


public:mount_a_qcow2_image_in_the_host

mount a qcow2 image in the host

sudo modprobe nbd max_part=8
sudo qemu-nbd -c /dev/nbd0 disk.qcow2
partx -a /dev/nbd0
fdisk -l /dev/nbd0
mount  /dev/nbd0p1 /mnt/xxx
...
umount dev/nbd0p1 
partx -d /dev/nbd0
qemu-nbd -d /dev/nbd0
rmmod nbd
killall qemu-nbd

mount iso image

mount -o loop /path/ti/file /mnt/usb   pas testé
public/mount_a_qcow2_image_in_the_host.txt · Dernière modification : 2022/02/21 12:33 de pcouderc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki