2016年9月19日月曜日

How can I attach a VHDx or VHD file in Linux?

First you need to install it:

sudo apt-get install libguestfs-tools  

Then you can mount almost whatever you wish:

sudo guestmount -a anyvirtualdisk.vhdx -i --ro /mnt/anydirectory  

That is just an example of read-only extraction mountpoint.