LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-29-2004, 12:56 PM   #1
webwolf11
LQ Newbie
 
Registered: Mar 2004
Location: Washington, DC
Distribution: RedHat 9
Posts: 14

Rep: Reputation: 0
Mounting a CD-ROM image (not for installation)


Hi,

I just started to mess around with linux and I was wondering if there is a software or a different way to mount CD-Rom images under linux (I use Daemon Tools on WinXP) , I have several movies and apps on BIN/ISO format that I would like to access w/o having to extract them.

Thanks
 
Old 03-29-2004, 01:00 PM   #2
redtux
LQ Newbie
 
Registered: Jan 2003
Posts: 3

Rep: Reputation: 0
If I understand you correctly
mount -o loop file (eg: myfile.iso) mountpoint (eg: /mnt/cdrom)
 
Old 03-29-2004, 06:40 PM   #3
webwolf11
LQ Newbie
 
Registered: Mar 2004
Location: Washington, DC
Distribution: RedHat 9
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks! That sounds like the solution to my problems =) I will try it when I get home.
 
Old 03-29-2004, 07:05 PM   #4
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
mind you, you have to have "loop back device" either as a module, or compiled into your kernel.
 
Old 03-29-2004, 09:17 PM   #5
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
And you may want to specify -t iso9660 as well
 
Old 03-30-2004, 01:22 AM   #6
webwolf11
LQ Newbie
 
Registered: Mar 2004
Location: Washington, DC
Distribution: RedHat 9
Posts: 14

Original Poster
Rep: Reputation: 0
"you have to have "loop back device" either as a module, or compiled into your kernel"

"And you may want to specify -t iso9660 as well"

How do I do that? Im getting an error when using the command "mount -o loop -t iso9660 redhat9tutorial.bin /mnt/iso"

wrong fs type, bad option, bad superblock on dev/loop0 or too many file systems mounted.
 
Old 03-30-2004, 03:40 PM   #7
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
It sounds like you don't have the loopback module installed or compiled.

As root, try typing 'modprobe loop'. If you don't get any errors there, it will have installed the loop module, so try the 'mount -o loop -t iso9660 redhad9tutorial.bin /mnt/iso'.

I also notice that the file is called .bin, not .iso. I know you can name a file what you like, but files with a .bin extension, as they are generally passed around, are _not_ the same as an iso file (unlike a straight bit by bit dump of a CD, for example) and you may not be able to mount it like that. If you have a .cue file with it, then you can use something like bin2iso (one source is here -http://rpmfind.net/linux/RPM/PLD/dists/ra/PLD/i386/PLD/RPMS/bin2iso-1.9b-2.i386.html) to convert it to an iso, then try mounting it again.
 
Old 03-31-2004, 03:11 PM   #8
webwolf11
LQ Newbie
 
Registered: Mar 2004
Location: Washington, DC
Distribution: RedHat 9
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for clarifying that to me. I will try that later on tonight.
 
Old 03-31-2004, 07:15 PM   #9
Teban
LQ Newbie
 
Registered: Mar 2004
Location: Buenos Aires, Argentina
Posts: 10

Rep: Reputation: 0
Quote:
Originally posted by liamoboyle
It sounds like you don't have the loopback module installed or compiled.

As root, try typing 'modprobe loop'. If you don't get any errors there, it will have installed the loop module, so try the 'mount -o loop -t iso9660 redhad9tutorial.bin /mnt/iso'.

I also notice that the file is called .bin, not .iso. I know you can name a file what you like, but files with a .bin extension, as they are generally passed around, are _not_ the same as an iso file (unlike a straight bit by bit dump of a CD, for example) and you may not be able to mount it like that. If you have a .cue file with it, then you can use something like bin2iso (one source is here -http://rpmfind.net/linux/RPM/PLD/dists/ra/PLD/i386/PLD/RPMS/bin2iso-1.9b-2.i386.html) to convert it to an iso, then try mounting it again.

I am interted in the same thing. My n00b question is the following.. As root, I shoul type "modprobe loop" in the "terminal"??? Which says. [admin@server admin] $ ???
Its that the right place?'

thanks
teban
 
Old 03-31-2004, 10:14 PM   #10
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
Yep. You can see all the modules already loaded by typing 'lsmod' as well. However, if it's compiled into the kernel, it won't be listed here.
 
Old 04-01-2004, 07:32 PM   #11
Teban
LQ Newbie
 
Registered: Mar 2004
Location: Buenos Aires, Argentina
Posts: 10

Rep: Reputation: 0
Quote:
Originally posted by liamoboyle
Yep. You can see all the modules already loaded by typing 'lsmod' as well. However, if it's compiled into the kernel, it won't be listed here.
but when I write "lsmod" in the Konsole it says:

bash: lsmod: command not found

i am using mandrake 10.0
 
Old 04-01-2004, 07:53 PM   #12
Teban
LQ Newbie
 
Registered: Mar 2004
Location: Buenos Aires, Argentina
Posts: 10

Rep: Reputation: 0
Quote:
Originally posted by Teban
but when I write "lsmod" in the Konsole it says:

bash: lsmod: command not found

i am using mandrake 10.0

I got it, I must write "su" and type the root password

i answered my self...
 
  


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 an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 05:40 PM
how can I install Debian from the mounted CD-Rom image. kuertensun Linux - Newbie 5 06-22-2005 12:05 PM
need Etherboot ROM image for a 3C589 PCMCIA network card lothario Linux - Networking 0 10-07-2004 06:58 AM
mounting cd-rom dvd-rom and cd-rw antoweb Mandriva 4 12-04-2003 11:37 AM
Mounting CD-Rom RecoilUK Linux - General 7 12-08-2001 05:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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