How to resize Macintosh HD from deleted Linux Partition

chilskater01

macrumors newbie
Original poster
Jun 24, 2017
7
2
Borneo
Hi,
Probably some people have this problem and get it fixed.I couldnt find it here and probably slightly different from my problem.

I have 25GB Linux Partition, 300MB Recovery HD and the rest is Macintosh HD partition. When i delete Linux partition using Disk Utility, automatically the Recovery HD will "reclaimed" the space making it 25GB++ Recovery HD. I dont want that. I want my Macintosh HD to "reclaimed" the free 25GB space.

How can i do that?Or any easy/3rd Party software can do it?I dont mind to delete all the partition and redo the installation again(Yosemite/Sierra).
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
29,120
8,801
California
Run each of the commands below in Terminal and tell us the output of each command. That will show how things are partitioned so we can offer suggestions.

Code:
diskutil list

diskutil cs list
Looks like you are on Sierra. Do your have a Time Machine backup to a local drive?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
29,120
8,801
California
Time Machine Backup is on external disk
Let's try this... attached the TM drive then reboot while holding the option key. When the startup disk screen comes up, pick the TM disk. That will get you to a recovery screen. Start Disk Util and go to the erase tab. Then at the very top of the left column select the disk itself above all the partitions. Then erase the whole disk to Mac OS Extended (Journaled). The quit Disk Util and click restore. That should get everything back like it was.
 

chilskater01

macrumors newbie
Original poster
Jun 24, 2017
7
2
Borneo
Let's try this... attached the TM drive then reboot while holding the option key. When the startup disk screen comes up, pick the TM disk. That will get you to a recovery screen. Start Disk Util and go to the erase tab. Then at the very top of the left column select the disk itself above all the partitions. Then erase the whole disk to Mac OS Extended (Journaled). The quit Disk Util and click restore. That should get everything back like it was.

Thanks, i will try that now..
 
  • Like
Reactions: Weaselboy