You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Repairing bootcamp after making new partition

Hello, I'm new for mac and OS X. so i need some help please


I have Macbook 13 OX S 10.11.2 and windows 10. I make a new partition to share files between this 2 system but after that i could not enter my windows ( windows showing an error asking me to repair or put CD or USB )

I hope I can get help here ..


User uploaded fileUser uploaded fileUser uploaded fileUser uploaded file

OS X El Capitan (10.11.2)

Posted on Dec 18, 2015 12:31 PM

Reply
60 replies

Dec 18, 2015 8:50 PM in response to Tamouh A

You will need to create a large enough partition to accommodate both your Windows and the Shared partition when using BCA. Once the partition has been created, you will need to cancel the W10 installation, manually partition the single partition into two parts and use one part for Windows and the second for your Shared file system.


Please post the output of


diskutil list

diskutil cs list

sudo gpt -vv -r show /dev/disk0


There may be another option based on the output of these commands.

Dec 18, 2015 9:02 PM in response to Loner T

Hope it's clear ..


User uploaded fileUser uploaded fileUser uploaded file

Tamouhs-MacBook-Pro:~ tamouhadla$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage Macintosh HD 250.1 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +249.8 GB disk1

Logical Volume on disk0s2

97BB6DDF-8164-4B66-B79B-1D7F8D4E7AC4

Unencrypted






Tamouhs-MacBook-Pro:~ tamouhadla$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 8846EEFC-396A-476F-857B-8FE68592319F

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

Name: Macintosh HD

Status: Online

Size: 250140434432 B (250.1 GB)

Free Space: 18882560 B (18.9 MB)

|

+-< Physical Volume 62E03267-742E-4D72-9988-25C08928FF67

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

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 250140434432 B (250.1 GB)

|

+-> Logical Volume Family B0582EE2-D684-40B5-A9C8-BB608E57F1BF

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

Encryption Type: None

|

+-> Logical Volume 97BB6DDF-8164-4B66-B79B-1D7F8D4E7AC4

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

Disk: disk1

Status: Online

Size (Total): 249769230336 B (249.8 GB)

Revertible: Yes (no decryption required)

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

Dec 18, 2015 9:23 PM in response to Tamouh A

Yes, it is clear. Disk Utility will not do certain types of partitioning, but the command-line diskutil will let you create more elaborate partition schemes.


In the following command, you can create a partition for Bootcamp (part1) and a shared partition (part2) in one command when reducing the core storage volume. This also mandates an EFI installation of Windows. (MBR installations using this method can break much more easily and are very fragile).

diskutil cs resizeStack

Usage: diskutil coreStorage resizeStack

lvUUID|MountPoint|DiskIdentifier|DeviceNode [pvUUID] size

[part1Format part1Name part1Size part2Format part2Name part2Size

part3Format part3Name part3Size ...]

Resize both a logical volume and one of its underlying physical volumes in a

single operation. A single physical volume is always chosen for the underlying

shrink or grow, even if the logical volume's logical volume group is backed by

more than one physical volume. If you do not specify a particular physical

volume, then one is chosen for you. Note that if this is a grow operation,

this verb is limited by the physical volume's partition's room to grow.

Specifying zero as the size asks for an "automatic" grow-to-fill operation.

If this is a shrink operation, you can optionally request that new partitions

be created in the newly-formed free space gap in the partition map.

Again, note that this only resizes one of the underlying physical volumes; if

you need more sophistication in managing your topology, you should use the

separate physical and logical volume resize verbs.

Example: diskutil coreStorage resizeStack

11111111-2222-3333-4444-555555555555 10g JHFS+ New 1g



You can see some variations of commands used in OSX and Bootcamp discussion .

Dec 18, 2015 9:54 PM in response to Loner T

So first i have to type this:

diskutil cs resizeStack



And then this ?? ( here i got lost)


lvUUID|MountPoint|DiskIdentifier|DeviceNode [pvUUID] size

[part1Format part1Name part1Size part2Format part2Name part2Size

part3Format part3Name part3Size ...]



if you can tell me in more simple way because I'm not familiar with command language

Dec 19, 2015 6:46 AM in response to Tamouh A

This is what you need. The following command


a. changes the size of Macintosh HD to 125g

b. creates a BOOTCAMP partition 60g Free Space

c. creates a SHARED 40g FAT32 (the 0g means the remainder)


Please post any error messages


diskutil cs resizeStack


97BB6DDF-8164-4B66-B79B-1D7F8D4E7AC4 125g

free BOOTCAMP 60g

fat32 Shared 0g

Dec 19, 2015 8:23 AM in response to Loner T

Hello thanks for repay, the first command is work but other ones not .. Please check this and tell my mistake .


Tamouhs-MacBook-Pro:~ tamouhadla$ diskutil coreStorage resizeStack 97BB6DDF-8164-4B66-B79B-1D7F8D4E7AC4 125g

The Core Storage Logical Volume UUID is 97BB6DDF-8164-4B66-B79B-1D7F8D4E7AC4

Started CoreStorage operation

Checking prerequisites for resizing Logical-Physical volume stack

Shrinking Logical-Physical volume stack

Verifying file system

Using live mode

Performing live verification

Checking Journaled HFS Plus volume

Checking catalog hierarchy

Checking extended attributes file

File system check exit code is 0

Shrinking file system

Shrinking Logical Volume

Resizing Core Storage Logical Volume structures

Resized Core Storage Logical Volume to 124999999488 bytes

Shrinking Core Storage Physical Volume from 250140434432 to 125371203584 bytes

Shrinking Core Storage data structures

Resizing Core Storage Physical Volume structures

Resized Core Storage Physical Volume to 125371203584 bytes

Copying booter

Shrinking partition for Physical Volume

Modifying partition map

Finished CoreStorage operation

Tamouhs-MacBook-Pro:~ tamouhadla$ diskutil coreStorage resizeStack free BOOTCAMP 60g

free does not appear to be a valid Core Storage Logical Volume UUID or disk

Tamouhs-MacBook-Pro:~ tamouhadla$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage Macintosh HD 125.4 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s4

/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +125.0 GB disk1

Logical Volume on disk0s2

97BB6DDF-8164-4B66-B79B-1D7F8D4E7AC4

Unencrypted

Repairing bootcamp after making new partition

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