View Single Post
 
Old 01-30-2008, 11:19 PM
roisoft's Avatar
roisoft roisoft is offline
 
Join Date: Jan 2008
Location: Spain
Posts: 450
Original by Netkas (about GUID)

Code:
 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_v80/

./startupfiletool /dev/rdiskXsY ./boot_v8

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_v8 ), 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_v8, this in the only EXAMPLE

./startupfiletool /dev/rdisk1s2 ./boot_v8

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

dd if=./guid/boot0 of=/dev/disk1 bs=400 count=1
Reply With Quote