1

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

  1. Downloaded pureos-8.0-live-amd64.hybrid.iso from https://www.pureos.net/download.html and checked the hash. All good.
  2. Flashed the ISO onto a 4GB USB using Etcher (on another Mac of mine).
  3. Unmounted and unplugged the USB.
  4. 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.

3

Note: This is from a comment added by the OP (who does have a working DVD drive): I've since successfully replaced OS X with PureOS from the DVD iso, installed with LVM full disk encryption, and grabbed the linux package firmware-brcm80211, which has enabled WiFi :)

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.

  1. Boot to Windows 10.
  2. Mount the pureos-8.0-live-amd64.hybrid.iso file.
  3. Insert a 2 GB or larger flash drive in an USB port. Everything on this flash drive will be erased.
  4. Open an "Administrator: Command Prompt" window.
  5. Enter the following commands

    diskpart
    rescan
    list  disk
    
  6. 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.

    select  disk  1
    clean
    convert  mbr
    create  partition  primary
    format  fs=fat32  label=pureos  quick
    
  7. 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 letter F.

    list  volume
    
  8. Enter the following command to quit the diskpart command.

    exit
    
  9. 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.

    xcopy  /e  /h  f:\*  e:
    
  10. Enter the following command to run the Debian-Installer loader.

    e:setup
    
  11. 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.

  12. When prompted, select "Begin install on this computer.".

  13. When the Debian-Installer loader has completed, select "Close". When prompted, select "Yes" to reboot.

  14. When the image below appears, select "Debian GNU/Linux - Continue with install process". The computer should restart.

    10

  15. Proceed with the installation until an image similar to what is shown below appears. Select "Manual", then "Continue"

    11

  16. 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 on sda. So, highlight this partition and select "Continue".

    12

  17. In the image shown below, highlight "Delete the partition", then select "Continue".

    13

  18. In the image shown below, highlight "Guided partitioning", then select "Continue".

    14

  19. In the image shown below, highlight "Guided - use the largest continuous free space", then select "Continue".

    15

  20. 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".

    16

  21. In the image shown below, highlight "Finish partitioning and write changes to disk", then select "Continue".

    17

  22. In the image shown below, select the "Yes" button, then select "Continue".

    18

  23. Continue with the installation until you reach an image similar to what is shown below. Select the "Yes" button, the select "Continue".

    19

  24. In the image shown below, highlight the line containing "/dev/sda", then select "Continue".

    20

  25. Continue until installation is complete.

Final note: If you have problems booting PureOS, you may consider installing rEFInd to the EFI partition.

|improve this answer|||||
  • Thanks for taking a look David. Luckily, the Mac has a DVD drive... so I can give that a shot. Where PureOS is based on Debian, would you recommend I trial out Debian with my hardware first, before going all in with PureOS? – Peter J Langley Jan 11 '18 at 21:41
  • The iso file included a live version, so you try booting the live version of PureOS from the DVD without installing to your internal drive. Although, the live version would not boot when I tested in VirtualBox, but the installed version would. – David Anderson Jan 11 '18 at 21:48
  • Good point - I'll give that a go, cheers! – Peter J Langley Jan 11 '18 at 21:53
  • It is good to know you have a DVD drive. Let me know, If you can not directly boot and install from the DVD. I discovered that the iso has software that can be used to replace an existing Windows installation. So if necessary, I could post a procedure, where you would first install a free trial version of Windows 10, then use the DVD to replace Windows 10 with PureOS. I tested this in VirtualBox and was successful. – David Anderson Jan 11 '18 at 21:55
  • It booted just fine :D Took a while, but it successfully ran the live version! However, on the network settings, under Wi-Fi, it says firmware missing. This concerns me a bit - there could be some hurdles left for me, in order to get this fully functional on my given hardware. Anyway, you've answered my original question, thank you. – Peter J Langley Jan 12 '18 at 22:21
0

So short answer is doing this will be VERY involved, and you will save at lot of time and effort and aggravation if you install the new OS in a VM like VMWare, or Parallels. They usually have some trial version you can use for like two weeks. There are also free open source VM's as well.

Problem #1

Apple goes out of its way to block any OS other than OSX and Windows (Inside boot camp only) on its hardware. As well as to block OSX from being installed on non-Apple hardware. This is done at the BIOS level so there are no simple OS level software work arounds. I know there were hacks to get around this, but they were pretty involved. I have not kept up with what it is you have to do now to get around it.

Problem #2

On top of that Apple has not used standard SATA or SAS interfaces for its built in hard drives for quite a while now. They have their own screwy interface. So your OS will specifically need the drivers to support for what ever it is they are currently doing which could be VERY tricky to find.

Problem #3

As an extension of #1 besides blocking drive access Apple restricts access to the boot sector as well. So that is another thing to get passed to install a new OS.

|improve this answer|||||
  • -1 “On top of that Apple has not used standard SATA…” News to me and the SATA drives in my Macs as well as the tons of upgrades out there. Please provide documentation. – JakeGould Jan 10 '18 at 21:05
  • You do not need documentation. Go to your System Info app, and look what it shows under SATA and SAS. Only any Mac laptop both will show no devices connected. – BrianC Jan 10 '18 at 21:16
  • Not sure on the desktop Macs, but the Genus Bar explained it to me when one of my power books died. You can pull the SSD hard drive out of mac book but you can't connect them to anything other than another Mac as they do not have a standard interface. And the converter you need to connect an Apple mac book SSD drive to a SATA or SAS bus is over $500 – BrianC Jan 10 '18 at 21:19
  • “You do not need documentation.” Yes! You do! You have no idea what machine this poster is using. And I do this stuff fo a living. On SAS you are correct. For SATA you are utterly wrong. Pretty much all Macs have SATA connectors of some sore. “And the converter you need to connect an Apple mac book SSD drive to a SATA or SAS bus is over $500.” Double nonsense. It depends on the model, but this is hyperbolic at best. – JakeGould Jan 10 '18 at 21:23
  • Then why on EVERY new Macbook at lest does the System Information app show "No Devices Found" under SATA. And why do multiple Apple support people all say it is a custom interface? – BrianC Jan 10 '18 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.