LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   *.nrg with cdrecord? (https://www.linuxquestions.org/questions/linux-software-2/%2A-nrg-with-cdrecord-21921/)

Freakazoyd 05-27-2002 08:40 AM

*.nrg with cdrecord?
 
i have files on my computer with the ending NRG


is it possible to make " cdrecord -v -dev=* -speed=* *.nrg "

or do i have to covert the .NRG file into a .ISO file and how can i do it?



* is optional

neo77777 05-27-2002 09:40 AM

use mkisofs to create iso image, refer to man mkisofs for full details of available options and syntax.

Thymox 05-27-2002 11:01 AM

I haven't heard of there being anyway to conver .nrg (Nero) images to .iso images under Linux...there possibly is, but I've never come across it. You could try doing it with Easy CD Creator since, I believe, it can read .nrg files, and I know it can write .iso files...not sure if it'd work though. Give it a try.

beamer 09-05-2003 12:03 PM

If you try the file command on a .nrg file it says it's an ISO
>file some.nrg
some.nrg: ISO 9660 CD-ROM filesystem data

isoinfo can read the .nrg file:
>isoinfo -d -i som.nrg
CD-ROM is in ISO 9660 format
System id:
Volume id: SOME_SX
Volume set id:
Publisher id:
Data preparer id:
Application id:
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 167101
Joliet with UCS level 3 found
NO Rock Ridge present

you can mount it on the loopback device:
> mount -r -o loop some.nrg /mnt/tmp
> ls -la /mnt/tmp
etc...
> umount /mnt/tmp

and yes, no troubles burning it
> cdrecord -v fs=64m -eject -data some.nrg

aaa 09-05-2003 01:03 PM

However, when I tried mounting a *.nrg image, it didn't work.

rkwellstead 09-06-2003 11:18 AM

nrg to iso converter
 
I can't mount nrg files either - they are not iso files!

Get the nrg to iso conerter called nrg2iso from http://gregory.kokanosky.free.fr/v4/...rg2iso.en.html

I just found it whilt googling about...

Ciccio 09-06-2003 01:01 PM

try this: copy the image to image-name.iso (don't move or at least make a backup) - try to mount it - use cdrecord

if you can't mount it... forget about cdrecord... I know linux does not care about 'extensions' but if file says it's an iso... perhaps it IS... and maybe the mount and cdrecord can't work without extensions... or with wrong extensions...

When I boot windows I'll create a nero image and try it...

icTaZ 09-28-2003 02:02 PM

nrg2iso not needed, "dd' is enough
 
I looked at the source of nrg2iso a guess what:

it simply skips first 300kB (307200 bytes)! So, nrg = 300kB + iso. That means you don't need the nrg2iso (and C compiler to build it :)), enough is dd:

'dd bs=1k if=image.nrg of=image.iso skip=300'

:-))

the nrg2iso program has only the advantage: it first checks, if input file is not already iso format. :-)

but i didn't need C compiler, just dd. :)

good luck!

icTaZ

Thymox 09-28-2003 08:40 PM

Welcome to LQ, icTaZ. Good call on the NRG files! I have actually managed to mount them (manually as root) using just to -o loop option, but that sounds like a sure-fire way to make it work well. Nice one!

Ciccio 09-29-2003 12:12 PM

Thanks. It's interesting to know that. I always wondered how to convert from NRG to ISO... Without the nrg2iso, of course. Until now I would just record the nrg image with nero in a CD-RW and then dd it to an ISO image on linux. I always hace both OS on the computer with the recorder... it makes it easyer sometimes to do it with windows...


Anyway, good call, thanks.

Oh, BTW: welcome to LQ.org

Have Fun...


All times are GMT -5. The time now is 05:41 PM.