View Single Post
Posts: 145 | Thanked: 304 times | Joined on Jan 2010 @ Milton Keynes, UK
#1
Hi Guys,

I have a VDI file which I would like to mount as a disk within maemo, however I am a total linux noob so not even sure if its possible.

I plan on giving it a try tonight when I get home from work but before I do I thought I'd run it passed some experts on here to see if its a fools-errand.

Mounting a VDI (virtualbox hdd image) file is possible in linux, as this fella managed http://forums.virtualbox.org/viewtop...asc&highlight= however do all of those commands even exist within the linux kernal on the N900? Will it be able to handle ntfs etc?

I have some limited experience using the mount command so I know that one is there, as I have truecrypt installed and use the mount command to mount containers.

Any feedback or suggestions would be good before I go blindly attempting it

Cheers
Jamie

---------------------------
solved!

the command to mount my vdi was this

as root (and assuming that u have created a mount point in /media)

losetup -o 33280 dev/loop0 ntfs.vdi
mount -o uid=29999 /dev/loop0 /media/ntfs

to unmount:

umount /media/ntfs
losetup -d /dev/loop0


thanks to all that helped!

Last edited by jamiefuller; 2010-10-09 at 17:22. Reason: solved problem