Mac OS X on x86 Hardware 2008–2024 Technical Archive
10,498 reads · 2008-03-12
Report Leopard 10.5

dd if

i would fix the bootloader (GUID). -> step 1, 2 +3 where easy but i dont understood step 4. dd if? i know that if is a commant…

Primary Author
@effigy Published 2008-03-12
Collection
Leopard 10.5
Archival Footprint
10,498 historical reads · 21 curated field notes (from 52 dispatches) · 2008-03-12
Credited Voices (4)
@effigy (28)@Ianxxx (11)@WinLinMac01 (8)@Puttabong (5)

i would fix the bootloader (GUID). -> step 1, 2 +3 where easy but i dont understood step 4. dd if? i know that if is a commant…

Author Updates & Technical Revisions

Follow-up dispatches by @effigy

Author Update #1 @effigy 2008-03-12

sure but at step 3...you dont must tping in the text "cd/usr/standalone/i386" so: cd usr ; cd standalone ; cd i386
and in step 4? whats the command?

Author Update #2 @effigy 2008-03-12

nice! but what now restart he computer or type "exit"? what shoud i do?

Author Update #3 @effigy 2008-03-12

youmean after install remove the cd and boot from harddrive?

Author Update #4 @effigy 2008-03-12

im sorry for my bad english cause im only 12 years old !

Author Update #5 @effigy 2008-03-12

it dont works >boot disk failture insert a system disk and press enter<

Author Update #6 @effigy 2008-03-12

yes thats sure. ive type in the stuff alway 3x but i dont works :(((

Author Update #7 @effigy 2008-03-12

it looks like the computer starts from windows or linux -> black screen an text but then -> boot disk failure please insert system disk and press enter

Author Update #8 @effigy 2008-03-12

i have 2 partions ->1. "MAC" (with leopard) -> 2. "WINDOWS" (without anything)
after i typed in the dd if text it say: "Permission denied"

Author Update #9 @effigy 2008-03-12

ohhh -snipped- it the same -snipped- >DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER< what's wrong with me?

sorry guys im too silly

Author Update #10 @effigy 2008-03-12

i start the pc again and theres an error >b0 error<

Author Update #11 @effigy 2008-03-12

no ist the leo setup and he do not boot
only the setup of leo!

Author Update #12 @effigy 2008-03-12

i have the right (with leo)partion make active but it doesnt work!

Synthesized Community Field Notes

21 technical responses curated from 52 original dispatches

Field Note #1 @WinLinMac01 2008-03-12

Did you type everything sensitvely such as: spaces, lowercase letters, uppercase, dashes, etc?

How to: Fix the GUID bootloader (Blinking cursor)
There's an issue with the script that installs the GUID bootloader.

Easy to fix :

1 - Boot with the DVD.
2 - Press F8, then type "-s"
3- type "cd /usr/standalone/i386"
4 - type "dd if=./guid/boot1h of=/dev/rdiskXsY bs=512 count=1 (X is the disk number and Y is the partition number on which you installed Leo)
5 - type "dd if=./guid/boot0 of=/dev/diskX bs=400 count=1
6 - type "./startupfiletool -v /dev/diskXsY ./boot_v8"

GUID bootloader must be now installed correctly.

You should make sure.

Field Note #2 @WinLinMac01 2008-03-12

Step four is: dd if=./guid/boot1h of=/dev/rdiskXsY bs=512 count=1

Remember, X and Y represents the number of the root partition of your system. In my case, it is 0 & 1, it can be 0 and 1 on your system or even something different. It all depends.

Field Note #3 @Puttabong 2008-03-12

I don't understand your problems, buddy. WinLinMac explained it perfectly correct

This is how you type, exactly the same like the bold font:

Step 3:
cd /usr/standalone/i386

cd means change dir, so you use this command to switch to the i386 dir,
which is located at /usr/standalone. That's one of the most simple unix commands, easy, isn't it?

Now to Step 4:
dd if=./guid/boot1h of=/dev/rdiskXsY bs=512 count=1

The underlined part (rdiskXsY), must be replaced by X and Y with X as the disk number and Y as the partition number on which you installed Leopard)

In my case, for exampe, rdisk1s1!

You can check the numbers in the Dvd by using the Disk Utility.

In the following commands you will also have to replace diskX and diskXsY.

Best Wishes

Field Note #4 @Ianxxx 2008-03-12

Whatever you like I normally just hit the reset button
you could type shutdown -r now

Field Note #5 @WinLinMac01 2008-03-12

or exit. =) Works for me.

[cite] Puttabong:try to type reboot
Field Note #6 @Puttabong 2008-03-12

After you executed all of the above commands, and they were installed successfully,

Remove the DVD.

Then reboot your computer.

Field Note #7 @WinLinMac01 2008-03-12

Make sure everything boots fine. =)

[cite] Puttabong:After you executed all of the above commands, and they were installed successfully, Remove the DVD. Then reboot your computer.
Field Note #8 @WinLinMac01 2008-03-12

take the DVD out, and make sure you have correctly modified the GUID bootloader (remember, you can always do it again). =)

Field Note #9 @Puttabong 2008-03-12

Did you select the correct Harddrive (On which you installed Leopard) in your BIOS to boot first?

Field Note #10 @Ianxxx 2008-03-12

Sorry to but in again but effigy, what did it say after you typed the dd if text?

Field Note #11 @Ianxxx 2008-03-12

You need to unmount every partition on that hard drive, I found most reliable way is to do it with disk util

Field Note #12 @Ianxxx 2008-03-12

Yep unmount then open terminal and do all the previous stuff,

Field Note #13 @Ianxxx 2008-03-12

boot with dvd
then choose disk util
click on partition click unmount
for all partitions, when you open disk util its self explanitary
then open terminal and do all the previous

Field Note #14 @Ianxxx 2008-03-12

change directory to i386 on your dvd 3- type cd /usr/standalone/i386

4 - type "dd if=./guid/boot1h of=/dev/rdiskXsY bs=512 count=1 (X is the disk number and Y is the partition number on which you installed Leo)
5 - type "dd if=./guid/boot0 of=/dev/diskX bs=400 count=1
6 - type "./startupfiletool -v /dev/diskXsY ./boot_v8"

Field Note #15 @Ianxxx 2008-03-12

r you sure you are using the right disk partitions?
I am guessing that if your osx partition is first on your disk and you are using guid it will be disk0s2
to check this

in terminal write
diskutil list
Field Note #16 @Ianxxx 2008-03-12

if thats the case you should write in terminal after unmounting

you must cd to the i386 folder first, then type

dd if=./guid/boot1h of=/dev/disk0s2 bs=512 count=1
dd if=./guid/boot0 of=/dev/disk0 bs=400 count=1
./startupfiletool /dev/rdisk0s2 ./boot_v8

after each line you should get
a message that it has wrote data

Field Note #17 @Ianxxx 2008-03-12

Try again your getting closer
sounds like you dont have efi correct
install ./startupfiletool again

Field Note #18 @Puttabong 2008-03-12

German (for effigy) ->

Viele Hackintosh Nutzer erfahren bei Ihren ersten Installationen meist den b0 error, oder aber erst garkeinen Bootvorgang.

Um dies zu lösen, müssen Sie die MacOS X Partition Aktiv (engl. Active) setzen

1. Von der Installations Disc booten

2. Dienstprogramme -> Terminal öffnen

3. Ausfindig machen, welche Platte aktiviert werden muss:

diskutil list

Merken Sie sich Ihre Festplattennummer (disk0, disk1, etc.)

4. Nutzen Sie Fdisk

Beispiel für eine Festplattenbelegung mit der Nummer disk0

fdisk -e /dev/rdisk0

5. Ausfindig machen, welche OS X Partition aktiviert werden muss:

p

Nun die Nummer der MacOS X Partition merken (1,2,3 etc.)

6. Partition aktiv/active setzen

f X

Für X die Nummer der Partition einsetzen

7. Speichern und Quit

write

y

exit

9. Install Disc entfernen und neustarten

Field Note #19 @WinLinMac01 2008-03-12

try the GUID boot commands again, and see where you get. you are getting closer as others have stated. =)

[cite] effigy:i have the right (with leo)partion make active but it doesnt work!
Field Note #20 @WinLinMac01 2008-03-12

hopefully he has, he has not been online for some time.

[cite] Ianxxx:effigy did you get it working?
Field Note #21 @Ianxxx 2008-03-12
[cite] WinLinMac01:hopefully he has, he has not been online for some time. [cite] Ianxxx:effigy did you get it working?

That could go either way then lol

Corroborated & Participated: @Puttabong @WinLinMac01 @Ianxxx
Sources & Contributor Provenance (4 credited usernames · Thread #674)
UsernameDossier ContributionDispatchesActive Window
@effigyPrimary Author282008-03-12
@IanxxxCore Contributor112008-03-12
@WinLinMac01Core Contributor82008-03-12
@PuttabongCore Contributor52008-03-12