Since my hackintosh has no optical drive (I keep all my optical media as images on my storage server) and burning DL DVD has always failed me anyways, I tried and succeeded to install SL using iBoot from a flash disk onto one single harddrive. Both SL and iBoot are on the same flash disk so no DVDs are needed.
This guide is partly based on http://www.insanelymac.com/forum/index.php?showtopic=180954
Thx, blackosx.I will be continually updating this guide as questions arise. As this is a new guide, please report your success or troubles!
What you need:
- OS X retail disk/image
- Windows 7 retail disk/image
- 2 USB sticks which fit OS X and Win7 respectively. OS X needs an 8GB stick, Win7 can do with a 4GB stick.
- A PC running OS X to prepare OS X installation media.
- Linux (Live disk) for preparing Win7 installation media if you want to use my technique. There are alternative ways to make a bootable USB Win7 install USB stick under Windows as well.
This guide does not touch on general iBoot topics, updating OS X, configuration etc. and instead focuses primarily on installing both OSs using USB sticks. I highly recommend looking at the links below for the correct BIOS settings, some gotchas and anything post installation related (MultiBeast):
Installation Troubleshooting Tips & General Recommendations http://www.tonymacx86.com/viewtopic.php?f=3&t=9541
iBoot + MultiBeast: Install Mac OS X on any Intel-based PC http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html
Prepare OS X USB stick installation media under OS X :
Partition and format one flash disk as Mac OS Extended (HFS+) using GUID Partition Table or Master Boot Record with the volume name “SL”. Verify that the partition is bootable (Command-i in Disk Utility: “Bootable: Yes”).
Download latest Chameleon from http://chameleon.osx86.hu
After unzipping, open Terminal and go into in the i386 directory.
Modifying the MBR: Substitute X with your flash disk number (use CMD-i in Disk Utility or “diskutil list” to find the disk number. I.e /dev/disk2). Don’t omit the “./” before “fdisk”:
$ ./fdisk -f boot0 -u -y /dev/diskX
More info here: http://www.puredarwin.org/developers/booting/boot
Unmount (not eject) partition. Can be done in Disk Utility.
Modifying the bootsector of the first partition: Substitute X with your flash disk number and x with the partition number (use CMD-i in Disk Utility or “diskutil list” to find the disk and partition numbers. I.e /dev/disk2s2):
$ dd if=boot1h of=/dev/diskXsx
Re-mount the flash disk. Can be done in Disk Utility.
Copy startup file to flash disk at the mounted location of /dev/diskXsx:
$ cp boot /Volumes/SL/
Mount iBoot.iso. Can be done in Disk Utility.
Copy iBoot files to flash disk:
$ cp -Rp /Volumes/iBoot/* /Volumes/SL/
Restore Mac OS X install disk to the flash disk partition using Disk Utility. Uncheck the checkbox “Erase destination” before restoring!
Reboot the system.
Choose OS X in the boot menu and wait for the setup to start.
Choose step “a” or “b” depending on if you want a dual boot system:
Single boot (only OS X, no Windows):
If OS X will be the only system on your harddrive, open Utilities/Disk Utility and partition the harddrive with GUID Partition Table. Format at least one partition with HFS+ Journaled for OS X. This partition needs to be <1TB otherwise you cannot boot OS X from it. You can go ahead and install OS X now. Keep the flash disk connected and reboot after the installation is finished.
Now you should be able to choose your installed OS X in the boot menu.
Congratulations, you have successfully installed OS X !
It is time to revisit Tonymacs tutorial to set up MultiBeast:
…and look at the bottom for some useful links.
Dual boot (OS X and Win7):
If you want to dual boot, open Utilities/Disk Utility and partition the harddrive into 2 or more partitions with GUID Partition Table. Format one partition with HFS+ Journaled for OS X and a second one with Fat32 for Win7. The HFS+ partition needs to be <1TB to be able to boot OS X from the harddrive later. You can of course create more partitions if you like, for maybe BSD, OpenSolaris, FreeDOS and possibly Acorn as well.
Do not start the installer yet! You can quit the OS X setup for now.
Prepare the Win7 installation media flash disk using a second stick
There are many ways to create a Win7 USB installation medium and any of them is fine to use, google is your friend. I only ever managed to do this successfully under linux myself :
Create partition with fdisk, using type 7 and set it as active (bootable). Please look at the man page on how to use fdisk.
Formating the flash disk as NTFS: Substitute X with your flash disk number and x with the partition number (I.e. /dev/sdf1). You can check this by running blkid.
$ mkfs.ntfs -f /dev/sdXx
Writing a Windows boot record using ms-sys: Most distros have a binary package available. Source code is here http://ms-sys.sourceforge.net/
Substitute X with your flash disk identifier (I.e. /dev/sdf). You can check this by running blkid.
$ ms-sys -7 /dev/sdX
18) Mount the flash disk using ntfs-3g:
$ mount -t ntfs-3g /dev/sdXx /mnt/usb2
Mount your Windows 7 ISO as a loop device:
$ mount -o loop windows7-x64.iso /mnt/iso
…or insert and mount your Win7 DVD.
Copy all Windows 7 installation files to the flash disk:
$ cp -r /mnt/iso/* /mnt/usb2
Unmount the flash disk:
$ umount /mnt/usb2
Install Windows: Boot with the Windows USB stick first and do the Windows install, picking the Fat32 partition as target and choosing NTFS if it asks to convert the partition.
Install OS X: Boot with the OS X stick, choose OS X in the boot menu and wait for setup to start. Perform the OS X installation. Keep the flash disk connected and reboot after the installation is finished.
Now you should be able to choose your installed OS X or Win7 in the boot menu.
Congratulations, you have successfully installed OS X and Win7 in a dual boot configuration !
It is time to revisit Tonymacs tutorial to set up MultiBeast:
Links with useful hints:
Subpixel anti-aliasing http://www.tonymacx86.com/viewtopic.php?p=15072#p15072
PrefPane for Chameleon settings http://forge.voodooprojects.org/p/chameleonApplications/source/tree/HEAD/trunk/ChameleonPrefPane/bin/OSX106
If anyone wants to try, for step 4) instead of using the chameleon patched fdisk:
$ dd if=boot0″ of=/dev/diskX bs=440 count=1
Taken from here http://forum.voodooprojects.org/index.php?topic=1141.0
This way it might be possible to do all preparations with only a Linux Live disk, without the need of having access to a Mac at all.
Guide Created by freedumb2000