Jim Brännlund - 2018-04-03

I have a Mac mini (2011) with two drives:

500GB HDD (sda) running Mac OS Sierra
500GB SSD (sdb) running CentOS 7

sda:

Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 00002B0D-6175-0000-091F-00004A4A0000

#         Start          End    Size  Type            Name
 1           40       409639    200M  EFI System      EFI system partition
 2       409640    975503591    465G  Apple HFS/HFS+  Customer
 3    975503592    976773127  619.9M  Apple boot      Recovery HD

sdb:

Disk /dev/sdb: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000e1978

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048     2099199     1048576   83  Linux
/dev/sdb2         2099200   976773119   487336960   8e  Linux LVM

My plan is to re-purpose the HDD to pure storage and remove Mac OSX.

Reading in another thread, Rod recommended that one shouldn't bother trying to move the EFI partition but to keep it in its original location. It's only 200M so that's fine.

As for CentOS I have different kernel versions and I need to be able to explicitly set which one is the default.

Reading in a yet another thread, I'm supposed to set the default_selection item in refind.conf. I'm also supposed to find this under /boot/efi/EFI/refind.

However, in CentOS, that directory doesn't exist. I've also done a system-wide search - refind.conf is nowhere to be found.

So, I'm assuming it's located somewhere on the HDD hosting Mac OS (sda).

Assuming, I'm correct - on what partition and where can I find it?

Or is there a way of doing it from the sdb disk?