LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Mount Image File (https://www.linuxquestions.org/questions/linux-general-1/linux-mount-image-file-4175471478/)

Casterina 07-30-2013 12:23 PM

Linux Mount Image File
 
I'm using Ubuntu 12.04.2 LTS, how can I mount a .IMG file so I can access the files and folders inside?

Thanks

druuna 07-30-2013 12:52 PM

Try this (from a terminal):
Code:

sudo mount -o loop /path/to/the.img /mount/path
and to unmount:
Code:

sudo umount /mount/path

Casterina 07-30-2013 01:39 PM

Quote:

Originally Posted by druuna (Post 4999740)
Try this (from a terminal):
Code:

sudo mount -o loop /path/to/the.img /mount/path
and to unmount:
Code:

sudo umount /mount/path

I haven't installed Ubuntu, just running it, what would be the Ubuntu Desktop path? As that's where my file is

geek@LQ 07-30-2013 03:06 PM

Quote:

Originally Posted by Casterina (Post 4999767)
I haven't installed Ubuntu, just running it, what would be the Ubuntu Desktop path? As that's where my file is

It should be something like /home/your_username/Desktop/your_image_file.img

Or a shorter version

~/Desktop/your_image_file.img

jefro 07-30-2013 07:41 PM

Does Ubuntu automount an iso? Some distro's do.


All times are GMT -5. The time now is 12:56 PM.