Goal
Replace OS X with PureOS on my old Mac. I essentially want to give PureOS a go and buy a Librem PC if it works out.
Issue
PureOS doesn't appear in the boot 'drive' choices when I restart my Mac, so I can't boot from the ISO and run the installer.
Details
MacBook Pro specs
- OS X Yosemite (10.10.5)
- MacBook Pro (15-inch, Mid 2010)
- Processor 2.53 GHz Intel Core i5
- Memory 8 GB 1067 MHz DDR3
- Graphics Intel HD Graphics 288 MB
- Storage 256 GB Solid State SATA Drive
What I tried
- Downloaded
pureos-8.0-live-amd64.hybrid.iso
from https://www.pureos.net/download.html and checked the hash. All good. - Flashed the ISO onto a 4GB USB using Etcher (on another Mac of mine).
- Unmounted and unplugged the USB.
- Inserted the USB into my older Mac (detailed above) whilst it was off, then turned it on (with the Option key pressed), no PureOS boot option was available. I expected to see an external media icon labelled EFI.
Just for comparison, I downloaded the Debian 9 live install ISO (debian-9.3.0-amd64-netinst.iso
), and performed the same flashing process as listed above, and my older Mac successfully picked it up on boot. I know that PureOS is a derivative of Debian, so this has left me somewhat confused.
I also ran fdisk
on the ISOs to compare with the Debian ISO (may or may not be useful)…
PureOS ISO:
$ fdisk pureos-8.0-live-amd64.hybrid.iso
Disk: pureos-8.0-live-amd64.hybrid.iso geometry: 686/64/63 [2768960 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
*1: 17 0 2 1 - 1017 84 32 [ 64 - 2768896] OS/2 hidden
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
Debian ISO:
$ fdisk debian-9.3.0-amd64-netinst.iso
Disk: debian-9.3.0-amd64-netinst.iso geometry: 589/16/63 [593920 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
2: EF 1023 254 63 - 1023 254 63 [ 3760 - 832] <Unknown ID>
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
I'm thinking that the PureOS ISO isn't (U)EFI compatible, so my older Mac hasn't been able to pick it up on boot?
If anyone has any tips, please share and help me out – I'd love to get this working! Thanks in advance.
Best Answer
You are correct. The iso file only contains the software to BIOS boot. I created a virtual machine using VirtualBox and tried both BIOS and EFI boot methods. Using the BIOS boot method, I was able to successfully install and boot using either a Master Boot Record (MBR) table scheme or a GUID Partition Table (GPT) scheme. When I tried the EFI boot method, the firmware could not detect any EFI files to boot from. After BIOS booting a PureOS install in VirtualBox, I was able to examine the ISO file and could not find any EFI files needed for EFI booting.
So where does this leave us. Well, Mac users know you can not BIOS boot from the USB. So the obvious solution would be to burn the iso to a DVD and boot from the DVD drive to install PureOS. If a DVD drive is not available, then there is another option involving Windows. The PureOS installation iso file contains software that will replace an existing Windows installation with a PureOS installation. Of course, there is the possibility that your model Mac has hardware that is not compatible with the version of PureOS you are trying to install.
A free trial version of Windows 10 can be downloaded from the Microsoft website Download Windows 10 Disc Image (ISO File). The website Installing Windows 10 without DVD or Third Party Tools gives a procedure for installing a BIOS booting Windows 10 from a USB flash drive. If this procedure does not work, then the older procedure given at this website Installing Windows 7 or 10 Pro 64 bit without DVD or Flash Drive should work. Once Windows 10 is installed, the procedure given below can be used to replace Windows 10 with PureOS.
I assume macOS is installed to a "Mac OS Extended (Journaled)" formatted partition. If your Mac has macOS installed using Core Storage or AFPS, then make the appropriate substitutions. I assume Windows 10 is installed for a BIOS boot on a single NTFS formatted partition. The goal here is to replace Windows 10 with PureOS. The macOS installation should be unaffected.
Note: For a better view of a image, either click on the image or open the image in a new window.
pureos-8.0-live-amd64.hybrid.iso
file.Enter the following commands
From the list of disks, determine disk number for the flash drive. Here, I will assume the number is
1
. If your number is different, then make the appropriate substitution in the next command. Enter the following commands to create a single FAT32 formatted partition on the flash drive.Use the output from the next command to determine the drive letters for the "PUREOS" and "PureOS 8.0" volumes. Here, I will assume the "PUREOS" volume has been assigned the drive letter
E
and "PureOS 8.0" volume has been assigned the drive letterF
.Enter the following command to quit the
diskpart
command.Enter the following command to copy all the files from the "PureOS 8.0" volume to the "PUREOS" volume. If your assigned drive letters are different, then make the appropriate substitutions. This command will take a while to complete. Be patient.
Enter the following command to run the Debian-Installer loader.
When prompted, I selected the Normal mode. The images below were taken after choosing this path. If you have issues installing, you could try the Expert mode.
When prompted, select "Begin install on this computer.".
When the Debian-Installer loader has completed, select "Close". When prompted, select "Yes" to reboot.
When the image below appears, select "Debian GNU/Linux - Continue with install process". The computer should restart.
Proceed with the installation until an image similar to what is shown below appears. Select "Manual", then "Continue"
The next image should be similar to what is shown below. Remove the Windows partition(s). In this case, this would only be partition
#4
onsda
. So, highlight this partition and select "Continue".In the image shown below, highlight "Delete the partition", then select "Continue".
In the image shown below, highlight "Guided partitioning", then select "Continue".
In the image shown below, highlight "Guided - use the largest continuous free space", then select "Continue".
In the image shown below, I highlighted "All files in one partition (recommended for new users)". You may desired a different choice. When done choosing, select "Continue".
In the image shown below, highlight "Finish partitioning and write changes to disk", then select "Continue".
In the image shown below, select the "Yes" button, then select "Continue".
Continue with the installation until you reach an image similar to what is shown below. Select the "Yes" button, the select "Continue".
In the image shown below, highlight the line containing "/dev/sda", then select "Continue".
Continue until installation is complete.