User:Immolo

GRUB Installation on PowerMac G5
On Linux/PPC64 we have yaBoot as a bootloader.

Setup bootstrap partition
First we need prepare the bootstrap partition we created when preparing the disk at the start which should be /dev/sda2 but we can confirm this by using parted (if not installed you can do this by emerging the sys-block/parted package).

Replace /dev/sda with the correct drive letter if required.As we can see from this output partition 2 has the bootstrap infomation so we know /dev/sda2 is correct partition to use.

We need to format this a HFS using the hformat command which is part of the sys-fs/hfsutils package.Create a directory to mount the bootstrap partition and then mount it.

Setup GRUB
If it installs without errors you can now unmount the bootstrap.We now need bless the partition so it will boot for us.Finally we need to build the grub.cfg file: