User:Nathanlkoch/Tutorials/MacPro

Apple Mac Pro 1,1 and 2,1 - Gentoo amd64
The following tutorial is for a Mac Pro 1,1. Mine has been modified to use 2,1 firmware and has an updated SMC. The downside to this is the EFI version is still 32bit. Grub will complain about miss matching EFI / Kernel versions and will halt drop to 64.

EFI MOD
https://github.com/joelgraff/macproupgrade

Btrfs Install
User:Nathanlkoch/Tutorials/BTRFS Encryped Root On UEFI

Follow this tutorial but keep in mind. We will need to change a few variables with grub and video in our portage/make.conf

Install
Set your video flags and grub platform in make.conf.

I would provide my COMMON_FLAGS and CPU_FLAGS_X86 but your results may very as I upgraded my CPU. As a good rule of thumb Install resolve-march-native and cpuid2cpuflags before building world as it will allow you to set all of this before your initial compile.

Also I have an Nvidia 7300 that came with these original Mac Pros. The nvidia legacy drivers can be a cumbersome and I was having issues with rebuilds and kernel hacking. The nouveau drivers should have you covered for awhile. Graphics are relatively snappy. Continue on with building world and follow my tutorial and handbook until you get to Genkernel.

Genkernel
Download the following preconfigured kernel config for genkernel.

Kernel 5.X.X LTS EFI
Load 5kernel into genkernel menuconf. Save as .config. Exit out of menuconf. The kernel will build and install.

Kernel 6.2.X EFI
Load 6kernel into genkernel menuconf. Save as .config. Exit out of menuconf. The kernel will build and install.

Grub bootloader
Install grub efi-32(i386-efi) with --removable flag.

This Mac Pro can be troublesome with EFI. It's fine to disable it as I have been having issues with framebuffers. It's the equivalent of running BootCamp. The "noefi" flag is what will get you booting.

We'll use to generate the

Reboot. The system can take a bit to boot.Finished.

Finalize
If anyone is aware of the proper settings to get efi to work. Please let me know. I had it working briefly on another kernel but after several attempts at getting it to work on a newer kernel I packed it in. It won't grab a framebuffer at boot. I am finding better graphics card support for memory buffers in nouveau on efi.