LinuxQuestions.org
Visit Jeremy's Blog.
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 06-07-2001, 08:05 PM   #1
Wing
LQ Newbie
 
Registered: Jun 2001
Posts: 12

Rep: Reputation: 0

Hi all,
I downloaded tow iso files of RedHat7.1 and recorded them to two CDs. Now in Windows they look like this:
G:\a\seawolf-i386-disc1.iso
G:\b\seawolf-i386-disc2.iso
What I am confused is that how to mount them in Linux to see the extracted files rather than iso files? I use "mount /dev/cdrom /mnt/cdrom" but see /mnt/cdrom/a/sea~1.iso or /mnt/cdrom/b/sea~2.iso. I want to see the .rpm files so that I can install some RPMs I need. What parameter(s) should be added to the mount command? Looking forward to your response and support.
 
Old 06-07-2001, 08:12 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
See the thread in this forum - "Oh gosh me again" it covers this topic. You burned the .iso file to the CD, not the .iso image.

http://www.linuxquestions.org/questi...?threadid=3123
 
Old 06-07-2001, 08:39 PM   #3
Wing
LQ Newbie
 
Registered: Jun 2001
Posts: 12

Original Poster
Rep: Reputation: 0
What should I do now?

Oh, it's really a pity! And now what should I do? Shall I find software to extract iso file in Linux just like isobuster or winimage for Windows? Or shall I extract the files in Windows first and then mount the windows partition?If yes, these two CDs mean nothing to me from now on.
 
Old 06-07-2001, 09:48 PM   #4
sportjeep99
LQ Newbie
 
Registered: Mar 2001
Posts: 7

Rep: Reputation: 0
I used X cdr roast and selected the iso image file and it extracted and burned the image itself to the cd like it should.
 
Old 06-08-2001, 05:11 PM   #5
ccapoccia
LQ Newbie
 
Registered: Jun 2001
Posts: 3

Rep: Reputation: 0
All was not lost. As a tip for the future you could have mounted the iso image onto a directory after you mounted the cd-rom with:

mount -o loop /mnt/cdrom/seawolf-i386-disc1.iso /somemountpoint

cd into /somemountpoint and you will see the contents of the iso image. This would have be ok for your situation where you were looking to get some rpms for a running linux system. Don't use those cds as coasters just yet. Someone else can still use those rpms if they use the above command!
 
Old 06-08-2001, 10:28 PM   #6
Wing
LQ Newbie
 
Registered: Jun 2001
Posts: 12

Original Poster
Rep: Reputation: 0
I got it. Thank u for help.

I got it. "mount /dev/cdrom /mnt/cdrom" first, and then "mount /mnt/cdrom/a/seawolf-i386-disc1.iso /mnt/rh71". Now I can see the RPMs in /mnt/rh71. Thank u, ccapoccia. But on more question: why cant I use "mount -o loop /dev/cdrom/a/seawolf-i386-disc1.iso /mnt/rh71"? When I do this I get an error message that /dev/cdrom/a/seawolf-i386-disc1.iso is no a directory.
 
Old 06-09-2001, 10:26 AM   #7
ccapoccia
LQ Newbie
 
Registered: Jun 2001
Posts: 3

Rep: Reputation: 0
The error message you received that /dev/cdrom/a/seawolf-i386-disc1.iso is not a directory is correct. The file /dev/cdrom is a symbolic link to the block special file that represents your cd-rom drive (Probably something like /dev/hdb). /dev/cdrom and the file it is linked to do not contain the files on the cdrom you may have mounted with a "mount /dev/cdrom". The files on the media are accessible via the mount point, which is normally /mnt/cdrom. So if you want to mount a file on the cdrom you'll have write the pathname to that file from the device's mount point. For this reason

mount -o loop /dev/cdrom/a/seawolf-i386-disc1.iso /mnt/rh71

won't work, because there really is no file (or directory for that matter) named /dev/cdrom/a/seawolf-i386-disc1.iso. Instead try:

mount -o loop /mnt/cdrom/a/seawolf-i386-disc1.iso /mnt/rh71

Of course do this after you have already mounted the cdrom.

But, you seem to have it working already so mounting via the loop device doesn't seem necessary. I quite surprised actually. I've never been able to mount an iso image without the loop option, but we might be using different versions of the mount command.

Hope that helps and glad to help you.
 
Old 06-10-2001, 07:25 PM   #8
Wing
LQ Newbie
 
Registered: Jun 2001
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks again, ccapoccia. And now I seem to have a sense of the difference between "device file" and "ordinarily file" in Linux. Linux is so distinct from Windows!
 
  


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
cd-rom and dvd-rom drives won't mount... :-( Ausar Linux - Newbie 12 09-01-2004 02:51 PM
Multiple cd-rom icons from one cd-rom mount CEG Linux - General 5 02-04-2004 07:04 PM
i can't mount my CD-ROM Boogieman Linux - Software 15 11-29-2003 07:39 AM
Mount the CD rom ust Linux - Software 1 10-27-2003 05:17 AM
Can Not Mount CD-ROM HowdyZBird Linux - Hardware 1 08-11-2003 08:34 AM

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

All times are GMT -5. The time now is 02:07 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