Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

AndrewBienhaus
Posts: 23
Joined: Sun Apr 12, 2020 10:33 am

Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by AndrewBienhaus »

Ok, so here's the solution to the old multi-xeon Mac that got stopped by apple at OSX 10.6.8.
As everyone here said, wipe it, install Linux.
Easier said than done!

So this now becomes a case of... is anyone aware, or, is anyone bored enough to try and help me do it. ;)

This Mac, which seems to be 64bit in nature, has a 32bit EFI... and therefore will not boot a standard ISO for Ubuntu.
There are folks online who have created unique install ISOs, hacking a 32bit EFI called bootia32.efi into it, and once installed and running, it's fine apparently.

I've spent part of a day now, trying to fathom this process, and trying a number of different routes (including installing rEFInd on the Mac side, and clearing some HD space to support a dual boot).
But that's as far as I can get.

It will see efi supporting USB sticks, and CD/DVDs inserted, but then crashes when you try and boot them.

Anyone here ever got this to work?
Or bored enough to want to try with me? :)
Mac is dead to me at this point anyhow...
AndrewBienhaus
Posts: 23
Joined: Sun Apr 12, 2020 10:33 am

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by AndrewBienhaus »

-snicker-
I think I may have it. Ubuntu live server 19.10-64, installing now... we shall see...
AndrewBienhaus
Posts: 23
Joined: Sun Apr 12, 2020 10:33 am

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by AndrewBienhaus »

I gotta get a life... ;)

well, the modified 19.10 installed successfully, however on reboot it wouldn't boot the OS. (just rEFInd) "insert bootable media" after running Linux for a while.

another re-install to try and get it clean, and the ? folder comes up at boot, with nothing to boot...
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by PantherX »

Random idea that I am just throwing it out there... have you considered to run using the LiveCD only? AFAIK, the client can run as long as it can find the files it needs. Of course, the issue is that if your system experiences a power loss, you will lose all the work.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
ipkh
Posts: 175
Joined: Thu Jul 16, 2015 2:03 pm

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by ipkh »

At a first thought, try Ubuntu 18.04 and the desktop version.
That or try debian 10 instead.
VAcharonD1
Posts: 14
Joined: Tue Mar 24, 2020 2:46 am

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by VAcharonD1 »

Just a shot in the dark ... have you tried anything from outside the Debian/Ubuntu ecosystem? Or maybe forget Linux entirely and try one of the BSDs?
Joe_H
Site Admin
Posts: 7867
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by Joe_H »

I recalled reading about this sort of problem a while back, and did some searching. There are some videos about getting 64-bit Linux up and running on Mac's with 32-bit EFIs, and a number of sites like this one - https://ubuntu-mate.community/t/64-bit- ... ters/18069.

As for one of the BSDs, the F@h software is not supported on any of them at this time. Some have reported success in the past after installing all kinds of linux support, but I have not seen anything recent.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
AndrewBienhaus
Posts: 23
Joined: Sun Apr 12, 2020 10:33 am

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by AndrewBienhaus »

ok, so for the sake of posterity, and anyone else searching... here's the answer. :)

it would appear that the EFI in the Mac Pro 1,1 that I have here, is as mentioned, 32bit.
None of the iso's of Ubuntu will boot from DVD or otherwise.

Except if you use that little bit of code hinted to above, and I have placed on my webserver in case anyone else ever wants it.
http://www.bienhaus.org/ubfix.zip
executable, on Ubuntu.

Pick whatever iso of the Ubuntu you want, place it next to this command, rename it to ub64.iso and run ubfix. (sudo ./ubfix) (rename; because the file name is hardcoded into the compiled command)
It will come back "done", and it has successfully modified the iso, and you can burn to a DVD and boot the Mac with it.

Next problem.
18, 19, and I presume 20, will install.
But they are silent about their work to put Grub on the boot disc, and from what I can find, it's actually Grub2 maybe?
At the very least, it's a 64bit Grub, and the system won't find it, load it, etc.

However!
16.04, 64bit, seems to have an older Grub, that if you recall installs right at the end of the purple screened install process.
THIS BOOTS BEAUTIFULLY!

My next challenge, was to see if I could put 19 (now for shits & giggles) on one of the other hard drives in this machine (it has 4), and get this 32bit Grub to boot it, without hurting 16.
The install went fine, and I picked the second hard drive and said don't touch the first one... sort of hoping it might update the Grub index on the first one.
No such luck.

So, anyhow -
The Mac now has 4 cores folding under 16, with success, and we're going to see if we can get the GPU running next.
But - if anyone has any expereince in editing the Grub records on the first hard drive, to allow it to let me select v19 that is installed on the second hard drive, I'd love to hear from you. :) (just for fun)
AndrewBienhaus
Posts: 23
Joined: Sun Apr 12, 2020 10:33 am

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by AndrewBienhaus »

(Mac now requesting both CPU and GPU projects... :) )
AndrewBienhaus
Posts: 23
Joined: Sun Apr 12, 2020 10:33 am

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by AndrewBienhaus »

Hey.... how about that smart little Linux...

after booting 16 a couple of times, the Grub now has 19 showing in the list, and it boots fine! (found it on it's own)

So, there we go. Ubuntu 19, running on a Mac Pro 1,1
:)
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by PantherX »

AndrewBienhaus wrote:...after booting 16 a couple of times, the Grub now has 19 showing in the list, and it boots fine! (found it on it's own)...
This just popped-up in my mind:
Image
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
AndrewBienhaus
Posts: 23
Joined: Sun Apr 12, 2020 10:33 am

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by AndrewBienhaus »

Yes Moss, most definitely. (my reel to reel is broken, so I forgot that)

NVidia GEForce 7300GT coming up as the GPU, and enabled for Folding. (no work yet, but ready)

If you mess with the drivers to get to the GPU, here's a good article to get your video resolution on the console back to normal afterwards. (it goes bye-bye)
https://blog.samat.org/2010/11/09/High- ... nd-Debian/
Joe_H
Site Admin
Posts: 7867
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by Joe_H »

The 7300GT however is too old for folding though.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
AndrewBienhaus
Posts: 23
Joined: Sun Apr 12, 2020 10:33 am

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by AndrewBienhaus »

ok, so on that topic... I have seen the whitelist for GPUs, but is there a list that says "it will never get work, don't enable it"?
Neil-B
Posts: 2027
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: Linux help - Ubuntu64 onto a Mac, using 32bit EFI...

Post by Neil-B »

I think there GPU list is both a white and black list - but never actually checked as I rarely if ever GPU fold (and my GPUs have always just "been there" - lucky I guess).

From what I understand it is AMD or NVIDIA and Double Precision Floating Point (FP64) essential … For the most part OpenCL 1.2 or above - but there may be a few that sneak in on OpenCL1.1 (I say this as I am sure I saw a Mod "backtrack" slightly on a statement that 1.2 was required) but I may be wrong on this last bit.

Some AMD drivers may have a bit of an issue from comments I have seen (again I am not sure on this) and NVIDIA uses OpenCL not Cuda.
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
Post Reply