LinuxQuestions.org
Review your favorite Linux distribution.
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 06-29-2005, 05:21 AM   #1
chadturner
LQ Newbie
 
Registered: Jun 2005
Location: Dallas, TX
Posts: 6

Rep: Reputation: 0
Mounting iso image


The document I'm using to do an install says to use the following command:

mount -t iso9660 -o loop /tmp/xxxx.iso /mnt/cdrom

Where xxxx.iso is my iso file name which I have put in my /tmp/R3GA directory.

I get this:

[root@avayaaes1 etc]# mount -t iso9660 -o loop /tmp/R3GA/swonly-r3-0-0-build-46-20050526.iso /mnt/cdrom
mount: Not a directory

Any ideas?
 
Old 06-29-2005, 05:37 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hi!

Welcome to LQ.org. Make sure that you have the loop module first. I'd also recommend you creating another directory to mount your .iso. I believe that your /mnt/cdrom is linked to /dev/cdrom or something, isn't it? (you can check it with "ls -l /mnt/cdrom"). Well, give this a shot:

modprobe loop
mkdir /media/iso
mount file.iso /media/iso/ -t iso9660 -o loop


Good luck!
 
Old 06-29-2005, 06:46 AM   #3
chadturner
LQ Newbie
 
Registered: Jun 2005
Location: Dallas, TX
Posts: 6

Original Poster
Rep: Reputation: 0
[root@avayaaes1 root]# mkdir /media/iso
mkdir: cannot create directory `/media/iso': No such file or directory

I don't think this server likes me. Thanks for your suggestion, but it's not even letting me do that. And the command you wanted me to run returns a 0 found.
 
Old 06-29-2005, 07:54 AM   #4
hyllplan
Member
 
Registered: Nov 2004
Location: Stockholm, Sweden
Distribution: Debian (Sarge), Red Hat, Ubuntu, Knoppix
Posts: 99

Rep: Reputation: 15
If you do not have the /media dir you have to use mkdir -p /media/iso to create two dir in one smack (/media and /media/iso) :-)
 
Old 06-29-2005, 08:07 AM   #5
chadturner
LQ Newbie
 
Registered: Jun 2005
Location: Dallas, TX
Posts: 6

Original Poster
Rep: Reputation: 0
Great suggestion. That's what that part of the problem was. -p works. Now back to the original problem. I'm getting the following:

[root@avayaaes1 root]# mkdir -p /media/iso
[root@avayaaes1 root]# mount -t iso9660 -o loop /tmp/swonly-r3-0-0-build-46-20050526.iso /media/iso
mount: Not a directory
 
Old 06-29-2005, 08:15 AM   #6
chadturner
LQ Newbie
 
Registered: Jun 2005
Location: Dallas, TX
Posts: 6

Original Poster
Rep: Reputation: 0
Or this way as well:

[root@avayaaes1 iso]# mount /tmp/swonly-r3-0-0-build-46-20050526.iso /media/iso/ -t iso9660 -o loop
mount: Not a directory
 
Old 06-29-2005, 04:13 PM   #7
hyllplan
Member
 
Registered: Nov 2004
Location: Stockholm, Sweden
Distribution: Debian (Sarge), Red Hat, Ubuntu, Knoppix
Posts: 99

Rep: Reputation: 15
Have you loaded the loop module? e.g. modprobe loop
Do a lsmod and look if you can see the loop module
sounds strange to me
 
Old 06-29-2005, 06:30 PM   #8
chadturner
LQ Newbie
 
Registered: Jun 2005
Location: Dallas, TX
Posts: 6

Original Poster
Rep: Reputation: 0
Yes we had tried that. No difference. Any more ideas?
 
Old 06-30-2005, 01:57 AM   #9
hyllplan
Member
 
Registered: Nov 2004
Location: Stockholm, Sweden
Distribution: Debian (Sarge), Red Hat, Ubuntu, Knoppix
Posts: 99

Rep: Reputation: 15
Check this thread similar problem, feels like you may have a no good ISO-image?
http://www.linuxquestions.org/questi...hreadid=263350
 
Old 06-30-2005, 12:09 PM   #10
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
shouldn't the switches come before the file and dir options?

eg.
mount -t iso9660 -o loop /tmp/swonly-r3-0-0-build-46-20050526.iso /media/iso/

*never mind........i didn't see the post where that was already tried

Last edited by 0pal_t0ad; 06-30-2005 at 12:12 PM.
 
Old 07-01-2005, 01:12 AM   #11
chadturner
LQ Newbie
 
Registered: Jun 2005
Location: Dallas, TX
Posts: 6

Original Poster
Rep: Reputation: 0
We finally figured it out tonight, thanks to all. This is a great site to be a part of.

I'll put the details up in the morning. Thanks again to all.
 
Old 09-08-2005, 11:28 AM   #12
knappster
Member
 
Registered: Mar 2004
Posts: 174

Rep: Reputation: 30
I recently re-compiled my kernel from an old config file, but the loop module is not installed. Can anyone tell me where to find it in the menuconfig? That would save me a lot of time searching if anyone knows. Thanks.

-Knappster
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting ISO image satimis Linux From Scratch 12 10-22-2005 08:15 PM
Mounting iso image batev Slackware 11 10-20-2005 10:24 AM
Mounting ISO image CD/DVD fireedo SUSE / openSUSE 9 05-05-2005 04:07 AM
Problems mounting an image .iso kroy Linux - Software 5 04-11-2005 11:15 AM
mounting ISO from an image true_atlantis Linux - Newbie 2 01-20-2004 11:29 AM


All times are GMT -5. The time now is 10:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration