I created a Linux (Ubuntu) partition some months ago on my 2015 Macbook Pro using Bootcamp Assistant. Recently I installed rEFInd, rebooted my Mac, and now the only partition available on boot is the Ubuntu partition (I can no longer access my main partition, even when rebooting and holding option or CMD + R). When I run lsblk on the Ubuntu partition, I see sda with size 931GB (my Mac is 1TB, so this makes sense) and I see that it is broken up into sda1 (200MB), sda2 (493GB) and sda3 (279GB). I believe sda2 is my MacOS partition, and sda3 is my Ubuntu partition. Does anybody know how to restore my access to the MacOS partition?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created a Linux (Ubuntu) partition some months ago on my 2015 Macbook Pro using Bootcamp Assistant. Recently I installed rEFInd, rebooted my Mac, and now the only partition available on boot is the Ubuntu partition (I can no longer access my main partition, even when rebooting and holding
optionorCMD + R). When I runlsblkon the Ubuntu partition, I seesdawith size 931GB (my Mac is 1TB, so this makes sense) and I see that it is broken up intosda1(200MB),sda2(493GB) andsda3(279GB). I believesda2is my MacOS partition, andsda3is my Ubuntu partition. Does anybody know how to restore my access to the MacOS partition?Check the disk with Disk Utility from a macOS installer created on a USB flash stick by another Mac?
Post output of lsblk here.
Post info from gpt fdisk:
http://www.rodsbooks.com/gdisk/
Where is the swap located?
sudo dd if=/dev/sda count=1 | xxdthe first block of sda.