Created
April 3, 2016 22:43
-
-
Save christopher-baek/7b3a913d464a63db70b76298736649e6 to your computer and use it in GitHub Desktop.
Mount VirtualBox VDI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modprobe nbd | |
qemu-nbd -c /dev/nbd0 <vdi-file> | |
mount /dev/nbd0p1 /mnt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
umount /mnt | |
qemu-nbd -d /dev/nbd0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment