LinuxQuestions.org
Visit Jeremy's Blog.
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 06-26-2007, 07:01 AM   #1
fofire
LQ Newbie
 
Registered: Aug 2006
Posts: 23

Rep: Reputation: 15
CD emulator


Does anyone know of a CD emulator (like Alcohol or Daemon tools for windows) but made for Linux?
 
Old 06-26-2007, 07:11 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
"CD emulator"..umm that's a weird term. Do you mean you would like to be able to use a CD image file instead of a real in-drive CD? It depends on what you need, but you can mount a CD image file to a directory like this:
Code:
mount -o loop /home/fofire/cdimage.iso /media/cdrom
which mounts the image to be a part of the filesystem (change path and filename accordingly!) in /media/cdrom. That's how you would mount a regular cdrom too, except that with images you need the loop option (and cdrom device file would be something like /dev/cdrom and not some .iso file).

If it's about games that do cd checks and so on, then I'm not sure if that's enough.
 
Old 06-26-2007, 07:17 AM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Well you can easily create images of CDs or DVDs with 'dd'. For example, if the CD/DVD drive is /dev/hdc:

dd if=/dev/hdc of=myimage.iso

The file then has the image of the CD/DVD. You can use the image of a CD/DVD as it it were a disk in a drive, by "loopback" mounting it. For example:

mkdir somedir
mount -t iso9660 myimage.iso somedir -o loop,ro

The above will create a directory (mountpoint) called somedir, and loopback mount the CD/DVD image. You can then use the files in "somedir/" as if the physical CD/DVD were mounted there.
 
Old 06-26-2007, 07:34 AM   #4
fofire
LQ Newbie
 
Registered: Aug 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by b0uncer
"CD emulator"..umm that's a weird term. Do you mean you would like to be able to use a CD image file instead of a real in-drive CD? It depends on what you need, but you can mount a CD image file to a directory like this:
Code:
mount -o loop /home/fofire/cdimage.iso /media/cdrom
which mounts the image to be a part of the filesystem (change path and filename accordingly!) in /media/cdrom. That's how you would mount a regular cdrom too, except that with images you need the loop option (and cdrom device file would be something like /dev/cdrom and not some .iso file).

If it's about games that do cd checks and so on, then I'm not sure if that's enough.

Thanks for the help . . . yeah I want to mount a bin/cue in order watch movies.

I will try that option. I didnt think about Linux already haveing it programed into it.

Thanks again

Fofire
 
Old 06-26-2007, 07:43 AM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
There's no reason in Linux to mount a bin/cue or iso to play a movie. You can play the bin file directly:

mplayer some.bin

If it's an iso image of a DVD, you can play it with (for example):

mplayer dvd://1 -dvd-device /home/myuser/some.iso
 
Old 06-26-2007, 10:54 AM   #6
fofire
LQ Newbie
 
Registered: Aug 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by macemoneta
There's no reason in Linux to mount a bin/cue or iso to play a movie. You can play the bin file directly:

mplayer some.bin

If it's an iso image of a DVD, you can play it with (for example):

mplayer dvd://1 -dvd-device /home/myuser/some.iso

I feel so stupid for not trying that . . . you're right it works like that
Thanks

fofire
 
  


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
Looking for a PC-98 Emulator... Elric of Grans Linux - Software 2 03-08-2007 08:15 PM
Emulator $@ya Linux - Software 3 06-02-2005 11:25 AM
I need an emulator tux66 Slackware 9 05-20-2005 09:40 PM
Can I use an emulator phatboyz Linux - General 2 02-01-2005 11:52 AM
Emulator help TechSonic Linux - Software 1 03-02-2004 04:59 PM


All times are GMT -5. The time now is 02:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration