LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2012, 03:17 PM   #1
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Rep: Reputation: Disabled
mounting a .iso file


Hi all,
i am trying to mount a .iso file but ending up with errors.

Code:
# mount -t iso9660 /user/StarDrop_V5_1.iso /mnt/testiso
mount: /user/StarDrop_V5_1.iso is not a block device (maybe try `-o loop'?)
and when i try as it said (-o loop)
Code:
 # mount -o loop /user/StarDrop_V5_1.iso /mnt/testiso
mount: Not a directory
and /mnt/testios directory exists and it is not mounted on anyother filesystem
Code:
# ls -ltrh /mnt/testiso/
total 0
I even tried to mount it on /tmp/mnt directory (created one) with both options (loop and iso9660) but din't work
Code:
 #  mount -o loop  -t iso9660 /user/StarDrop_V5_1.iso /tmp/mnt/
mount: Not a directory
any help?
Thanks in advance!
 
Old 02-15-2012, 03:23 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi linuxandtsm,

Did you try the following syntax:

Code:
mount -t iso9660 /directory/file.iso /mountpoint -o loop
Where,

/directory/file.iso is the exact location and name of your .iso file.
 
Old 02-15-2012, 03:29 PM   #3
sean.ferguson
LQ Newbie
 
Registered: Feb 2012
Location: Scotland
Distribution: Ubuntu 16.04 / Debian 8 / Arch
Posts: 25

Rep: Reputation: Disabled
Have you created the mount point? I've just tested the following and it works fine with me.

Code:
mkdir -p /mnt/test
mount -o loop test.iso /mnt/test
cd /mnt/test
ls -l
edit: Also, make sure you are root when issuing the commands if your not already.

Last edited by sean.ferguson; 02-15-2012 at 03:30 PM.
 
Old 02-15-2012, 03:37 PM   #4
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi T3RM1NVT0R and sean.ferguson,

Thank you both for quick replies.
The problem was with iso file.
I redownloaded it and tried and -o loop option is able to mount the file.

Thanks! again
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
errors in mounting an iso file rohit83.ken Linux - Software 3 12-21-2007 12:12 AM
Mounting iso file, shows up as filesystem, not cd wahming Linux - General 1 02-15-2007 03:23 AM
Help mounting an iso file Mikesoft Linux - Newbie 9 12-04-2006 04:10 PM
help mounting and installing from an ISO file tom_from_van Linux - Newbie 6 07-23-2005 10:09 AM
Gentoo. Problems mounting an iso file Snerkel Linux - Distributions 2 11-26-2004 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 AM.

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