View Single Post
Posts: 145 | Thanked: 304 times | Joined on Jan 2010 @ Milton Keynes, UK
#4
Ok, so got home, created a very small (25mb) fat formatted vdi file, stuck a simple file in it so I could see if I could access it once mounted.

I copied the file over to my n900 and tried the following command
Code:
mount -o loop,offset=33280,umask=000 test.vdi /media/test
but that returned...
Code:
Mount: Mounting /dev/loop0/ on /media/test failed: Invalid Argument
so I tried
Code:
mount -t fat -o loop,offset=33280,umask=000 test.vdi /media/test
but this time I got
Code:
Mount: Mounting /dev/loop0/ on /media/test failed: No Such Device
Is this because of a problem with the loop interface on the n900?

the file test.vdi exists no problem as does the mount point /media/test but I'm a little lost beyond this point so any help would be awesome, or even suggestions of alternative options in the command line.

Cheers
Jamie

EDIT ***

I have just tried successfully to mount an ISO file, so I think the loop device must be ok. I am now suspecting the offset option being the culprit. as if I try the same mount command for isos but with the "offset=0" option I get invalid argument too...

Last edited by jamiefuller; 2010-10-08 at 18:49. Reason: New Info...