Wednesday, October 18, 2017

How to mount a VMDK in Linux Mint / Ubuntu

This took way too much googleing.  This is what worked-

sudo su
losetup /dev/loop0 <vmdk file>
kpartx -av /dev/loop0
mkdir /mnt/vmdk
mount /dev/mapper/loop0p1 /mnt/vmdk

If loop0 comes back as busy, use another one like loop5.

1 comment:

  1. `losetup -f` will find the first open dev mapper. That is the better way to open the new loop device

    ReplyDelete