I Just made a very cool discovery while playing around in OpenFirmware on my G5 Quad that I think is worth sharing
which is that its OpenFirmware implementation can read disks with GUID partition schemes!
after discovering this I quickly cloned Leopard onto a GUID disk and I was able to boot from it(so much for people saying PowerPC macs can only boot from Apple partition Map!
)
this is very good news especially for anyone who has a larger then 2.2TB drive that they wish to use in their PowerPC Mac as their startup disk (as APM only works properly with drives bellow 2.2TB)
however I suspect that this functionality is only available on the very last (Late?) 2005 PowerPC Macs, ill be testing more of my PPC systems for GUID boot-ability and updating this thread as I do![]()
For some reason doesn’t seem to work on my Quad. Neither System preferences recognize a GUID-partitioned FW drive as bootable nor Open Firmware.
Disk is readable without issues, but is not seen as bootable.
By chance, have you tested this GUID-partitioned internally via one of the two SATA connections?
I’ve not tried booting a GUID-partitioned disk from an external enclosure on the late 2005 PowerBooks/iBooks — only when the drive was on the internal bus. (Ultimately, after learning that GUID/GPT could boot on those, I ran into a couple of annoying snags along the way — enough to warrant just reformatting with an APM scheme and sticking with that.)
For some reason doesn’t seem to work on my Quad. Neither System preferences recognize a GUID-partitioned FW drive as bootable nor Open Firmware.
Disk is readable without issues, but is not seen as bootable.
but first of all make sure you do have Leopard 10.5.8 on that drive(and that it is indeed bootable on say an intel mac or such)
Ah so it won’t work with 10.6 PPC?
It does, I have 10.6, 10.4.11 and 3 Linux distros on the same hard drive, formatted to gptAh so it won’t work with 10.6 PPC?
It does, I have 10.6, 10.4.11 and 3 Linux distros on the same hard drive, formatted to gpt
root=(ieee1275/ultra0,gpt2)
linux /boot/vmlinuz root=/dev/sda2
initrd /boot/initrd
boot
video=offb:off video=nouveaufb:off video=radeonfb:off radeon.modeset=1 radeon.dpm=1 radeon.agpmode=-1 pci=realloc nouveau.modeset=0 quiet acpi=force loglevel=0 splash
sudo zypper install grub2
sudo grub2-install
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
nano ~/ofboot.b
boot hd:3,\grub\grub.img
boot ultra0:1,grub
sudo zypper install hfsutils
#(be sure that this is your PreP partition, adjust otherwisde)
sudo hformat /dev/sda1
sudo hmount /dev/sda1
sudo hcopy /boot/grub2/grub :grub
sudo hcopy /boot/grub2/grub.cfg :grub.cfg
sudo hcopy ~/ofboot.b :ofboot.b
sudo hattrib -t tbxi :ofboot.b
sudo hattrib -b :
sudo humount
nvram --update-config boot-device='first-boot/@0:1,\\:tbxi'
video=offb:off video=nouveaufb:off video=radeonfb:off nouveau.modeset=1 nouveau.config=NvMSI=0 radeon.modeset=0 quiet acpi=force loglevel=0 splash
Internal, bottom drive, will take a screenshot from diskutil and post it later on today.Interesting. Internal or external?
There you goInteresting. Internal or external?
There you go
P. S. Is that 10A190?
Note that this only applies as-is to Quad G5s and possibly DC G5s and iMacs G5 iSight. For other machines, you will need to clone your partitions onto an Apple-partitioned drive as those models do not support booting from GPT. Thus untested on those other machines, but in theory the above-mentioned instructions should work after cloning the PReP and root partitions onto an Apple-partitioned drive. Obviously, your machine needs to support ppc64 for the current versions of Tumbleweed!Booting from gpt allows OpenSuse Tumbleweed to be installed on PM G5s. The way to go about it using an empty drive in the top bay:
1) Format your empty drive using the GUID partition scheme
2) Install OpenSuse Tumbleweed ppc64, let the installer use the entire drive, it should result in /dev/sda1 PreP, /dev/sda2 root, /dev/sda3 swap (the installer might complain about not being able to install grub). The installation won't be able to boot as the prep partition is not formatted as HFS and won't be seen by OpenFirmware on bootup
3) Reboot using a liveCD e.g. Adelie Linux, type c to access the grub command line
4) Type the following:
(adjust ultra0 and sda to which hard disk, 0/a is top, 1/b is bottom on the G5; also adjust sda2/gpt2 to your root partition)Code:root=(ieee1275/ultra0,gpt2) linux /boot/vmlinuz root=/dev/sda2 initrd /boot/initrd boot
5) This should boot you into opensuse
6) You might need to adjust the grub command line to suit your hardware, to do so go to Yast/boot loader and edit the default append. I have edited mine to work with a Radeon HD 5770:
Code:video=offb:off video=nouveaufb:off video=radeonfb:off radeon.modeset=1 radeon.dpm=1 radeon.agpmode=-1 pci=realloc nouveau.modeset=0 quiet acpi=force loglevel=0 splash
7) If /boot/grub2/grub.cfg is already present, you can skip this step. If not, then go to Yast/Boot Loader and save the configuration. If /boot/grub2/grub.cfg is still not there, then you need to fully install grub, not just the yast bootloader frontend. In terminal type:
Code:sudo zypper install grub2 sudo grub2-install sudo grub2-mkconfig -o /boot/grub2/grub.cfg
8) You will need to create a CHRP file called ofboot.b. This file will be allow your boot partition to be selectable in the startup menu (holding down Option). The file also contains a badge icon. A template can be downloaded here:
(look for ofboot.b)GRUB on Open Firmware (PowerPC) - Gentoo wiki
wiki.gentoo.org
Type:
(paste the file contents)Code:nano ~/ofboot.b
Edit the openfirmware boot line
to suit your needs, e.g:Code:boot hd:3,\grub\grub.img
Code:boot ultra0:1,grub
save (Ctrl-O)
9) You now need to make your prep partition bootable to openfirmware. You need to adjust /dev/sda1 if this is not your PreP partition.
Code:sudo zypper install hfsutils #(be sure that this is your PreP partition, adjust otherwisde) sudo hformat /dev/sda1 sudo hmount /dev/sda1 sudo hcopy /boot/grub2/grub :grub sudo hcopy /boot/grub2/grub.cfg :grub.cfg sudo hcopy ~/ofboot.b :ofboot.b sudo hattrib -t tbxi :ofboot.b sudo hattrib -b : sudo humount
You should have openSuse up and running and selectable in the boot menu.
If you want to set it as the default boot device, you will need to run
Code:nvram --update-config boot-device='first-boot/@0:1,\\:tbxi'
(adjust 0:1 to your drive : PreP-partition)
OpenSuse is pretty snappy on the PM G5 quad and, frankly, visually quite impressive. OpenGL and OpenCL work fine, there is out-of-the-box support for Radeon HD cards AND unlike under Ubuntu and Debian, Gnome/Wayland is fully supported on the GF7800 GTX (only flashback works with the latter under those). If you do end up using the GF7800 GTX change your grub append to:
Code:video=offb:off video=nouveaufb:off video=radeonfb:off nouveau.modeset=1 nouveau.config=NvMSI=0 radeon.modeset=0 quiet acpi=force loglevel=0 splash
EDIT: for now don't update to kernel 5.15.8, acpi doesn't seem to work all the time anymore, but you can stick to 5.12.X
Cheers,
And thanks to @LightBulbFun, @mansley12 and @LuigiBurdo whose posts got me to get this to work
Note that this only applies as-is to Quad G5s and possibly DC G5s and iMacs G5 iSight.
Note that this only applies as-is to Quad G5s and possibly DC G5s and iMacs G5 iSight
Wasn't the last iBook also in that list? Not sure about the silently upgraded Mac Mini G4.It also would apply to final-run PowerBook G4s with the redesigned logic boards (i.e., the A1138 and A1139 from late 2005), as these are known to boot successfully from a GPT-formatted volume.
Wasn't the last iBook also in that list? Not sure about the silently upgraded Mac Mini G4.
It works on the Late 2005 iBook's too( R9550 gfx ), I've tested it. It does not work on the R9200 GFX iBook G4's.I don’t know. I’ve yet to try.
I feel like I’ve booted GPT on my Mini. I can’t remember though. I’ll give it a shot this week and let you guys know.Wasn't the last iBook also in that list? Not sure about the silently upgraded Mac Mini G4.
Hi Alice,I feel like I’ve booted GPT on my Mini. I can’t remember though. I’ll give it a shot this week and let you guys know.
boot ud:2;\\:tbxi