0

I have a MacBook Pro with two partitions:

  1. macOS partition (200 GB).
  2. Linux partition (100 GB).

When I enter the Recovery Mode and open Disk Utility, and click "partition" on my whole HD device, I can see a pie chart showing each partition and its size.

My goal is to delete the Linux partition and get back to the normal state where my Mac has a full 300 GB of storage instead of 200 GB.

My question is: If on the pie chart I clicked on the Linux partition and clicked the minus "-" symbol, will it achieve my goal?

Is it going to delete my Linux partition and give its size to the Mac without losing any data on my Mac partition?

2

The answer is no you will not lose your data.

You now are a potential member in the "Unintended Consequences" club. So what we do here is change "no" to "you probably won't lose data if everything goes well."

Which means, backup the entire Mac partition and then boot from the backup and make sure it is good before proceeding.

Once you have your backup that Murphy's Law of Unnecessary Backups says you will now never need the backup you just made, you may now proceed with deleting the Linux partition and expanding the macOS partition into the empty space. Which is not supposed to delete anything on your macOS partition, if everything goes well.

1
  1. No - you won't lose Mac data.

  2. You need to delete the linux partition, then extend the Mac partition.

Just deleting the linux partition will leave the Mac one as is - partitions don't auto-expand.

Key steps:

  1. Click the partition you wish to change.
  2. Use the ‘Size’ field to set a size for the partition. The size is entered in GB (gigabytes).
  3. Press the tab or enter key on your keyboard to see a visual display of the resulting partition changes.
  4. You can also interactively adjust partition sizes by dragging the small indicator positioned between each partition.
  5. When you’re satisfied with your partition sizes, formats, and names, click the ‘Apply’ button.

This has the details: https://www.lifewire.com/partition-macs-hard-drive-disk-utility-2260077

0

Let me preface this answer by saying that anytime you are making changes to the partition table, you should consider making a backup of all relevant data (documents, pictures, music, application data, etc.). This change to the partition table only becomes challenging when you are making changes to the boot loader, which you are not doing.

You must log in to answer this question.

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