Menu

Cannot boot Mac Fusion drive since installing reFind + Ubuntu

woolfie
2024-01-04
2024-01-27
  • woolfie

    woolfie - 2024-01-04

    I have an older Mac Mini (Intel, can't remember the year) that I installed Ubuntu 22.04.3 LTS on following the instructions at https://www.makeuseof.com/tag/install-linux-macbook-pro/

    As per the instructions, I re-enabled the System Integrity Protection in MacOS after creating the Ubuntu partitions (in Mac Disk Utility) before actually installing Ubuntu.
    Since installing, I am unable to boot back into MacOS. I've installed refind on the linux side so I now do have a boot menu, but whenever I pick any of the Mac partitions to boot it gets halfway through booting; an Apple logo screen with progress bar that gets to approximately halfway, then a grey fail screen logo (circle with diagonal line) appears and it halts and needs power-cycling to recover.
    I read through https://sourceforge.net/p/refind/discussion/general/thread/b9b50e68e3/ hoping for a silver bullet, but no luck.

    I really need to be able to boot back into MacOS and access the data on the Fusion drive (yep, didn't make a back-up... shoulda, coulda, didn't :-( )
    Here are the results of the diagnostic commands recommended in that thread:

    macbuntu:~$ sudo parted -l
    Model: ATA TOSHIBA MK5065GS (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    
    Number  Start   End    Size    File system     Name                  Flags
     1      20.5kB  210MB  210MB   fat32           EFI System Partition  boot, esp
     2      210MB   365GB  365GB                   Fusion
     3      365GB   366GB  650MB   hfs+
     4      366GB   373GB  7215MB  linux-swap(v1)                        msftdata
     5      373GB   500GB  127GB   ext4                                  msftdata
    
    
    Model: ATA OCZ-VERTEX4 (scsi)
    Disk /dev/sdb: 128GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    
    Number  Start   End    Size   File system  Name                  Flags
     1      20.5kB  210MB  210MB  fat32        EFI System Partition  boot, esp
     2      210MB   128GB  128GB               Fusion
     3      128GB   128GB  134MB  hfs+         Booter
    
    
    macbuntu:~$ 
    macbuntu:~$ sudo blkid /dev/sda2
    /dev/sda2: PARTLABEL="Fusion" PARTUUID="1231a334-352b-4fb7-a45c-bd18a9b778e3"
    macbuntu:~$ sudo blkid /dev/sda3
    /dev/sda3: UUID="1df92ad7-2fec-3f38-981d-e6c6daac6d65" BLOCK_SIZE="4096" LABEL="Recovery HD" TYPE="hfsplus" PARTUUID="96ad45ee-50bb-40da-890b-633fd09146e7"
    macbuntu:~$ sudo blkid /dev/sdb2
    /dev/sdb2: PARTLABEL="Fusion" PARTUUID="9cb2ffd4-045a-4f52-9f6f-82005780999e"
    macbuntu:~$ sudo blkid /dev/sdb3
    /dev/sdb3: UUID="18299145-da79-388f-a3e4-f5d18ec8cb83" BLOCK_SIZE="4096" LABEL="Boot OS X" TYPE="hfsplus" PARTLABEL="Booter" PARTUUID="082d1659-6652-44d3-a75b-e0e5b827cb93"
    macbuntu:~$ sudo mount /dev/sda2 /mnt
    mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
    macbuntu:~$ sudo mount /dev/sda3 /mnt
    macbuntu:~$ sudo find /mnt -iname "boot*efi"
    /mnt/com.apple.recovery.boot/boot.efi
    /mnt/System/Library/CoreServices/boot.efi
    macbuntu:~$ sudo umount /mnt
    macbuntu:~$ sudo mount /dev/sdb2 /mnt
    mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error.
    macbuntu:~$ sudo mount /dev/sdb3 /mnt
    macbuntu:~$ sudo find /mnt -iname "boot*efi"
    /mnt/System/Library/CoreServices/boot.efi
    macbuntu:~$ sudo umount /mnt
    macbuntu:~$ sudo gdisk /dev/sda
    GPT fdisk (gdisk) version 1.0.8
    
    Partition table scan:
      MBR: hybrid
      BSD: not present
      APM: not present
      GPT: present
    
    Found valid GPT with hybrid MBR; using GPT.
    
    Command (? for help): p
    Disk /dev/sda: 976773168 sectors, 465.8 GiB
    Model: TOSHIBA MK5065GS
    Sector size (logical/physical): 512/512 bytes
    Disk identifier (GUID): 50C65087-AE4F-4AE1-900D-CC84F2F0E5FF
    Partition table holds up to 128 entries
    Main partition table begins at sector 2 and ends at sector 33
    First usable sector is 34, last usable sector is 976773134
    Partitions will be aligned on 8-sector boundaries
    Total free space is 526078 sectors (256.9 MiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1              40          409639   200.0 MiB   EF00  EFI System Partition
       2          409640       713234623   339.9 GiB   FFFF  Fusion
       3       713234624       714504383   620.0 MiB   AF00  
       4       714506240       728598527   6.7 GiB     0700  
       5       728860672       976511062   118.1 GiB   0700  
    
    Command (? for help): i
    Partition number (1-5): 2
    Partition GUID code: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF (Unknown)
    Partition unique GUID: 1231A334-352B-4FB7-A45C-BD18A9B778E3
    First sector: 409640 (at 200.0 MiB)
    Last sector: 713234623 (at 340.1 GiB)
    Partition size: 712824984 sectors (339.9 GiB)
    Attribute flags: 0000000000000000
    Partition name: 'Fusion'
    
    Command (? for help): i
    Partition number (1-5): 3
    Partition GUID code: 48465300-0000-11AA-AA11-00306543ECAC (Apple HFS/HFS+)
    Partition unique GUID: 96AD45EE-50BB-40DA-890B-633FD09146E7
    First sector: 713234624 (at 340.1 GiB)
    Last sector: 714504383 (at 340.7 GiB)
    Partition size: 1269760 sectors (620.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: ''
    
    Command (? for help): i
    Partition number (1-5): 4
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: E9296DA3-ACAA-4F37-9F8F-D8594C7DFA75
    First sector: 714506240 (at 340.7 GiB)
    Last sector: 728598527 (at 347.4 GiB)
    Partition size: 14092288 sectors (6.7 GiB)
    Attribute flags: 0000000000000000
    Partition name: ''
    
    Command (? for help): i
    Partition number (1-5): 5
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: C06BCD45-8AF7-4CD1-AAA8-09D4FED01A01
    First sector: 728860672 (at 347.5 GiB)
    Last sector: 976511062 (at 465.6 GiB)
    Partition size: 247650391 sectors (118.1 GiB)
    Attribute flags: 0000000000000000
    Partition name: ''
    
    Command (? for help): q
    macbuntu:~$ sudo gdisk /dev/sdb
    GPT fdisk (gdisk) version 1.0.8
    
    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/sdb: 250069680 sectors, 119.2 GiB
    Model: OCZ-VERTEX4     
    Sector size (logical/physical): 512/512 bytes
    Disk identifier (GUID): 0C891CF8-7EFE-4C51-B4C9-07C042C530B4
    Partition table holds up to 128 entries
    Main partition table begins at sector 2 and ends at sector 33
    First usable sector is 34, last usable sector is 250069646
    Partitions will be aligned on 8-sector boundaries
    Total free space is 13 sectors (6.5 KiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1              40          409639   200.0 MiB   EF00  EFI System Partition
       2          409640       249807495   118.9 GiB   AF05  Fusion
       3       249807496       250069639   128.0 MiB   AB00  Booter
    
    Command (? for help): i
    Partition number (1-3): 2
    Partition GUID code: 53746F72-6167-11AA-AA11-00306543ECAC (Apple Core Storage)
    Partition unique GUID: 9CB2FFD4-045A-4F52-9F6F-82005780999E
    First sector: 409640 (at 200.0 MiB)
    Last sector: 249807495 (at 119.1 GiB)
    Partition size: 249397856 sectors (118.9 GiB)
    Attribute flags: 0000000000000000
    Partition name: 'Fusion'
    
    Command (? for help): i
    Partition number (1-3): 3
    Partition GUID code: 426F6F74-0000-11AA-AA11-00306543ECAC (Recovery HD)
    Partition unique GUID: 082D1659-6652-44D3-A75B-E0E5B827CB93
    First sector: 249807496 (at 119.1 GiB)
    Last sector: 250069639 (at 119.2 GiB)
    Partition size: 262144 sectors (128.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'Booter'
    
    Command (? for help): q
    macbuntu:~$ 
    

    Thanks,

    Iain

     
  • woolfie

    woolfie - 2024-01-27

    Anyone have any suggestions on what I can try? I still stumped by this.

    Thanks,
    Iain

     
  • joevt

    joevt - 2024-01-27

    Install macOS to an external drive and troubleshoot the fusion drive from there.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.