Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49782 - nrg2iso does not produce useable iso files
Summary: nrg2iso does not produce useable iso files
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-02 15:58 UTC by Mitchell
Modified: 2004-07-17 23:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mitchell 2004-05-02 15:58:36 UTC
I run nrg2iso on an nrg file I have.  The resultant ISO file does not have the proper hex header for an ISO file so it appears as data instead of being recognized as an ISO file system.  This prevents me from mounting the ISO file loopback and getting the data off of the ISO filesystem.

Reproducible: Always
Steps to Reproduce:
1.nrg2iso input.nrg output.iso
2.mount -t iso9660 -o ro,loop output.iso /mnt/cdrom
3. file output.iso
Actual Results:  
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       or too many mounted file systems
output.iso: file

Expected Results:  
Mounted ISO loopback
output.iso: ISO 9660 CD-ROM filesystem data
Comment 1 SpanKY gentoo-dev 2004-05-05 11:08:05 UTC
uhh could you provide more information about the nrg you used ?
Comment 2 Mitchell 2004-05-05 12:37:13 UTC
Here you go:

*  app-cdr/nrg2iso
      Latest version available: 0.2
      Latest version installed: 0.2

localhost root # emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.10
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aalib apm arts avi berkdb bonobo crypt cups dga encode foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mmx motif mozilla mpeg ncurses nojoystick oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype video_cards_i810 vim-with-x x86 xml2 xmms xv zlib"
Comment 3 SpanKY gentoo-dev 2004-05-05 17:19:03 UTC
not the program, the image :P

i cant debug a nrg i dont have
Comment 4 Mitchell 2004-05-05 18:12:14 UTC
My images are of the CDs we have at work.  I have five image files that range in size from 91MB to 461MB.  I do not think it would be acceptable to post such a large file to bugzilla.  What should I do?
Comment 5 SpanKY gentoo-dev 2004-05-05 20:38:49 UTC
i just committed 0.2-r1 for a diff bug ...

i dont think it'll fix your bug, but you can try ;)
Comment 6 Mitchell 2004-05-06 07:14:46 UTC
I gave the ebuild for nrg2iso (0.2-r1) a try by building an iso file from the same nrg.  The result was I still have an iso file that the file command only can recognize as data and that mount -t iso9660 will not accept.
Comment 7 SpanKY gentoo-dev 2004-07-17 23:47:57 UTC
i'd suggest trying to e-mail the author and see if they can help ... i dont really know much about nrg file formats myself ;)

http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html