Jump to content

Installing bootloader for mbr partition and dual booting (Leo retail/XP 32bit)


40 posts in this topic

Recommended Posts

Hi, I need your help.I'm going to install leopard retail togheter with

windows XP (32 bit) so I need to format the driver in mbr.I have one hd

divided in 2 partition, one for XP (already installed) and one for leopard.I

want to boot trought the kalyway dvd, then format the leopard partition in mbr

and install efi.The question is that I don't know which is the code for

install PC EFI v8 on a mbr formatted partition trought the terminal of leopard

installer.I want to use darwin bootloader to dual boot with XPI hope

someone can help me!Bye!

Look only at last posts! :wacko:

Thank you!

If I write this:

sudo –s (Enter)

cd /"location of efi folder"/EFI/pc_efi_v80 (Enter)

./startupfiletool /dev/rdiskXsY ./boot_v8 (Enter)

 

do I correctly install EFI on my mbr partition?

Another one question: Darwin bootloader will be automatically installed with leopard install process or have I to install it manually?

boot the dvd enter disk utility unmount your leo partition open terminal and write:

cd /"location of efi folder"/EFI/pc_efi_v80

./startupfiletool /dev/rdiskXsY ./boot_v8 (X is you hd number Y is your partition number)

boot the dvd enter disk utility unmount your leo partition open terminal and write:

cd /"location of efi folder"/EFI/pc_efi_v80

./startupfiletool /dev/rdiskXsY ./boot_v8 (X is you hd number Y is your partition number)

Thank you for your help :rolleyes:

So..what about darwin bootloader? I read that if I have XP already installed, the bootloader will automatically recognize it and will add XP to the boot list. Is it true?

Have I to install the bootloader manually or it will be automatically installed with leopard?

Bye!

You could run this script, it has all the options you need.......

 

http://forum.insanelymac.com/index.php?showtopic=86593

oh thank you! very nice patch! I have to run the patch immediately after format of the drive, before starting the leopard install, isn't it?

Bye!

You could run this script, it has all the options you need.......

 

http://forum.insanelymac.com/index.php?showtopic=86593

I have read the script of the patch you posted and there are few things that aren't clear, I hope you can help me.

I want to dual boot between leopard and XP and I have XP already installed.

In the part of the script that is about the writing of master boot record on the disc and setting it bootable, is written that if I have a windows partition, and if I continue with that operation, my windows installation won't be bootable anymore. And it's suggested not to continue with the writing of master boot record on the disc. As far as I want to manage the dual boot with the darwin bootloader, have I to ignore that message because I wil be still able to boot XP trought the darwin bootloader? Have I to edit something? I am a little bit confused about it, I hope someone will help me.

Bye!

I'll write you how do I want to manage the dual boot (Leo reatil/XP) using darwin bootloader on mbr partition table, will you please tell me if it is correct and it may work?

1) I copy boot0 and boot1h files from kalyway dvd and I put them togheter with PC EFI v_8

2)I divide my hard drive in 2 partitions, one formatted as NTFS for windows XP and the other one for leopard left unformatted.

3)I boot from kalyway dvd and I format the leopard partition with mbr partition table

4)I unmount leopard partition, open Terminal, set the leopard partition active and install PC EFI this way:

sudo –s (Enter)

 

cd /Volumes/"location of efi folder"/EFI/pc_efi_v80 (Enter)

 

./startupfiletool /dev/rdiskXsY ./boot_v8 (Enter) (where I already know the values of X and Y)

5)I write the boot0 and boot1h files copied from kalyway to the first sectors of the disk this way:

dd if=/"location of the files"/boot1h of=/dev/rdiskXsY bs=512 count=1 (Enter)

 

dd if=/"location of the files"/boot0 of=/dev/disk0 bs=400 count=1 (Enter)

6)I replace the kalyway dvd with the retail dual layer dvd and I start the install.... (from now on, I already know how to do)

That's it.

Will this makes leopard retail installation bootable trought darwin bootloader with the option of booting even windows XP?

I hope someone can help me!

I think, but I'm not sure, that the boot0 and boot1h should only be installed if you are intending to format as GPT as they are not hybrid.

I think, but I'm not sure, that the boot0 and boot1h should only be installed if you are intending to format as GPT as they are not hybrid.

As far as I know, there are boot0 and boot1h made for MBR partition table, and boot0 and boot1h made for GPT. In the kalyway dvd there are both of the "versions".

Obviously I intend to use the couple made for MBR.

Can someone confirm that?

Thank you Joe Cargo!

Well thank you for clearing that up. Apparently you are right because I have the XxX tiger DVD which does not have EFI boot loaders, and it has boot, boot0, and boot1h, which means that they are probably used for MBR too.

 

Therefore to summarize things:

-The are 3 files needed to install darwin boot loader, boot, boot0, and boot1h.

-boot is must be installed either on GPT or MBR (only one version which is probably a hybrid).

-There are two versions of boot0 and boot1h, one for GPT (included in the folder downloaded from the IRC) and the other is for MBR (included in the some DVDs).

-ALL THESE 3 FILES MUST BE INSTALLED.

Andrea look at the sticky's on top of the forum page. There's a guide by I am me. Read it.

I have read that method but it allows only to install 64bit version of XP, I read on netkas forum that with disk utility of OSX it's possible to create an hybrid guid/mbr partition where you can install and boot windows 32 bit

You can see it here, from the replay n° 7 and over.

I have read that method but it allows only to install 64bit version of XP, I read on netkas forum that with disk utility of OSX it's possible to create an hybrid guid/mbr partition where you can install and boot windows 32 bit

You can see it here, from the replay n° 7 and over.

Has someone tried this method?

I hate XP 64bit! I need XP 32bit!! :(

Andrea3000,

 

A couple of items - Leopard will install on MBR or GPT. If you have GPT and want to install XP32 bit you need to put xp32 in the 4th partition (this counts the EFI partition as 1). I can't explain it but I've done a lot of testing of XP32 with a hybrid GPT/MBR layout (which diskutility will create if you have at least one partition FAT32). For some reason if you make 3 partitions with GPT (not counting the EFI partition that is created with GPT) and make one HFS+ for OSX and the two FAT32 you can put XP32 on the second FAT32 partition and it will install and run fine. You do however have to make the second FAT32 partition the active partition before you try and install XP32. If try and put XP32 in the first FAT32 partition the install will fail on the first reboot.

 

SMF

Andrea3000,

 

A couple of items - Leopard will install on MBR or GPT.

 

Now I'm a little bit confused, will leopard retail install on MBR? wenecon said it won't :D

 

If you have GPT and want to install XP32 bit you need to put xp32 in the 4th partition (this counts the EFI partition as 1). I can't explain it but I've done a lot of testing of XP32 with a hybrid GPT/MBR layout (which diskutility will create if you have at least one partition FAT32). For some reason if you make 3 partitions with GPT (not counting the EFI partition that is created with GPT) and make one HFS+ for OSX and the two FAT32 you can put XP32 on the second FAT32 partition and it will install and run fine. You do however have to make the second FAT32 partition the active partition before you try and install XP32. If try and put XP32 in the first FAT32 partition the install will fail on the first reboot.

 

SMF

I've read your posts in netkas' forum ;)

So, if I create only free partitions (EFI, Leopard, XP) I won't be able to install XP in the third one?

Thank you for the anser!

Andrea3000,

 

Leopard will install on MBR - that's how I installed it and use it since it's the best way to dual boot XP32 and OS X. I've also installed it using GPT. Not sure why wenecon says that since a lot of people are using Leopard and Tiger with MBR - infact most Hackintoshes use MBR.

 

I was not successful with just 2 partitions (not counting EFI) and I've not been able to figure out why - it doesn't make sense. From my testing you will need to set up three - the first for OS X, then two more with the last being FAT32 though you can format it NTFS when you install XP if you want.

 

SMF

Andrea3000,

 

Leopard will install on MBR - that's how I installed it and use it since it's the best way to dual boot XP32 and OS X. I've also installed it using GPT. Not sure why wenecon says that since a lot of people are using Leopard and Tiger with MBR - infact most Hackintoshes use MBR.

 

I was not successful with just 2 partitions (not counting EFI) and I've not been able to figure out why - it doesn't make sense. From my testing you will need to set up three - the first for OS X, then two more with the last being FAT32 though you can format it NTFS when you install XP if you want.

 

SMF

That is perfect and solve my problem!

So, is this method correct? :

1) I copy boot0 and boot1h files (made for mbr) from kalyway dvd and I put them togheter with PC EFI v_8

2)I divide my hard drive in 2 partitions, one formatted as NTFS for windows XP and the other one for leopard left unformatted.

3)I boot from kalyway dvd and I format the leopard partition with mbr partition table

4)I unmount leopard partition, open Terminal, set the leopard partition active and install PC EFI this way:

sudo –s (Enter)

 

cd /Volumes/"location of efi folder"/EFI/pc_efi_v80 (Enter)

 

./startupfiletool /dev/rdiskXsY ./boot_v8 (Enter) (where I already know the values of X and Y)

5)I write the boot0 and boot1h files copied from kalyway to the first sectors of the disk this way:

dd if=/"location of the files"/boot1h of=/dev/rdiskXsY bs=512 count=1 (Enter)

 

dd if=/"location of the files"/boot0 of=/dev/disk0 bs=400 count=1 (Enter)

6)I replace the kalyway dvd with the retail dual layer dvd and I start the install.... (from now on, I already know how to do)

 

Thank you!

Bye!

That is perfect and solve my problem!

So, is this method correct? :

1) I copy boot0 and boot1h files (made for mbr) from kalyway dvd and I put them togheter with PC EFI v_8

2)I divide my hard drive in 2 partitions, one formatted as NTFS for windows XP and the other one for leopard left unformatted.

3)I boot from kalyway dvd and I format the leopard partition with mbr partition table

4)I unmount leopard partition, open Terminal, set the leopard partition active and install PC EFI this way:

sudo –s (Enter)

 

cd /Volumes/"location of efi folder"/EFI/pc_efi_v80 (Enter)

 

./startupfiletool /dev/rdiskXsY ./boot_v8 (Enter) (where I already know the values of X and Y)

5)I write the boot0 and boot1h files copied from kalyway to the first sectors of the disk this way:

dd if=/"location of the files"/boot1h of=/dev/rdiskXsY bs=512 count=1 (Enter)

 

dd if=/"location of the files"/boot0 of=/dev/disk0 bs=400 count=1 (Enter)

6)I replace the kalyway dvd with the retail dual layer dvd and I start the install.... (from now on, I already know how to do)

 

Thank you!

Bye!

Please SMF, help me with this last question, it's still the only obscure part of the install, after that I'll be able to do everything :|

Thank you!

Andrea3000,

 

That should work though why not just let the Kalyway disk install EFI? You need the boot0, boot1h and pc_efi_v8 installed (via startupfiletool) - you can do that manually if you want. If you try and use a retail DVD you'll need to swap out some of the kexts/run a postinstall script. I've not done that but there are a few sticky threads that could help.

 

SMF

×
×
  • Create New...