If you “come across” some .uif or .nrg files on the internet, you may want to convert them to .iso files so that you can easily mount them or burn them to a disk. Unfortunately, there are no tools available in the Ubuntu repository to do the same. The most popular way seems to be using Magic ISO under wine. Magic ISO is a shareware, so it has several limitations. (UIF is incidentally associated with Magic ISO.)
Thankfully, there is another way out. A programmer by name Luigi Auriemma has created a small tool which can convert .uif files to .iso. Installing this tool is very easy. Unextract the zip file to a folder. You can find the source code under the src folder. Just type the following at the terminal to get some of the dependencies:
apt-get install zlib1g zlib1g-dev libssl-dev
Once these packages are installed, type ‘make’ at the terminal. You will get uif2iso executable in this folder itself. Now to convert any .uif file, type:
./uif2iso ubuntu.uif ubuntu.iso
Of course, I assume that ubuntu.iso is your file name. (Interestingly, this application works perfectly on Mac OS X too! In the above instructions, just skip the apt-get part. I assume that you have XCode installed).
On Ubuntu, there is a tool for converting .nrg files to .iso. To install it, just type:
apt-get install nrg2iso
Use similar instructions for converting.
Bonus Tip: While you are at Luigi’s site, check out the huge collection of open source tools that he has put up for free. You may find some of them pretty useful for you.

{ 3 trackbacks }
{ 7 comments… read them below or add one }
This little app really is a beauty. It worked just like it says it will, even for me, a relative linux noob. Thanks for the great heads up!
uif2iso worked great thanks very much saved me having to use a windows box!
I am looking for a way to mount uif images directly without needing to previously convert them, why? Easy i have about twenty to thirty 703MB cd images per DVD, since UIF is a compressed image format all this CDs fits in one DVD, so a full archive of CDs now i have it on single DVD-r. In this way i have arround one hundred DVDs so i have more that 3500 uif images.
I wnat to be able to mount them directly so no need to convert them to iso. Just imagine looking for a file on such huge amount of images if you must convert one after onother to iso, rather than just mounting them.
Please help. MagicDisc under wine do not work for me, fails to run.
Note: I was a windows user, but since so many bugs on windows i decided to migrate to Linux, but i need to be able to access to UIFs in som way like mount does for iso ones.
Thans a lot.
Worked like Charm. Thanks for sharing.
uif2iso wonderful tranlater.
it is good working, thanks for this post…
gr8 post and a wonderful tool
thanks a lot
Installation went on VERY SMOOTHLY. Thanks a lot for sharing this very valuable information