Hi all,
Resurrected an old MacBook Pro 2006 2,33Ghz Core 2 Duo (macbookpro2,2 as Apple names it) who’s getting dust since more than 4 years, I decided to give Linux a try and successfully installed openSUSE Leap 15.1 on it which support the best this oldie (a couple of things need to be fixed like suspend/hibernation when closing the lid, kde plasma lags sometimes when it comes to move windows or scroll, a logout fixes temporarily, etc.), but overall an impressive work from opensuse’s developpers, kudos!
But I couldn’t find a way to boot it without the help of x86_64 install DVD and/or without refind/refit.
Some folks (here and there) are stating it’s possible to boot directly from EFI right from Apple’s bootloader (when holding the alt/option key at startup).
As this laptop has a 32-bit EFI but its cpus are 64-bit and I don’t know if its the culprit nor if these steps are exclusively for Debian/Ubuntu.
I’m using the simple following partition scheme with an ESP formatted in FAT32:
fdisk -l
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Disk model: M4-CT128M4SSD2
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 51451770-8540-45EA-B2E1-2001B1CA18E9
Device Start End Sectors Size Type
/dev/sda1 2048 503807 501760 245M EFI System
/dev/sda2 503808 243773439 243269632 116G Linux filesystem
/dev/sda3 243773440 250069646 6296207 3G Linux swap
gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 51451770-8540-45EA-B2E1-2001B1CA18E9
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 503807 245.0 MiB EF00
2 503808 243773439 116.0 GiB 8300
3 243773440 250069646 3.0 GiB 8200
Am I stuck with using refind/refit (which add another booting step) or can I boot grub2 directly with the help of grub2-i386-efi?