Jump to content
6 posts in this topic

Recommended Posts

Hi,

 

I all ready used this guid:

 

From: TopazBar

This guide is for restoring our nice, working hackintosh's darwin bootloader.



Basically, Vista RTM foobars our working MBR's bootloader and you get "HFS+ partition error".

In following, I will assume we have one HDD with two partitions: part#1 = OSX and part#2 = Vista



1. Boot off OSX dvd disc in single user mode (press F8 and type -s) 

2. At single user prompt

fdisk -e /dev/rdisk0

flag 1

update

write

quit

4 reboot



At this point OSX should boot up, just like prior to Vista installation.

1 In a terminal window, 

su root

fdisk -e /dev/rdisk0

flag 2

quit

2 reboot



Vista will say "\Window\system32\winload" corrupted, and it will tell you to insert Vista disc and recover.

Follow directions from Vista and recover, then reboot. Check Vista boots and works fine.



1. Boot off OSX dvd disc for single user one last time (press F8 and type -s) 

2. At single user prompt

fdisk -e /dev/rdisk0

flag 1

quit

3. reboot



You will discover that Vista recovered and left MBR's darwin bootloader intact .

Happy ending. 

 

But when I try to get acces to my Leopard Partition (numer 1 in this case, not 0) It says he can't writ the new partition label to it. I tried to set the Vista partition (0) as Flag 2 and then i tried to boot Leopard but it won't boot, it just reboot's after that.

 

I've got this problem after i installed Leopard, Vista worked perfectly befor that. ( I can't boot Vista right now but i'm fixin that)

 

Does anyone knows a answer how i can get Leopard booting?

Hi,

the command

 

fdisk -e /dev/rdisk0 selects your harddisk. Which means that the 0 is essential - you'll need to change the stuff with "flag" according to your partitions ( remember the partition table starts at 1 )

 

 

Oh so i have to try fdisk -e /dev/rdisk01 to select the partition?

the boot code is written to MBR meaning rdisk0, so you chose /dev/rdisk0 if you have only one disk

and the flag command is to set a partition active, in your case depending on which is the first partition could be 1 or 2.

What you are doing here is putting the MBR boot code and activating the Leopard partition. Once you do it, Leopard should boot. But to get Vista working again, you should mark it active and boot with Vista CD and repair and then mark leopard partition active.

 

However all this is for MBR installation, it may/will not work on GUID partitions

  • 1 month later...
×
×
  • Create New...