LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-26-2008, 08:49 AM   #31
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 31

Quote:
Originally Posted by nbrouard View Post
It seems that:
- all2iso is in a very premature state concerning uif2iso.c and does not work on any file.
- poweriso is not really working too (same output message).

- wine Setup_MagisISO.exe and
wine ~/.wine/c/Program\ Files/MagicISO/miso.exe foo.iso -conv iso foo.uif
works in my tested cases.
Worked a charm. Took 2 minutes to install and run. Thanks.
 
Old 01-28-2008, 12:35 AM   #32
mtsyd
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
Hi all.

Check out Luigi Auriemma's version of uif2iso (also at freshmeat).

It worked a charm with all uif images I've tested so far, including the test image posted by jong357 at http://jaguarlinux.com/pub/sandbox/test.uif

Code:
bash:$ ~/Project/uif2iso/uif2iso test.uif test.iso

UIF2ISO 0.1.1
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- open test.uif
- create test.iso

  file size    000000000000027b
  version      1
  image type   8
  padding      0
  sectors      27
  sectors size 2048
  blhr offset  0000000000000202
  blhr size    121
  hash         a1548d069d3f7d01f373ca7c2890b0e1
  unknowns     00000040 00000000 00000000 00000000
  100%
- 0x000000000000d800 bytes written
bash:$ sudo mount -tiso9660 -oloop test.iso tmp
bash:$ cd tmp/
bash:$ ls
test.txt
bash:$ cat test.txt
This text file is all I put in the uif image.
 
Old 01-28-2008, 06:35 AM   #33
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Cool. Thanks for posting. It does indeed work.
 
Old 03-11-2008, 07:24 PM   #34
DarkpawT
Member
 
Registered: Mar 2008
Distribution: Fedora (home) - Ubuntu (work)
Posts: 33

Rep: Reputation: 15
.ufi doesn't work with linux poweriso

Not for me. I get this when I try to convert .uif to .iso:

"The file format is invalid or unsupported."


There's no specific version number on the help display, but it's dated 2007:

PowerISO Copyright(C) 2004-2007 PowerISO Computing, Inc
Type poweriso -? for help


According to its help, it appears to only support:

-ot <iso|daa|bin> Specify output image file type. If not specified,
the image type will be determined by file name suffix.


Any other ideas for .uif? Any suggestions would be appreciated. wine isn't really an option I'd prefer.
 
Old 03-11-2008, 07:29 PM   #35
DarkpawT
Member
 
Registered: Mar 2008
Distribution: Fedora (home) - Ubuntu (work)
Posts: 33

Rep: Reputation: 15
uif2iso

Nevermind...found "uif2iso" here:

http://aluigi.altervista.org/mytoolz.htm#linux

Compiled and it works fine.

 
Old 05-02-2008, 01:52 AM   #36
grahamatlq
Member
 
Registered: Dec 2006
Posts: 37

Rep: Reputation: 17
Unhappy 64-bit large file problem

This uif file was 3.3Gb:


graham@TestBench:~/Desktop/uif2iso/src$ ./uif2iso /brain/Data/Archive/Windows/Microsoft\ Visual\ Studio\ 2008\ Professional\ Edition\ +\ CD\ Key/Microsoft\ Visual\ Studio\ 2008\ Professional\ Edition.uif vs2008.iso

UIF2ISO 0.1.3
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org

- open /brain/Data/Archive/Windows/Microsoft Visual Studio 2008 Professional Edition + CD Key/Microsoft Visual Studio 2008 Professional Edition.uif
- create vs2008.iso
an error here means that your exe has no full LARGE_FILES 64 bit support!

Error: Invalid argument
graham@TestBench:~/Desktop/uif2iso/src$
 
Old 05-02-2008, 03:50 AM   #37
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,776

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
That may be because of the spaces and/or the backslashes in the file name. Try cd'ing directly into the folder where the file is located and running uif2iso from there:
 
Old 05-03-2008, 04:17 AM   #38
grahamatlq
Member
 
Registered: Dec 2006
Posts: 37

Rep: Reputation: 17
Still didn't seem to work...

Quote:
graham@TestBench:/brain/Data/Archive/Windows/Microsoft Visual Studio 2008 Professional Edition + CD Key$ ln -s Microsoft\ Visual\ Studio\ 2008\ Professional\ Edition.uif disc.uif
graham@TestBench:/brain/Data/Archive/Windows/Microsoft Visual Studio 2008 Professional Edition + CD Key$ ~/Desktop/uif2iso/src/uif2iso disc.uif vs2008.iso

UIF2ISO 0.1.3
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org

- open disc.uif
- create vs2008.iso
an error here means that your exe has no full LARGE_FILES 64 bit support!

Error: Invalid argument
graham@TestBench:/brain/Data/Archive/Windows/Microsoft Visual Studio 2008 Professional Edition + CD Key$
 
Old 05-03-2008, 04:19 AM   #39
grahamatlq
Member
 
Registered: Dec 2006
Posts: 37

Rep: Reputation: 17
Also renamed the file as well as using a link, but same result
 
Old 05-03-2008, 04:44 AM   #40
grahamatlq
Member
 
Registered: Dec 2006
Posts: 37

Rep: Reputation: 17
Definitely something to do with running on Linux.

This is the same file via samba share running uif2iso on Windows:

----
UIF2ISO 0.1.3
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org

- Select the input UIF file to convert
- Choose the name of the output ISO file to create
- open S:\Archive\Torrent\Microsoft Visual Studio 2008 Professional Edition + CD
Key\Microsoft Visual Studio 2008 Professional Edition.uif
- create S:\Archive\Torrent\Microsoft Visual Studio 2008 Professional Edition +
CD Key\vs2008.iso
- the output file already exists, do you want to overwrite it (y/N)? y

file size 00000000d117fe48
version 1
image type 8
padding 0
sectors 1735492
sectors size 2048
blhr offset 00000000d116d3d4
blhr size 76404
hash 36176174221f1a25175bd01dd223c008
- start unpacking:
002%
----

FYI:

graham@TestBench:~$ uname -a
Linux TestBench 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
graham@TestBench:~$ gcc --version
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

graham@TestBench:~$
 
Old 05-03-2008, 04:47 AM   #41
grahamatlq
Member
 
Registered: Dec 2006
Posts: 37

Rep: Reputation: 17
Also:

root@TestBench:~# apt-get install zlib1g zlib1g-dev libssl-dev
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 manual installed.
libssl-dev is already the newest version.
libssl-dev set to manual installed.
0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
root@TestBench:~#
 
Old 05-03-2008, 11:55 AM   #42
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Try this and then recompile:

Code:
sed -i 's/defined(__MIN/!defined(__MIN/' uif2iso.c
 
Old 05-03-2008, 12:03 PM   #43
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Also, for future reference, change the uif filename to something ficticious. Many people don't condone the piracy of software and often times will result in a thread getting locked or deleted.... It's just bad form to advertise that kinda stuff....
 
Old 05-04-2008, 05:30 AM   #44
grahamatlq
Member
 
Registered: Dec 2006
Posts: 37

Rep: Reputation: 17
Worked

That did the trick.

It also did it in about 10% of the time too.

I looked at the code.

It seems you are applying the MinGW settings which would make sense.

I changed the line to:

Code:
#if defined(__MINGW32__) || defined(__GNUC__)
Which also worked so that might be a good solution.

--

Point taken re the filename :-)
 
Old 05-04-2008, 05:36 AM   #45
grahamatlq
Member
 
Registered: Dec 2006
Posts: 37

Rep: Reputation: 17
A reference for GCC predefines:

http://www.redhat.com/docs/manuals/e...ed-macros.html

__________________
Can one person change the world?
What do you think chaos theory is.
So how are you going to change the world today?

Last edited by grahamatlq; 05-04-2008 at 05:37 AM. Reason: Link explaination
 
  


Reply

Tags
cd, dvd, iso, linux, nero, wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you merge 4 CD ISO images into one DVD ISO image? nsydenham Linux - Software 6 01-15-2007 10:49 AM
convert image.png image.jpg changing colours MikeyCarter Linux - Software 1 11-17-2006 11:16 AM
convert DVD image to CD image vibhory2j General 2 11-22-2005 11:31 AM
How do I convert a MPEG recorded movie to an ISO image in Linux?? avonrep37 Linux - Software 2 10-07-2005 10:13 AM
Can I Convert DVD image to CD image? bnchakraborty Linux - Software 1 07-22-2005 02:17 AM


All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration