- Joined
- Oct 16, 2010
- Messages
- 67
- Motherboard
- 2x SSD
- CPU
- core i7
- Graphics
- GTS 650
- Mac
- Classic Mac
- Mobile Phone
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.
Optional:
- 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.
Let's begin:
0)
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 :
1)
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").
2)
Download latest Chameleon from http://forge.voodooprojects.org/p/chameleon/downloads/
3)
After unzipping, open Terminal and go into in the i386 directory.
4)
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":
More info here: http://www.puredarwin.org/developers/booting/boot
5)
Unmount (not eject) partition. Can be done in Disk Utility.
6)
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):
7)
Re-mount the flash disk. Can be done in Disk Utility.
8)
Copy startup file to flash disk at the mounted location of /dev/diskXsx:
9)
Mount iBoot.iso. Can be done in Disk Utility.
10)
Copy iBoot files to flash disk:
11)
Restore Mac OS X install disk to the flash disk partition using Disk Utility. Uncheck the checkbox "Erase destination" before restoring!
12)
Reboot the system.
13)
Choose OS X in the boot menu and wait for the setup to start.
14)
Choose step "a" or "b" depending on if you want a dual boot system:
Choice a)
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 !
What now?
It is time to revisit Tonymacs tutorial to set up MultiBeast:
http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html
...and look at the bottom for some useful links.
Choice b)
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 :
15)
Create partition with fdisk, using type 7 and set it as active (bootable). Please look at the man page on how to use fdisk.
16)
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.
17)
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.
18) Mount the flash disk using ntfs-3g:
19)
Mount your Windows 7 ISO as a loop device:
...or insert and mount your Win7 DVD.
20)
Copy all Windows 7 installation files to the flash disk:
21)
Unmount the flash disk:
22)
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.
23)
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 !
What now?
It is time to revisit Tonymacs tutorial to set up MultiBeast:
http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html
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/c.../tree/HEAD/trunk/ChameleonPrefPane/bin/OSX106
http://www.tonymacx86.com/viewtopic.php?p=80725#p80725
P.S.:
If anyone wants to try, for step 4) instead of using the chameleon patched fdisk:
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.
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.
Optional:
- 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.
Let's begin:
0)
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 :
1)
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").
2)
Download latest Chameleon from http://forge.voodooprojects.org/p/chameleon/downloads/
3)
After unzipping, open Terminal and go into in the i386 directory.
4)
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":
Code:
$ ./fdisk -f boot0 -u -y /dev/diskX
5)
Unmount (not eject) partition. Can be done in Disk Utility.
6)
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):
Code:
$ dd if=boot1h of=/dev/diskXsx
7)
Re-mount the flash disk. Can be done in Disk Utility.
8)
Copy startup file to flash disk at the mounted location of /dev/diskXsx:
Code:
$ cp boot /Volumes/SL/
9)
Mount iBoot.iso. Can be done in Disk Utility.
10)
Copy iBoot files to flash disk:
Code:
$ cp -Rp /Volumes/iBoot/* /Volumes/SL/
11)
Restore Mac OS X install disk to the flash disk partition using Disk Utility. Uncheck the checkbox "Erase destination" before restoring!
12)
Reboot the system.
13)
Choose OS X in the boot menu and wait for the setup to start.
14)
Choose step "a" or "b" depending on if you want a dual boot system:
Choice a)
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 !
What now?
It is time to revisit Tonymacs tutorial to set up MultiBeast:
http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html
...and look at the bottom for some useful links.
Choice b)
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 :
15)
Create partition with fdisk, using type 7 and set it as active (bootable). Please look at the man page on how to use fdisk.
16)
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.
Code:
$ mkfs.ntfs -f /dev/sdXx
17)
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.
Code:
$ ms-sys -7 /dev/sdX
18) Mount the flash disk using ntfs-3g:
Code:
$ mount -t ntfs-3g /dev/sdXx /mnt/usb2
19)
Mount your Windows 7 ISO as a loop device:
Code:
$ mount -o loop windows7-x64.iso /mnt/iso
20)
Copy all Windows 7 installation files to the flash disk:
Code:
$ cp -r /mnt/iso/* /mnt/usb2
21)
Unmount the flash disk:
Code:
$ umount /mnt/usb2
22)
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.
23)
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 !
What now?
It is time to revisit Tonymacs tutorial to set up MultiBeast:
http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html
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/c.../tree/HEAD/trunk/ChameleonPrefPane/bin/OSX106
http://www.tonymacx86.com/viewtopic.php?p=80725#p80725
P.S.:
If anyone wants to try, for step 4) instead of using the chameleon patched fdisk:
Code:
$ dd if=boot0" of=/dev/diskX bs=440 count=1
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.