So I have Ubuntu and high sierra working fine, but yesterday I decided to expand the ubuntu disk space. So I free up space in the macos by deleting application and then doing a partition(this is how I remember allocating space for ubuntu when I installed it). The partition was done in osx. After a reboot, the option to boot osx is gone, so I can only boot ubuntu with reFind. I'm guessing the macos might have unmounted it self after the partitioning or it might have to do with the new mac file system which reFind doesn't recognise.

Booting into recovery with command-R all I get is internet recovery and error code of -2002F meaning I cannot connect to apple server.

Thanks for the help!

1 Answer 1


I need more information about your partition tables. Please do the following.

Boot to Ubuntu.

Use control+option+T key to open a Terminal window.

Enter the commands shown below.

sudo fdisk -l /dev/sda
sudo gdisk /dev/sda

The gdisk command is interactive. Enter the P key followed by the Q key.

Post the output from these two commands to your question.

  • Thanks for the help David, I ended up doing a full recovery.
    – Tiger
    Dec 31, 2017 at 20:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .