LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2013, 12:23 PM   #1
Casterina
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
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
 
Old 07-30-2013, 12:52 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Try this (from a terminal):
Code:
sudo mount -o loop /path/to/the.img /mount/path
and to unmount:
Code:
sudo umount /mount/path
 
Old 07-30-2013, 01:39 PM   #3
Casterina
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
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
 
Old 07-30-2013, 03:06 PM   #4
geek@LQ
LQ Newbie
 
Registered: Jul 2013
Posts: 14

Rep: Reputation: Disabled
Quote:
Originally Posted by Casterina View Post
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

Last edited by geek@LQ; 07-30-2013 at 03:08 PM.
 
Old 07-30-2013, 07:41 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Does Ubuntu automount an iso? Some distro's do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cannot mount an image file cccc Debian 3 06-08-2013 08:14 PM
[SOLVED] How mount DVD/VCD image file and watch it in Ubuntu Linux? TigerLinux Linux - Software 6 07-02-2011 05:15 AM
how to mount a kvm image file hrmb Linux - Virtualization and Cloud 5 02-11-2010 10:06 AM
can't mount the iso image file gbstack Linux - Newbie 3 09-06-2008 10:16 AM
mount .iso (image) file and read *.avi file smartdragonfly Linux - Software 2 12-21-2006 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration