Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Notes on installing ppc64 (64bit userland)
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message

Joined: 24 Jun 2017
Posts: 19

PostPosted: Thu Jun 29, 2017 12:58 am    Post subject: Notes on installing ppc64 (64bit userland) Reply with quote

I wanted to share some of my notes while they're still fresh in my mind.

The following stage3 works:

Regardless of how "optional" it may sound, you do need a separate /boot formatted to ext2 when using yaboot. Also, if you're wanting to dual boot MacOS X, the yaboot autoconfiguration will get it wrong. Don't let it format, just save the config and then fix the bootstrap partition to point to the one you created instead of the one belonging to MacOS... After installing the bootstrap, holding Option at boot will give you both MacOS and Linux as bootable systems.

It's noted in the ppc64 handbook that you must install yaboot-static; that is still very true. That's one of the few PPC64 specific items which is accurate.

Use "make g5_defconfig" to produce a baseline kernel config for G5.

genkernel is slightly broken on PPC64, apparently. You must specify the full path of the current kernel config in order to do anything with it, including building an initramfs (which you will need for yaboot, it's not optional). Specify --kernel-config=/usr/src/linux/.config as an argument to do so.

Bootstrap the toolchain first thing, so that you're on gcc-5.4.0 or better. Don't forget to rebuild texinfo as part of this.

Oh, and run AHT to check your RAM first.

Anyway, hope this helps anyone else considering embarking upon this odyssey.
Back to top
View user's profile Send private message

Joined: 26 Aug 2007
Posts: 228
Location: Arkansas

PostPosted: Fri Dec 29, 2017 5:19 pm    Post subject: Reply with quote

I'm tempted to pull my IBM RS/6000 44P-170 back down from the attic. There are some things on the Mac that the IBM doesn't possess, so I would probably need to keep some things from the config files.

How hard do you think it would be to re-install the latest Gentoo, since do doubt, what's on the old black box probably has a 5 year old (or longer) Gentoo install.
Back to top
View user's profile Send private message

Joined: 13 Jan 2018
Posts: 1

PostPosted: Sat Jan 13, 2018 8:37 am    Post subject: Reply with quote

How does your yaboot.conf look with a separate /boot partition?
And do you have 5 partitions in total without dual booting?

Mine looks like this and I'm having issues getting root to mount, and I'm suspecting yaboot.conf

sda1 Apple_partition map
sda2 bootstrap
sda3 boot
sda4 swap
sda5 root

I have my initrmfs and kernel in /boot.
I used /usr/share/genkernel/arch/ppc64/kernel-2.6.g5 as the config for genkernel (there wasn't anything in called /usr/src/linux/.config)
I'm not sure what you mean by "make g5_defconfig" and bootstraping the toolchain first.

I apologize but I am very new to this and I'm just trying to get a working distro on this g5. The handbook is kind of all over the place.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum