LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-07-2005, 02:22 AM   #1
herve2001
Member
 
Registered: Sep 2004
Posts: 34

Rep: Reputation: 15
Opening NRG, BIN and ISO files


Does anybody know how to open .nrg, bin or iso files in slackware?
I've heard you can mount iso files like cd rom drives using the mount command, but I don't know anything about the other formats.

I've tried installing cdemu but I get all sorts of errors when I try to run it.
When installing the latest version I get this error:
(as root I run make)

make -C /lib/modules/2.4.26/build SUBDIRS=/home/herve/dls/cdemu-0.7 modules
make[1]: Entering directory `/usr/src/linux-2.4.26'
make -C /home/herve/dls/cdemu-0.7 CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/home/herve/dls/cdemu-0.7'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -D__KERNEL__ -I/usr/src/linux-2.4.26/include -c -o cdemu.o cdemu.c
cdemu.c:728: error: `cdemu_block_ioctl' undeclared here (not in a function)
cdemu.c:728: error: initializer element is not constant
cdemu.c:728: error: (near initialization for `cdemu_bdops.ioctl')
make[2]: *** [cdemu.o] Error 1
make[2]: Leaving directory `/home/herve/dls/cdemu-0.7'
make[1]: *** [_mod_/home/herve/dls/cdemu-0.7] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.26'
make: *** [all] Error 2


I have no clue what that means.
Anyway, I tried installing an older version (0.5)
all worked well, I even ran the modprobe cdemu command at the end with no errors.
The problem happens when I try to run the program:

Traceback (most recent call last):
File "/usr/bin/cdemu", line 45, in ?
import libcdemu
ImportError: No module named libcdemu

Again, I have no clue what that means.

So, I've pretty much given up on cdemu, are there any other programs that can handle bin and nrg files?

Thanks.
 
Old 11-07-2005, 03:58 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
How about MountISO, it's a KDE app. I wanted to compile it myself but didn't find the time to check this program. Sounds like it should be fine for you.

http://www.kde-apps.org/content/show.php?content=11577

EDIT: forgot Link because of fever (sic!)
 
Old 11-07-2005, 07:02 AM   #3
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 433

Rep: Reputation: 117Reputation: 117
I have used an older version of cdemu (before the python stuff) and it worked very good.

But you can try other programs too.

1) ISO
no program needed
use "mount -o loop file.iso /mount_point"
replace "file.iso" and "mount_point" with yours

2) Nero nrg
Use nrg2iso to make it iso and then mount it using 1)
(http://gregory.kokanosky.free.fr/v4/...iso-0.4.tar.gz)

3) BIN/CUE
Burn in cd and then mount
with cdrecord (cuesheet=file.cue) or cdrdao
Or convert to iso and then use 1)
There are many utils to do it.
One of them is bchunk
(http://he.fi/bchunk/)
 
Old 11-07-2005, 10:55 AM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I put all this stuff into the wiki if it will be of any help to you...

http://wiki.linuxquestions.org/wiki/CD_Image_Conversion
 
Old 11-07-2005, 12:35 PM   #5
herve2001
Member
 
Registered: Sep 2004
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks alot guys! you've solved my problem

ps That wiki is amazing
 
Old 12-03-2005, 01:03 AM   #6
xweb
Member
 
Registered: Dec 2005
Location: norfolk, va
Distribution: kubuntu, debian
Posts: 36

Rep: Reputation: 16
i found the solution

copy the libcdemu.py file to the same folder that cdemu is in (on my system /usr/bin).

works fine after that.
 
  


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
Opening a .bin file? musichris777 Linux - Newbie 10 06-21-2007 09:21 PM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
Opening a .bin file? musichris777 Red Hat 3 09-15-2005 01:10 PM
bad problem opening a bin file. dirky Linux - Newbie 1 09-25-2004 10:13 PM
opening a .bin file JRussell Linux - Newbie 7 05-10-2003 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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