How to create a iPortable OSx86i 10.5.4 live USB stick using Ubuntu Linux
What you need:
PC with installed Ubuntu 8.10 Intrepid Ibex Linux.
8GB USB stick.
Broadband Internet connection.
Some Linux know-how.
Step 1: Download
"iPortable OSx86 Leopard 10.5.5 USB Stick" via torrent from p2p.
The download contains 3 files:
iPortable OSx86i 10.5.4 info.dmg size: 18.6 MB
iPortable OSx86i 10.5.4 USB image.dmg size: 2.4 GB
iPortable ReadMe.rtf size: 30.4 KB
Step 2: extract .dmg file
Use DMGExtractor from http://hem.bredband.net/catacombae/index2.html to convert the 2.4GB .dmg to a .img file. The resulting .img will be about 7.5GB
To do this you need to have Suns Java installed.
Then rightclick on
/home/me/dmgextractor-0_70-bin/lib/dmgextractor.jar
and run it using "Open with Sun Java 6 Runtime" option.
Step 3: Prepare USB stick
"dd" the .img file to a 8GB USB stick:
sudo dd if='/home/me/iPortable OSx86i 10.5.4 USB image.img' of=/dev/sdb
(There is no need to format the USB stick. The .img file contains everything needed, includung the MBR and the partition.)
Done
Restart and enjoy!
P.S.0:
Please post a message if you could repeat this.
I especially like to know if OSX on the USB stick is fast enough for you.
It's extremely slow for me.
P.S.1:
When trying to actually use the OSX I noticed that it is way to slow for everything.
This might be related to the USB stick, even when i just bought it January 2009.
I will try to repeat the whole process with a USB 2.0 HDD and hope for better speed.
P.S.2:
The following is unnecessary to create the bootable live USB stick.
If you just like to have a look at whats inside the .dmg file, without using a USB stick, this is the way:
Preparations:
Search for "hfs" (without the quotes) in Ubuntu Synaptic Package Manager and install all packages found, to deal with Mac OSX hfs file systems.
file home/me/iPortable OSx86i 10.5.4 USB image.iso
gave
x86 boot sector; partition 1: ID=0xaf, starthead 1, startsector 63, 15658902 sectors
So I cut off the first 63 sectors:
sudo dd if='iPortable OSx86i 10.5.4 USB image.img' of='/home/me/iPortable OSx86i 10.5.4 USB image2.img' skip=63
Which I then was able to mount:
root@u810:/home/me# mount -o loop -t hfsplus '/home/me/iPortable OSx86i 10.5.4 USB image2.img' /home/me/here
which has this directory structure and all files are totally accessible:
Applications
Library
System
Users
mach_kernel.ctfsys
update
In Ubuntu Nautilus file manager you might want to press Ctrl+H to make hidden files visible, as there are a lot!
P.S.3:
If you unplug and then plug in the USB stick again, Ubuntu will mount it automatically.
(If you have the hfs packages installed as described above.)
