TringaliLuca

Mount VDI images on Ubuntu

Oct 21st, 2019
290
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo modprobe nbd
  2. sudo qemu-nbd -c /dev/nbd0 ./NewVirtualDisk1.vdi
  3. sudo fdisk -l /dev/nbd0
  4. sudo mount /dev/nbd0p2 /mnt
  5. sudo umount /dev/nbd0p2
  6. sudo qemu-nbd -d /dev/nbd0
RAW Paste Data