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

Issue after creating new partition for Bootcamp expansion

Hi,


Hopefully someone can help with with an issue I am having.


I found an old Apple discussion on how to resize a bootcamp partition, by reducing the size of the OS X partition and then using a Windows based tool to then expand the Bootcamp partition. Big mistake! I ended up with the same problem as this thread's creator, with my Windows partition no longer being bootable.


I followed the steps outlined by Loner T, which worked perfectly! Thanks so much!


I then went into Windows and used the Mini Partition Tool to extend the Windows partition into the unallocated partition which worked fine in Windows.


However when I boot back into OS X and open disk utility I can now see 3 separate partitions.. 1) Mac HD; 2) Untitled (the one I created) 3) Windows HD (Bootcamp). So OS X is not recognising that I have extended the Windows HD partition into the Untitled one.


Is there a way to fix this without ruining the now expanded Windows partition? Windows doesn't seem to see two separate partitions, only in OS X. I have downloaded GPT Fdisk


Thanks in advance!


Outputs below:


diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *121.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage Macintosh HD 121.0 GB disk0s2

3: Apple_Boot Boot OS X 134.2 MB disk0s3

/dev/disk1 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_CoreStorage Macintosh HD 637.5 GB disk1s2

3: Apple_Boot Recovery HD 650.1 MB disk1s3

4: Apple_HFS 173.7 GB disk1s4

5: Microsoft Basic Data Windows HD 188.0 GB disk1s5

/dev/disk2 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +750.0 GB disk2

Logical Volume on disk0s2, disk1s2

D3F5913D-0A32-4BE8-BD44-A65885746DA0

Unencrypted Fusion Drive

/dev/disk3 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.5 TB disk3

1: EFI EFI 209.7 MB disk3s1

2: Apple_HFS My Book Studio A 1.5 TB disk3s2

/dev/disk4 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.5 TB disk4

1: EFI EFI 209.7 MB disk4s1

2: Apple_HFS My Book Studio B 1.5 TB disk4s2


diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 23846179-0CBE-42F5-A375-0D969F4C789E

=========================================================

Name: Macintosh HD

Status: Online

Size: 758507479040 B (758.5 GB)

Free Space: 229376 B (229.4 KB)

|

+-< Physical Volume 571468F3-1F01-43FF-95B5-96F0B1CA90A2

| ----------------------------------------------------

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 120988852224 B (121.0 GB)

|

+-< Physical Volume 6221D4DD-339F-4497-87C4-2522407182AF

| ----------------------------------------------------

| Index: 1

| Disk: disk1s2

| Status: Online

| Size: 637518626816 B (637.5 GB)

|

+-> Logical Volume Family 41CF6816-F84F-4D76-A6FD-97288E448BF7

----------------------------------------------------------

Encryption Type: None

|

+-> Logical Volume D3F5913D-0A32-4BE8-BD44-A65885746DA0

---------------------------------------------------

Disk: disk2

Status: Online

Size (Total): 749999882240 B (750.0 GB)

Revertible: No

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

LVG Type: Fusion, Sparse


sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

gpt show: /dev/disk0: PMBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 236978175

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 236306352 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

236715992 262144 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

236978136 7

236978143 32 Sec GPT table

236978175 1 Sec GPT header


sudo gpt -vv -r show /dev/disk1

gpt show: /dev/disk1: mediasize=1000204886016; sectorsize=512; blocks=1953525168

gpt show: /dev/disk1: Suspicious MBR at sector 0

gpt show: /dev/disk1: Pri GPT at sector 1

gpt show: error: bogus map

gpt show: unable to open device '/dev/disk1': Undefined error: 0


sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 14751/255/63 [236978176 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 63 [ 1 - 236978175] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused


sudo fdisk /dev/disk1

Disk: /dev/disk1 geometry: 121601/255/63 [1953525168 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>

2: AF 25 127 15 - 1023 254 63 [ 409640 - 1245153568] HFS+

3: AB 1023 254 63 - 1023 254 63 [1245563208 - 1269760] Darwin Boot

*4: 07 1023 254 63 - 1023 254 63 [1246834688 - 706689024] HPFS/QNX/AUX

VIN,iMac (27-inch Late 2009), OS X El Capitan (10.11.3)

Posted on Feb 6, 2016 6:25 PM

Reply
4 replies

Feb 6, 2016 6:39 PM in response to Loner T

Yes I've installed it. Output below. No. 4 is the Partition that I created. When viewing from the Windows side, partition 4, 5 are now combined into a single partition.


Disk /dev/rdisk1: 1953525168 sectors, 931.5 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): D4A544F8-712A-4C98-B063-012A9EE77572

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 1953525134

Partitions will be aligned on 8-sector boundaries

Total free space is 263573 sectors (128.7 MiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 1245563207 593.7 GiB AF05 iMac HDD

3 1245563208 1246832967 620.0 MiB AB00 Recovery HD

4 1246832968 1586075647 161.8 GiB AF00 Untitled

5 1586337792 1953523711 175.1 GiB 0700 Microsoft basic data

Feb 6, 2016 7:31 PM in response to illuminous

In Gdisk, execute the following steps. These steps delete the GPT4/5 entries and create a new GPT4 which matches the MBR#4 entry. The text in parentheses is an explanation


p (print)

d (delete)

4 (Part 4)

d (delete)

5 (Part 5)

n (new partition)

4 (Part 4)

1246834688 (Start)

+706689024 (End - using an offset)

0700 (NTFS type)

p (print)

w (write)

y (Yes, really!)


Reboot and test.

Issue after creating new partition for Bootcamp expansion

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