|
Post by slacka on Feb 11, 2014 23:07:23 GMT -8
It's extremely convenient to use a HD image to copy data between your Linux host and the tiny guest. I was able to mount the image with the following commands: # sudo losetup -o32256 /dev/loop0 ./hd.img # sudo mount -t vfat /dev/loop0 /mnt/hd/ To unmount: # sudo umount /dev/loop0 # sudo losetup -d /dev/loop0 OR # sudo kpartx -va ./hd.img # sudo mount -t vfat /dev/mapper/loop0p1 /mnt/hd4/ To unmount # sudo umount /mnt/hd4/ # sudo kpartx -vd ./hd.img
More info can be found here: wiki.osdev.org/Loopback_Device#Hard_Disk_Images
|
|