Set Your Partition Active Using Fdisk
1:-Boot your Mac OS X installation DVD / USB
2:-Once the installer is running, go to the Utilities menu and open Terminal
3:-Determine which is your MAC OS X partition from entire drive for that
Type “diskutil list” and hit enter
Verify which disk number holds your mac partition (disk0, disk1,disk2 etc.)
4:-Assuming the MAC OS X disk (“disk1”), then
type “fdisk -e /dev/rdisk1″ and hit enter
Ignore the error “fdisk: could not open MBR file “
5:-Determine which partition for MAC OS X needs to be set “Active”
Type p
Verify which partition is for Mac OS X (1, 2, 3, etc.)
6:-Set the partition “Active”
Assuming it is partition 1, then
type f 1 <== use your partition number here !!
7:-Save and exit
Type write
Type y (yes you are sure)
Type exit (to quit)