All pastes #769021 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-11 01:36 UTC
rendered paste body
http://forum.insanelymac.com/lofiversion/index.php/t68453.html


Set your Leopard Partition to "active" and create a Boot Loader. This is the way to create/repair MBR and boot loader after you do the Post-Installation Patch. This is how to do it:


Step one:

1. Boot to Tiger


Step two:

1.
- Download "Startupfiletool" - it can be found in this thread http://forum.insanelymac.com/index.php?sho...mp;#entry166040

2.
- Unstuff and place "Startupfiletool" in "usr/sbin"
the easiest way to do this is to press shift-cmd-g in Finder and enter "/usr/sbin" - then drag the "Startupfiletool" into the "sbin" folder

3.
- Locate and open the folder "files" on your Desktop (it's one of the folders from BrazilMAC's patch folder) - inside "files" is a folder called "i386" - open it.
- press shift-cmd-g in Finder and enter "/usr/standalone/i386" then drag all files from the first opened "i386" folder (the one on desktop/files) into the "i386" folder

4. I'm not 100% certain of tis, but I believe you may also need to put 
"bless" into "usr/bin" (it can be found in the patch files on "desktop/files/")


Step three:


1. Open Terminal

2.
- Type: "diskutil list"

result will show all your partitions

- Write down volume name and disk identifier info!

Example:

name: Leopard
identifier: disk1s2 (1=disk number 2=partition number)

I will use "disk1s2" (or "rdisk1s2") and "Leopard " in this guide code! - exchange it to your correct numbers and name when you see type in the code!!!


Step four:

1. Mark the partition active

- Type: "sudo fdisk -e /dev/rdisk1"
(exchange "rdisk1" to your correct disk number!)

- enter your password

- Type: "update"

- Type: "f 2"
(exchange "f 2" to your correct partition number)

- Type: "w"
answer the question with "y"

- Type "q"

Step five:
- Type: "diskutil unmount /Volumes/Leopard"
(exchange "Leopard" for the correct name of your Leopard partition!)

- Type: "sudo dd if=/usr/standalone/i386/boot1h of=/dev/rdisk1s2 bs=512 count=1"
(exchange "rdisk1s2" for your correct disk and partition number!)

- Type: "sudo startupfiletool /dev/rdisk1s2 /usr/standalone/i386/boot"
(exchange "rdisk1s2" for your correct disk and partition number!)

- Type: "sudo bless -device /dev/disk1s2 -setBoot -verbose"
(exchange "disk1s2" for your correct disk and partition number!)

- Type: "diskutil mount /dev/disk1s2"
(exchange "disk1s2" for your correct disk and partition number!)

- Type: "bless -mount /Volumes/Leopard -setBoot -verbose"
(exchange "Leopard" for the correct name of your Leopard partition!)



You may get an error "Could not find IODeviceTree:/options" but it works!


Step six:

Boot Leopard