Inhaltsverzeichnis

Complete tutorial for Newbies (Linux)

Mount the disk containing the tiger-x86-flat.img file, eg: If you have your NTFS Windows disk on the first partition of the first disk:

 mkdir /mnt/temp
 mount /dev/hda1 /mnt/temp

If you have the file on a remote Windows share:

 mkdir /mnt/temp
 mount //machinename/share /mnt/temp -t smbfs -ousername=yourusername,password=yourpassword

(you can also use an IP address instead of machinename)

Then, do the following, and REPLACE of=/dev/hda2 by whichever partition you noted down above ! (like, of=/dev/hdb3 or of=/dev/hda3, etc..)

 cd /mnt/temp
 dd if=tiger-x86-flat.img of=/dev/hda2 bs=512 skip=63

Note this will skip the first 63 blocks of the disk image. These blocks describe how the disk is partioned. After the 63th sector, there is the first partition, which in this case is what we want. Most people get that totally wrong!

Wait long.. then

Installing the bootloader

Grub in short

If you already have Grub working. Add this section to your /boot/grub/grub.conf (or /boot/grub/menu.lst):

 title MacOSX
 root (hd0,1)
 chainloader --force +1


I had to put this in my menu.lst file to get things working:

 title OSX_X86 
 rootnoverify (hd0,2) 
 makeactive 
 chainloader +1

Grub for newbies

Get Grub.

  • It's either on Wingrub if you want to install it from Windows.
  • It is Grub if you are on linux.

Whichever choice you make, install it normally, and create rules for your Windows and MacOSX partitions.

On Linux, partitions start from 1. So, we have hda1, hda2, hda3, ...

On Grub, partitions start from 0! So you have hda1 = (hd0,0), hda2 = (hd0,1) and so on If you parition with OSX was hdb2, then it is (hd1,1)

Note Make sure to use the right parition to boot your current OS or you will not be able to boot anymore. Well, actually, it is possible to recover from within Grub at boot, but be sure to have the Grub manual in your hands :)

 title WindowsXP
 root (hd0,0)
 chainloader +1
 title MacOSX
 root (hd0,1)
 chainloader +1

if you choosing use lilo, edit the file /etc/lilo.conf and put this entry:

other=/dev/hda2 label=MacOSX

Then after run "lilo" at the prompt (as root).

Windows bootloader boot

You can also use the windows bootloader (Windows XP/2k/2k3/MCE2k5 tested and working).

First, copy the file chain0 (DEV-DVD or tiger-x86 image at /usr/standalone/i386/chain0) to the root of your Windows drive (usually C:\). Now add a new line to your boot.ini (C:\boot.ini opened with Notepad will do):

C:\chain0="Mac OS x86"

Be sure to check you didn't mess up the boot.ini file by going to Start - Run and typing in "msconfig" and pressing OK. Now go to the Boot.ini tab and press Check All Boot Paths.

Two other ways to get ahold of the chain0 file:

  • One by downloading and extracting Darwin 8.01 to your hd. Mirror 1 , Mirror 2 , Mirror 3 (requires AppleID, you can register it for free in the Apple site).. You will find the chain0 file at /usr/standalone/i386/chain0
  • Use MediaFour MacDrive 6 to read the Mac partition after you "dd" the tiger-x86 image to it, and it's located at X:\usr\standalone\i386\chain0 (X being the drive letter of the Mac partition) NOTE: you will have to give the partition a drive letter using the Windows Disk Manager utility. Right click on the partition and choose Assign Drive Letter...

One temporary way to get the chain0 file:

What if I get a "Chain booting error" message?

This message comes from chain0, it probably means it cannot find the right partition. Make sure you have a partition of type AF and it correctly has the disk image copied to it.

Even Easier Boot

Boot off your Live CD.

 cfdisk /dev/hda

Toggle the Bootable flag for the partition that you have OSX86 on.