PDA

View Full Version : .nrg file conversion


blkno1
July 3rd, 2006, 10:26 AM
Well from reading the posts, I guess K3b can burn .nrg files to disk. But if thats not an option heres what I did.

~$ apt-get install nrg2iso

After install run

~$ nrg2iso filename.nrg filename.iso


All set! \\:D/

-bk

DirtDart
July 3rd, 2006, 12:02 PM
Thanks for the info!

I always hate it when people make images in the nrg format; it's not like Nero won't make an .iso. So much easier (like mounting the image), to deal with .iso format.


Hey...what part of NH are you in ? (I'm in Nashua)

barbarian
July 3rd, 2006, 02:10 PM
Thanks, it worked.

Chrissss
July 3rd, 2006, 07:01 PM
What about a simple

# mv filename.nrg filename.iso

The nrg format IS a iso Format plus a 300kb header which doesn't hurt, if you rename and burn that iso image. All nrg2iso does is
...
while((i= fread( buffer, 1, sizeof(buffer), nrgFile ))>0){
fwrite(buffer,i,1,isoFile);

//Code to display a progress bar

fflush(stdout);

fclose(nrgFile);
fclose(isoFile);
printf("\n%s written : %llu bytes\n",argv[2],size);
}
...
Thats not exactly what i call rocket science ;)

For those who can understand german, here are two threads out of the german ubuntu forum, which explain more.

nrg image brennen
http://forum.ubuntuusers.de/topic/27764

nrg2iso - Wtf?
http://forum.ubuntuusers.de/topic/27931

CU
Christoph

indiapavan
November 30th, 2008, 05:29 AM
Wow. That solves a lot of problems for me. But can I mount the .nrg file directly using gmount?