Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Returning Partition Table

Hi all,


it looks like this is the best place to ask a question on partitioning. I'm not that experience on this front hence getting myself into this pickle.


I used to have the standard MBR bootcamp partition, with Windows and OSX, also had rEFInd setup nicely for boot options, but wanted to slightly expand the Windows partition. I booted in recovery mode, used disk utility to shrink the OSX partition, this is when I found out that I wouldn't simply be able to boot restart the laptop and expand the Windows partition into the now free space. I finally managed to follow a guide that helped me fix the issue by rebuilding the partition table, for the current state of the volume, but I would like to just return it to my previous clean setup.


So I'd like to re-expand my OSX partition back to how it was and restore the previous partition table with EFI.


Could someone please instruct me on how to do this. I know I'll have to expand the OSX partition which will cause it to break again, but instructions from that point onwards would be really appreciated.


The output from "sudo gdisk /dev/disk0" is:


MBR: hybrid


BSD: not present


APM: not present


GPT: present

The output from "diskutil list" is:

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *240.1 GB
disk0

1: EFI EFI 209.7 MB
disk0s1

2: Apple_HFS Macintosh HD 90.0 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB
disk0s3

4: Apple_HFS Untitled 34.1 GB disk0s4

5: Microsoft Basic Data BOOTCAMP 115.0 GB
disk0s5


/dev/disk1 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_partition_scheme +20.4 MB disk1

1: Apple_partition_map 32.3 KB disk1s1

2: Apple_HFS Flash Player 20.4 MB disk1s2

Thanks so much for your help in advance,

Seb

Posted on Mar 9, 2018 12:27 PM

Reply

Similar questions

41 replies

Returning Partition Table

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.