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

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

Postby AndrewBienhaus » Fri Apr 17, 2020 10:34 pm

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 11:33 am

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

Postby AndrewBienhaus » Fri Apr 17, 2020 11:39 pm

-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 11:33 am

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

Postby AndrewBienhaus » Sat Apr 18, 2020 1:45 am

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...
AndrewBienhaus
 
Posts: 23
Joined: Sun Apr 12, 2020 11:33 am

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

Postby PantherX » Sat Apr 18, 2020 1:47 am

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
User avatar
PantherX
Site Moderator
 
Posts: 6605
Joined: Wed Dec 23, 2009 10:33 am
Location: Land Of The Long White Cloud

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

Postby ipkh » Sat Apr 18, 2020 12:33 pm

At a first thought, try Ubuntu 18.04 and the desktop version.
That or try debian 10 instead.
ipkh
 
Posts: 153
Joined: Thu Jul 16, 2015 3:03 pm

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

Postby VAcharonD1 » Sat Apr 18, 2020 6:28 pm

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?
VAcharonD1
 
Posts: 11
Joined: Tue Mar 24, 2020 3:46 am

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

Postby Joe_H » Sat Apr 18, 2020 9:44 pm

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
Joe_H
Site Admin
 
Posts: 6547
Joined: Tue Apr 21, 2009 5:41 pm
Location: W. MA

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

Postby AndrewBienhaus » Sun Apr 19, 2020 3:29 am

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 11:33 am

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

Postby AndrewBienhaus » Sun Apr 19, 2020 3:51 am

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

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

Postby AndrewBienhaus » Sun Apr 19, 2020 4:27 am

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
:)
AndrewBienhaus
 
Posts: 23
Joined: Sun Apr 12, 2020 11:33 am

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

Postby PantherX » Sun Apr 19, 2020 4:59 am

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
User avatar
PantherX
Site Moderator
 
Posts: 6605
Joined: Wed Dec 23, 2009 10:33 am
Location: Land Of The Long White Cloud

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

Postby AndrewBienhaus » Sun Apr 19, 2020 5:23 am

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/
AndrewBienhaus
 
Posts: 23
Joined: Sun Apr 12, 2020 11:33 am

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

Postby Joe_H » Sun Apr 19, 2020 5:47 am

The 7300GT however is too old for folding though.
Joe_H
Site Admin
 
Posts: 6547
Joined: Tue Apr 21, 2009 5:41 pm
Location: W. MA

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

Postby AndrewBienhaus » Sun Apr 19, 2020 2:21 pm

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"?
AndrewBienhaus
 
Posts: 23
Joined: Sun Apr 12, 2020 11:33 am

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

Postby Neil-B » Sun Apr 19, 2020 4:36 pm

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.
1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent, Quadro K420 1GB, FAH 7.6.13
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro, Quadro M1000M 2GB, FAH 7.6.13
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro, GTX 750Ti 2GB, FAH 7.6.13
Neil-B
 
Posts: 1351
Joined: Sun Mar 22, 2020 6:52 pm
Location: UK

Next

Return to New Donors start here

Who is online

Users browsing this forum: No registered users and 2 guests

cron