Lost partition after failed bootcamp

Hi all,


Yesterday i tried using bootcamp to install windows 7 on my macbook pro. Made the usb installation thingy and started the rest of the procedure. While my computer was making a bootcamp partition (around 40gb) on my 256gb ssd I started cooking my dinner, when i came back i found my macbook restarted because it hit a problem. So i tried to install windows by the usb thing and found out my laptop couldn't find the bootcamp partition during the windows install.


So at this point my disk utilities shows my 256gb samsung ssd 850 evo as a 213gb hard drive without a second partition. Even when i start up my mac with the option+cmd+r or option+r mode it doesnt show the bootcamp partition. Im not really sure what happened or what went wrong so hopefully someone can help me out.


Some information.
- So before I replaced the optical drive with my old hhd (500gb) and placed a second hard drive (the Samsung ssd 256gb) in my macbook pro.

- I had a ntsf-3g driver installed.

- Bootcamp wont let me remove the bootcamp partition (it isnt even a possibility)

- Started in recovery modes and use option repair disk in disk utilities wont work neither

- Booted in single user and used /sbin/fsck -f

User uploaded file

Disk utility

User uploaded file

Disk utility

User uploaded file

Recovery modes


diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *250.1 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage Macintosh HD2 249.2 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3


/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Macintosh HD2 +212.9 GB disk1

Logical Volume on disk0s2

B3246121-6257-4BD2-AC7E-5045E6990FC2

Unlocked Encrypted


/dev/disk2 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB disk2

1: EFI EFI 209.7 MB disk2s1

2: Apple_HFS Apple HDD 499.8 GB disk2s2

diskutil info disk0

Device Identifier: disk0

Device Node: /dev/disk0

Whole: Yes

Part of Whole: disk0

Device / Media Name: Samsung SSD 850 EVO 250GB


Volume Name: Not applicable (no file system)

Mounted: Not applicable (no file system)

File System: None


Content (IOContent): GUID_partition_scheme

OS Can Be Installed: No

Media Type: Generic

Protocol: SATA

SMART Status: Verified


Disk Size: 250.1 GB (250059350016 Bytes) (exactly 488397168 512-Byte-Units)

Device Block Size: 512 Bytes


Read-Only Media: No

Read-Only Volume: Not applicable (no file system)


Device Location: Internal

Removable Media: Fixed


Solid State: Yes

Virtual: No

OS 9 Drivers: No

Low Level Format: Not supported

diskutil info disk1

Device Identifier: disk1

Device Node: /dev/disk1

Whole: Yes

Part of Whole: disk1

Device / Media Name: Samsung SSD 850 EVO 250GB


Volume Name: Macintosh HD2

Mounted: Yes

Mount Point: /


Content (IOContent): Apple_HFS

File System Personality: Journaled HFS+

Type (Bundle): hfs

Name (User Visible): Mac OS Extended (Journaled)

Journal: Journal size 24576 KB at offset 0x747000

Owners: Enabled


OS Can Be Installed: Yes

Recovery Disk: disk0s3

Media Type: Generic

Protocol: SATA

SMART Status: Not Supported

Volume UUID: 138D2726-38C3-393D-9A27-6984FCA6EE6F

Disk / Partition UUID: B3246121-6257-4BD2-AC7E-5045E6990FC2


Disk Size: 212.9 GB (212856340480 Bytes) (exactly 415735040 512-Byte-Units)

Device Block Size: 512 Bytes


Volume Total Space: 212.9 GB (212856340480 Bytes) (exactly 415735040 512-Byte-Units)

Volume Used Space: 185.4 GB (185392357376 Bytes) (exactly 362094448 512-Byte-Units) (87.1%)

Volume Available Space: 27.5 GB (27463983104 Bytes) (exactly 53640592 512-Byte-Units) (12.9%)

Allocation Block Size: 4096 Bytes


Read-Only Media: No

Read-Only Volume: No


Device Location: Internal

Removable Media: Fixed


Solid State: Yes

Virtual: Yes

OS 9 Drivers: No

Low Level Format: Not supported


This disk is a Core Storage Logical Volume (LV). Core Storage Information:

LV UUID: B3246121-6257-4BD2-AC7E-5045E6990FC2

LVF UUID: 1DF5ED15-05B5-490B-9AAB-6C91FD81D953

LVG UUID: 084D648A-CB42-43A5-8B3E-A39B7808057B

PV UUID (disk): 7E1CE418-BEC0-4BAA-A384-FB857F31B64F (disk0s2)

Fusion Drive: No

Encrypted: Yes


diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 084D648A-CB42-43A5-8B3E-A39B7808057B

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

Name: Macintosh HD2

Status: Online

Size: 249199591424 B (249.2 GB)

Free Space: 35990929408 B (36.0 GB)

|

+-< Physical Volume 7E1CE418-BEC0-4BAA-A384-FB857F31B64F

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

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 249199591424 B (249.2 GB)

|

+-> Logical Volume Family 1DF5ED15-05B5-490B-9AAB-6C91FD81D953

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

Encryption Type: AES-XTS

Encryption Status: Unlocked

Conversion Status: Complete

High Level Queries: Fully Secure

| Passphrase Required

| Accepts New Users

| Has Visible Users

| Has Volume Key

|

+-> Logical Volume B3246121-6257-4BD2-AC7E-5045E6990FC2

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

Disk: disk1

Status: Online

Size (Total): 212856340480 B (212.9 GB)

Revertible: Yes (unlock and decryption required)

LV Name: Macintosh HD2

Volume Name: Macintosh HD2

Content Hint: Apple_HFS


So if someone can help me get my 40 gb lost partition back i will be very grateful, if not....at this point the easiest answer for me is to do a clean install of my macbook and hard drive. The problem is that im not sure it will also wipe the lost bootcamp partition at the same time, as it doesnt shows up in recovery mode? Or could i repartition my whole ssd while doing a reinstall of osx on my ssd?


Thanks in advance!

MacBook Pro (15-inch Mid 2012), iOS 10.2

Posted on Jan 16, 2017 8:22 AM

Reply
5 replies

Jan 16, 2017 9:31 AM in response to Pannenkoekkoek

Can you use Re: Boot Camp Fail. Genius Bar struggling as a reference?


The commands you need to use are as follows (to avoid the typos in the referenced discussion).


Grow the CS LV to absorb the Free Space and repair to correct the disk space usage. This may require a reboot.

diskutil cs resizeVolume B3246121-6257-4BD2-AC7E-5045E6990FC2 0g

diskutil repairDisk disk0


"0g" is a special value.

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

Please post back with any error messages.

There are other Terminal commands, if this fails, but it requires disabling FileVault2.

Jan 16, 2017 8:34 AM in response to Pannenkoekkoek

Pannenkoekkoek wrote:


Hi all,


While my computer was making a bootcamp partition (around 40gb) on my 256gb ssd I started cooking my dinner,

Your Mac seems to have eaten your dinner and the 40GB, both. 😝😉


Pannenkoekkoek wrote:



diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 084D648A-CB42-43A5-8B3E-A39B7808057B

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

Name: Macintosh HD2

Status: Online

Size: 249199591424 B (249.2 GB)

Free Space: 35990929408 B (36.0 GB)

|

+-< Physical Volume 7E1CE418-BEC0-4BAA-A384-FB857F31B64F

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

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 249199591424 B (249.2 GB)

|

+-> Logical Volume Family 1DF5ED15-05B5-490B-9AAB-6C91FD81D953

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

Encryption Type: AES-XTS

Encryption Status: Unlocked

Conversion Status: Complete

High Level Queries: Fully Secure

| Passphrase Required

| Accepts New Users

| Has Visible Users

| Has Volume Key

|

+-> Logical Volume B3246121-6257-4BD2-AC7E-5045E6990FC2

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

Disk: disk1

Status: Online

Size (Total): 212856340480 B (212.9 GB)

Revertible: Yes (unlock and decryption required)

LV Name: Macintosh HD2

Volume Name: Macintosh HD2

Content Hint: Apple_HFS


So if someone can help me get my 40 gb lost partition back i will be very grateful,

The Free Space is where it is 'hidden'. There are two ways to fix the issue.


1. Use a set of Terminal commands and repair the disk, or,

2. Do a backup/erase/restore using Time Machine.


Please pick a method, and we can extract the Free Space from the Mac's 'stomach'. 👿

Jan 16, 2017 8:52 AM in response to Loner T

Thank you for the fast reply! 🙂 I was already starting to back up my files from the ssd to do a erase/restore, but as i dont have a time machine (dont ask me why, i really dont have a legit answer to that) it would take some time probably. So if option 1 is save for both my harddrives and faster than erasing/restoring of my ssd i will pick option 1.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Lost partition after failed bootcamp

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