netkas.org

About GUID

 Fixed version

This arcticle will describe how to use guid partition table for OSX on your machine.

Making bootable guid:

1) get a harddrive and format it using Disk utility, use guid partition disk. Make as

much partitions as u want.

and OSX can be installed to any partition under 2TB on disk.

On guid disk u can have up to 128 partitions .

bootloader will boot first hfs+ type partition.

After u created partition, choose your drive in disk utility, press Info, and

remember value for disk identifier

e.g. if it disk2  - then X = 2 (X will be used later)

For all commands use root account

After it, go to terminal and type diskutil list

find there your guid drive

and find there device name for first hfs+ partition

e.g.

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *55.9 Gi disk1

1: EFI 200.0 Mi disk1s1

2: Apple_HFS OSX 10.0 Gi disk1s2

# is your Y, so in this case, Y = 2, remember it
Now umount  your diskXsY partition (umount -f /dev/diskXsY ), did u forget your X or Y ? (look above if so).

cd to/folder/where/you/unpacked/pc_efi_v71/

./startupfiletool /dev/rdiskXsY ./boot_v7_guid_only

dd if=./guid/boot1h of=/dev/rdiskXsY bs=512 count=1

now unmount all partitions on your guid drive (with disc utility e.g.)

imortant step(PRIVET)

dd if=./guid/boot0 of=/dev/diskX bs=400 count=1

your guid drive should be ready for booting now

reboot and try to boot from yout guid drive (with choosing bootable hard drive in bios e.g.)

if it boots and shows  /com.apple.boot.plist couldn’t be found - or smth like that, then it’s installed correct

if you doesn’t see any messages on such boot - repeat step PRIVET, or make this step from linux system,

using another drive name for of=

Migration step

U can also migrate with any utility u want(maybe, using another way to migrate,

u will have to repeat steps with installing boot1/boo0/pc_efi_v7 ), or u can just

install new leopard on fuid-ready disk(it will requires repeating bootlaoders installing

steps. here is simple example of migrating.

now boot your osx again,

and using root account make this

cp -Rfp /Volumes/MYOLDLEO/* /Volumes/MYNEWLEO/

where MYOLDLEW is name of partition where u have leopard isntalled

and MYNEWLEO is a name of partition (on guid disk) where u want to copy your installed leopard

this operation will take a time, depends on size of your leopard partition

after it u should be able to boot this partition with pc_efi installed to your

guid drive (boot from guid drive).

here is example of commands to install pc_efi_v7, this in the only EXAMPLE

./startupfiletool /dev/rdisk1s2 ./boot_v7_guid_only
dd if=./guid/boot1h of=/dev/rdisk1s2 bs=512 count=1
dd if=./guid/boot0 of=/dev/disk1 bs=400 count=1

Comments

  1. November 27th, 2007 | 2:37 pm

    [...] Info about it [...]

  2. nomi
    November 27th, 2007 | 10:28 pm

    that’s really amazing. But will it be possible to bypass dsmos.kext? so we can boot original dvd?

  3. Inge Buller
    November 28th, 2007 | 12:40 am

    Fabulous!

    How about attaching the drive to a real Mac, doing all of the above including the migration of the whole partition, fix kexts, and then attach the drive to the PC?

    Would it be possible to create a Hackintosh that way?

    Keep up the good work! U da man!

    Inge

  4. nemster
    November 28th, 2007 | 5:22 pm

    Inge Buller: its working.

    i installed from Apple dvd. deleted appleintelcpu*.kext added dsmos and applied pc_efi 7 and off i booted :)

    thanks so much netkas!

  5. dmdimon
    November 29th, 2007 | 10:59 am

    why bs=400 here, bs=446 on ToH RC2 when afaik correct is 432?

  6. BITRabbit
    December 12th, 2007 | 3:31 am

    Hi~
    I’m so happy that you make Mac on Pc so beautiful
    And that means my Msi P35-Neo2 FR can taste the Leopard?

  7. shmk
    December 16th, 2007 | 1:16 am

    Hey Nemster what are your hardware specs do you have a guide that you used somewhere?

  8. kiran
    December 27th, 2007 | 6:07 am

    Thanks Netkas. I will try booting with Kalyway 10.5.1 and install EFI manually and then install leopard without the patch selected. I am getting installation failed at the end of the setup when done with EFI GUID selected in the options (with GUID partitioning selected).

  9. nemster
    December 28th, 2007 | 10:44 am

    i use a gigabyte p35-ds3p.
    you dont need a guide its so simple :)

  10. onemanstrash
    December 30th, 2007 | 11:25 pm

    Hey netkas have you or anyone else successfully resized a GUID partitioned hard drive in terminal? I would love to try this but I just got my girlfriends hackintosh set up perfectly. So I will only try if it is possible.

  11. cyber
    January 3rd, 2008 | 7:46 am

    Hi Netkas,
    I Followed your guide to the letter but I’m still stuck at at the part wher I need to unmount all partitions before I enter the last command in terminal.

    When I go to diskutility to unmount my partition, it won’t let me unmount it. It says “the disk “leopard” could not be unmounted. make sure that all applications and files are closed on this disk”

    Also one more thing, in diskutility after I “dd if=./guid/boot1h….etc” my Leopard partition shows as a blue folder.
    Appreciate your help thanks!!!!!

  12. January 30th, 2008 | 11:14 pm

    What do you mean ?

  13. August 31st, 2011 | 7:32 am

    the science of hackintosh at its best!

Leave a reply