Differences between revisions 13 and 14
Revision 13 as of 2019-09-29 21:09:46
Size: 14358
Comment:
Revision 14 as of 2019-09-30 01:13:25
Size: 14358
Comment:
Deletions are marked like this. Additions are marked like this.
Line 83: Line 83:
- Mount it somewhere and copy the initrd.gz and wmlinuz files (from /install.amd/) on /efi/boot/ of USB1 - Mount it somewhere and copy the initrd.gz and vmlinuz files (from /install.amd/) on /efi/boot/ of USB1

Translation(s): none

Models covered
Mac Pro 2,1

  • Mac Pro 2,1 Standard LCD screen, 2 X 2.66 GHz Dual Core Intel Xeon, 21GB DDR2 667Mhz FB-DIMM, 120 GB SDD for install and other HDs for the other systems already installed, ATI Radeon HD 5770 1024MB

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

LAN network card (integrated X2):

{OK}

Detect CD/DVD (Samsung SE-S084, external DVD+RW) :

{OK}

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

{OK}

Sleep / Suspend

{OK}

Xorg

{i}

- OpenGL

{OK}

- Resize-and-Rotate(randr)

{OK}

Switch to External Screen

{OK}

Mouse

{OK}

- Built-in (Trackpoint)

- Built-in (Touchpad)

Modem

Wireless/Wifi

Keyboard's Hotkeys

{OK}

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Important Note

This guide describes installing Debian in multi-boot mode, i.e. the existing Mac OS and other systems installations will be preserved. The following describes which special settings and procedures were required to install Debian (and probably most other Linuxes) on the Mac Pro 2,1.

The Mac Pro 2,1 uses a 32 bits EFI Bootloader although everything else works on 64 bits basis. This point makes a 64 bits OS install a bit tricky.

EFI and Partitioning

The Mac Pro 2,1 boots using EFI 1, the first partition on the built-in HDD is reserved for EFI. Without the EFI partition (i.e. after deleting the EFI partition during installation of Debian), booting the !Mac Pro 2,1 is not possible. The rEFIt Boot Menu and Toolkit 2 must be installed on the system before Linux could be installed (although there are probably ways around having to install rEFIt).

EFI partition (/dev/sda1)

The EFI partition (/dev/sda1) is required for the !Mac Pro 2,1 to boot. The rEFIt bootloader must be installed into this partition. By default, rEFIt will install into the partition where Mac OS X is installed. However, since that partition must be preserved, boot into Mac OS and install rEFIt manually into /dev/sda1, the EFI partition, like so (from 3):

Installation mediums

An additional HD or SSD drive where you will install Debian (OSX and/or other systems are already installed on the other disk(s)).

You will need 2 USB drives to install Debian with this method.

- USB1 :

- prepare this USB drive with a GPT partition scheme labelled "Buster" (or something you will remember) and a FAT32 partition

- Download the 32-bit EFI GRUB tarball from Christopher Smart’s Blog from 4

- Extract and copy the tarball on USB1.

- Delete the bootx64.efi archive from /efi/boot/ .

- Download Debian's ISO : firmware-10.1.0-amd64-netinst.iso

- Mount it somewhere and copy the initrd.gz and vmlinuz files (from /install.amd/) on /efi/boot/ of USB1

- Edit "grub.cfg" of the /efi/boot/ as follows, replacing the last entry of the file :

        menuentry "Install Debian Buster" {
        fakebios
        linux /efi/boot/vmlinuz priority=low vga=normal video=efifb noefi
        initrd /efi/boot/initrd.gz
        } 

- USB2 : at least 8G with a GPT partition scheme that you can label "debianCDRom" : download and write firmware-10.1.0-amd64-netinst.iso on it with "dd"

Place USB1 and USB2 on the front USB slots of you Mac Pro 2,1

Boot your machine.

After the "poiiiing" sound rEFIt should give you the option to boot from /XXX/Buster/efi/boot/bootia32.efi

Select this option to start a classic text-mode installation of Debian - USB2 should be mounted automatically by the install procedure as a Debian cdrom image (previous attempt with this method failed recovering the cdrom without the image on the USB2 drive).

Choose "Guided installation on one disk" and select the additional drive. Besides that, installation proceeds as usual until the part where the GRUB bootloader gets installed (below).

GRUB Installation

/!\ DO NOT INSTALL GRUB ON THE DISKS WHERE A SYSTEM IS ALREADY PRESENT!

Choose to install grub to the EFI removable media path as proposed at the end of the installation

After installing GRUB, finish the installation and reboot. rEFIt should detect the Linux boot partition and boot from that partition when selected.

On reboot, select EFI/debian/grubia32.efi from and press "e" to edit the grub prompt (only at this first reboot) and edit the entry as follows :

  • - add "fakebios", remove "ro" and "splash" from the "linux" line and add "noefi at the end of this line.

You may have to add some drivers for your ATI card in order to boot directly to your X desktop if you have installed one. ("apt-get install firmware-amd-graphics" in a root terminal)

/!\ POST-INSTALL!

Edit /etc/defaults/grub and add "noefi" at the end of the linux line. Run update-grub and finally reboot you Mac.


System Summary

lspci

00:00.0 Host bridge: Intel Corporation 5000X Chipset Memory Controller Hub (rev 31)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 2-3 (rev 31)
00:03.0 Non-VGA unclassified device: Intel Corporation 5000 Series Chipset PCI Express x4 Port 3 (rev 31)
00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 4-5 (rev 31)
00:05.0 Non-VGA unclassified device: Intel Corporation 5000 Series Chipset PCI Express x4 Port 5 (rev 31)
00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 6-7 (rev 31)
00:07.0 Non-VGA unclassified device: Intel Corporation 5000 Series Chipset PCI Express x4 Port 7 (rev 31)
00:08.0 System peripheral: Intel Corporation 5000 Series Chipset DMA Engine (rev 31)
00:10.0 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 31)
00:10.1 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 31)
00:10.2 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 31)
00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 31)
00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 31)
00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 31)
00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 31)
00:1b.0 Audio device: Intel Corporation 631xESB/632xESB High Definition Audio Controller (rev 09)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09)
00:1c.1 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 2 (rev 09)
00:1c.2 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 3 (rev 09)
00:1c.3 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 4 (rev 09)
00:1d.0 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09)
00:1d.1 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09)
00:1d.2 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09)
00:1d.3 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09)
00:1d.7 USB controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09)
00:1f.2 SATA controller: Intel Corporation 631xESB/632xESB SATA AHCI Controller (rev 09)
00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus Controller (rev 09)
01:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
01:00.1 PIC: Intel Corporation 6311ESB/6321ESB I/OxAPIC Interrupt Controller (rev 01)
01:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
02:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
02:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01)
02:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01)
05:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
05:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770]
08:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]
10:0b.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller (rev 01)

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null

Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 
Couldn't open device, some information will be missing
Bus 002 Device 005: ID 046d:c040 Logitech, Inc. Corded Tilt-Wheel Mouse
  bDeviceClass            0 
  bDeviceProtocol         0 
  iProduct                2 
      (Bus Powered)
Bus 002 Device 004: ID 0b38:0010 Gear Head 107-Key Keyboard
Couldn't open device, some information will be missing
  bDeviceClass            0 
  bDeviceProtocol         0 
  iProduct                0 
      (Bus Powered)
Couldn't open device, some information will be missing
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 

USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.

Resources

Attachments

Some configuration files and sample outputs.

Credits

Chistopher Smart JustAnotherLinuxGeek`



CategoryDebianOn CategoryDebianOn