How to create a Linux Mint LiveUSB for an old MacPro (1.1 and 2.1)

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
mcroger
Level 2
Level 2
Posts: 99
Joined: Sun Sep 20, 2020 2:22 pm

How to create a Linux Mint LiveUSB for an old MacPro (1.1 and 2.1)

Post by mcroger »

As most are aware, these old machines had an early version of EFI, in 32 bits, while the CPU can support a 64 bit OS.

There are different ways to install Linux, most use the « legacy » mode, while other install the EFI mode but at the expense (IMHO) of very complex processes for a beginner or using Refind, which is OK but I prefer to skip additional tools when I can.

The advantages of EFI are the support of the additional SATA connectors, and based on my own experience, a better thermal and fan control without additional software on my own system (Mac 1,1 upgraded to 2,1 and a double quad-core X5355).

This tutorial explains how to achieve it quite easily (hopefully) based on the post of Sergey’s blog: http://blog.sergem.net/boot-ubuntu-18-0 ... macpro-11/


Requirements:
Flashdrive
Linuxmint ISO of your favorite flavour
Bootia32 : https://github.com/hirotakaster/baytail-bootia32.efi
Another PC (I used another Linuxmint)

We are going to use the “manual” way described by Sergey (with some minor differences).

1) Prepare the flashdrive partitions and folder

Create GPT partition table (in Gparted e.g.)
Create the EFI partition: FAT 210 MB, name EFI with boot flag
Create the Linux partition: EXT4 (several GB based on the drive size)
Create folders /efi/boot and /boot/grub on the EFI partition

2) Copy the relevant files to the EFI partition

Copy vmlinuz (kernel) and initrd.lz (initial ramdisk) from Linuxmint iso /casper folder to /boot/grub
Put the Grub2 bootia32.efi file to /efi/boot/grub (EDIT: corrected path to /efi/boot/grub as on printscreen)
Create a text file “grub.cfg” with the following content in /boot/grub

Code: Select all

set timeout=10
set default=0

menuentry "Install Mint64" {
   fakebios
   linux /boot/grub/vmlinuz boot=casper file=live-media-path=/casper/ ignore_uuid priority=low noefi nomodeset
   initrd /boot/grub/initrd.lz
} 
This is what you should have at this stage

Image


3) Extract the content of the Live ISO to the EXT4 partition

4) Boot holding the ALT key and select the orange EFI Boot icon

Doing so enables to boot and install Linuxmint from the flashdrive.


However, at the post-installation reboot, it may be necessary to edit the grub entry (Escape then Edit) to add “noefi” in order to boot. Then you should also apply it permanently by editing /etc/default/grub and updating grub2. Some say it is no longer necessary, it was needed in my case.

And if you still end up with Minimal Grub command line, the easiest is to reboot on the LiveUSB drive, and use Boot-Repair to fix grub.

To check if the Mac has properly booted in EFI:

Code: Select all

[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
Image
Last edited by mcroger on Sun Sep 26, 2021 5:28 am, edited 1 time in total.
Mac Pro1 2006 x5355 - Nvidia GT1030 - ATI 5770HD Mac Edition- 16 GB, dual boot Mint 20.3 / Mac OSX El Capitan
Mac Pro2 2006 x5355 - Nvidia GTX470 - 12 GB, dual boot 20.3 / Mac OSX El Capitan
Macbook Air mid-2011 i7 - dual boot Mint 21.1 / Mac OSX Catalina
bleulemonade
Level 1
Level 1
Posts: 1
Joined: Thu Apr 01, 2021 10:55 am

Re: How to create a Linux Mint LiveUSB for an old MacPro (1.1 and 2.1)

Post by bleulemonade »

Has this worked for anyone else? I have tried it two different ways and neither works.
mcroger
Level 2
Level 2
Posts: 99
Joined: Sun Sep 20, 2020 2:22 pm

Re: How to create a Linux Mint LiveUSB for an old MacPro (1.1 and 2.1)

Post by mcroger »

Mac Pro1 2006 x5355 - Nvidia GT1030 - ATI 5770HD Mac Edition- 16 GB, dual boot Mint 20.3 / Mac OSX El Capitan
Mac Pro2 2006 x5355 - Nvidia GTX470 - 12 GB, dual boot 20.3 / Mac OSX El Capitan
Macbook Air mid-2011 i7 - dual boot Mint 21.1 / Mac OSX Catalina
Post Reply

Return to “Tutorials”