Convert UIF to ISO

The fastest way to convert an UIF image to ISO image is UIF2ISO. It is a speedy command line tool, that will save you the hassle of installing wine and MagicISO.

This is how I downloaded and installed UIF2ISO, written by Luigi Auriemma.

1. We first need to install zlib and OpenSSL with apt-get.

sudo apt-get install zlib1g zlib1g-dev libssl-dev build-essential

2. Now we can download UIF2ISO with wget from a terminal, or from the author’s site here.

wget http://aluigi.altervista.org/mytoolz/uif2iso.zip

3. Once you have the file downloaded, unzip it and cd into the directory.

unzip uif2iso.zip
cd src

4. Finally compile the source, and create the executable.

make
sudo make install

5. Now you can convert the .uif file to an .iso with the following command:

uif2iso example.uif output.iso

Mounting an ISO

You don't necessarily need to burn a cd in order to access the files within the ISO. You can mount it with some simple commands.

Here is how to mount the ISO from command line.

sudo modprobe loop
sudo mkdir ISO_directory
sudo mount /media/file.iso /media/ISOPoint/ -t iso9660 -o loop

Many thanks, your utility has done the job.

Andy

Apparently the source code is located inside a folder titled "src". So your step that says:

"unzip uif2iso.zip
cd uif2iso"

...should read:

"unzip uif2iso.zip
cd src"

Other than that, all was well. Thanks!

Thank you Cassidy, for the correction.

Thanks for the help bro, worked like a charm.
I'm not going to nitpick your steps, as you provided the pertinent info.

I’m glad I could help, and thank you Doug, for your comment.

I have developed a thick skin, working as a help desk technician over the years. So please hit me with your feedback, as it will help the next person who reads this article.

This is the best way to convert uif to iso on my Ubuntu Linux!! Thank you!

Thanks a lot for this perfect utility.
I didn't see any type of license file included. You may want to apply a suitable license so that it can find its way into various distributions, and ultimately into other file system tools.

Much appreciated.

After some digging, the license is inside the source file(src/uif2iso.c).

/*
Copyright 2007,2008 Luigi Auriemma

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

http://www.gnu.org/licenses/gpl.txt
*/

What am I doing wrong?
Thanks!

patricio@patricio-desktop:~$ sudo apt-get install zlib1g zlib1g-dev libssl-dev build-essentials
Reading package lists... Done
Building dependency tree      
Reading state information... Done
zlib1g is already the newest version.
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
E: Couldn't find package build-essentials

patricio@patricio-desktop:~/src$ make
cc uif2iso.c -O2 -s -o uif2iso -lz -lssl -lcrypto
uif2iso.c:33:25: error: openssl/des.h: No such file or directory
uif2iso.c:126: error: expected declaration specifiers or ‘...’ before ‘DES_key_schedule’
uif2iso.c:131: error: expected ‘)’ before ‘*’ token
uif2iso.c: In function ‘main’:
uif2iso.c:159: error: ‘DES_key_schedule’ undeclared (first use in this function)
uif2iso.c:159: error: (Each undeclared identifier is reported only once
uif2iso.c:159: error: for each function it appears in.)
uif2iso.c:159: error: ‘ctx’ undeclared (first use in this function)
uif2iso.c:311: error: too many arguments to function ‘blhr_unzip’
uif2iso.c:323: error: too many arguments to function ‘blhr_unzip’
uif2iso.c:333: error: too many arguments to function ‘blhr_unzip’
uif2iso.c: At top level:
uif2iso.c:806: error: expected declaration specifiers or ‘...’ before ‘DES_key_schedule’
uif2iso.c: In function ‘blhr_unzip’:
uif2iso.c:813: error: ‘ctx’ undeclared (first use in this function)
uif2iso.c: At top level:
uif2iso.c:952: error: expected ‘)’ before ‘*’ token
make: *** [all] Error 1

ok, I think I needed for Ubuntu we need to use:
build-essential without the “s”
Thanks,
Patricio

Wes, Conversion works great! For mounting I didn’t test gmountiso
but this works too:
sudo modprobe loop
sudo mkdir ISOPoint
sudo mount /media/file.iso /media/ISOPoint/ -t iso9660 -o loop
Patricio

There was a typo(build-essential) should not have an “s”.

Thanks Patricio for pointing out the typo, and providing a pure command line procedure, for mounting ISOs.

Thanks! your utility has done the job.
:-)

Thanks mate. This rocks! :)

Many thanx ;D works perfectly fine for me

Thank you very much for this. You deserve a medal.

Thanks a lot, worked like it should on DreamLinux

sudo apt-get install gmountiso does not work, it cant find a package by that name.
nvm, mounted using the other method.

Thanks for the program worked great on Kubuntu. As an aside you don't have to download the gmountiso program. iso files can be mounted already with the command:
mount -o loop example.iso /media/temp

HI ,thanks for the nice tool....
it works like a charm...

Very helpful tutorial, you saved me a lot of time struggling with Wine and Magiciso. Thank you.

thank you, thank you, thank you!

Brilliant. Took about two minutes to do. Thank you so much!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
copy the characters (respecting upper/lower case) from the image.