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

I really need help! Bootcamp Partition GONE! Loner T please Help!

Hello. I Have been using Windows 7 with Bootcamp on my Macbook Pro Late 2013 15 inch Retina 16GB 2.6GHz Core i7 since I bought the computer brand new. I turned on my mac the other day and out of nowhere, the Windows Partition was gone. The only thing that I did do differently was that I turned on FileVault and encrypted my system. I am wondering if it affected my partition because of that? I am not sure. I am nervous, though because I have all of my really important work files on the partition and I haven't been able to access them at all.



Everything I tried to do so far:


I tried plugging my MBP into my iMac and booting it in target disk mode and I couldn't find any files from the Windows partition. For some odd reason the bootcamp partition is greyed out in Disk Utilities and it is now called "disk0s4."


I have a Windows 7 disk that I was able to boot from and it was about to install Windows but I was afraid that it was going to overwrite everything so I canceled it.


When I boot my MBP now and hold alt, like I used to always have to do to get into Windows, it shows 2 "Macintosh HDs" whereas it used to show one "Macintosh HD" one "Recovery Drive" and one "Windows" drive. (I am guessing that by encrypting the drive it may have messed up the naming of the voumes... Not sure)


I have turned off FileVault, unlocked, and decrypted the system to see if it would help but no luck.


I tried hitting verify disk and then repair disk and nothing worked.


I also tried to hit mount disk and that did nothing.


Is there any way I can access the files on the partition if there is no possible way to install windows 7 again without overwriting everything?



To anyone who helps answer this, thank you in advance. I am so stuck!!!



I have been reading the forums and I saw that "Loner T" asked someone to type in these commands in terminal:


diskutil list

diskutil cs list

sudo gpt -vv -r show /dev/disk0

sudo fdisk /dev/disk0


Check my terminal results below: I also attached the text file of the terminal session.



Last login: Fri May 6 06:40:05 on ttys000

Bennys-MacBook-Pro:~ djrelentt$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 623.4 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data 202.0 GB disk0s4

Bennys-MacBook-Pro:~ djrelentt$ diskutil cs list

No CoreStorage logical volume groups found

Bennys-MacBook-Pro:~ djrelentt$

Bennys-MacBook-Pro:~ djrelentt$ sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=1000555581440; sectorsize=512; blocks=1954210120

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

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

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

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

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

409640 1217596352 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

1218005992 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

1219275528 340403448

1559678976 394530816 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1954209792 295

1954210087 32 Sec GPT table

1954210119 1 Sec GPT header

Bennys-MacBook-Pro:~ djrelentt$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 121643/255/63 [1954210120 sectors]

Signature: 0xAA55

Starting Ending

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

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

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

2: AF 1023 254 63 - 1023 254 63 [ 409640 - 1217596352] HFS+

3: AB 1023 254 63 - 1023 254 63 [1218005992 - 1269536] Darwin Boot

4: 0C 1023 254 63 - 1023 254 63 [1559678976 - 394530816] Win95 FAT32L

Bennys-MacBook-Pro:~ djrelentt$

MacBook Pro with Retina display, OS X Mavericks (10.9.5), Late 2013 2.6GHz Core i7 Processor

Posted on May 6, 2016 3:50 AM

Reply
69 replies

May 14, 2016 10:20 PM in response to Loner T

I just did those steps here is a copy of what I did:


Last login: Fri May 13 22:02:43 on ttys000

Bennys-MacBook-Pro:~ djrelentt$ Sudo gdisk /dev/rdisk0

Password:

GPT fdisk (gdisk) version 1.0.1


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Partition table scan:

MBR: hybrid

BSD: not present

APM: not present

GPT: present


Found valid GPT with hybrid MBR; using GPT.


Command (? for help): P

Disk /dev/rdisk0: 1954210120 sectors, 931.8 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 496DE6A2-714F-4E75-85B3-9CCCF29A86BC

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 1954210086

Partitions will be aligned on 8-sector boundaries

Total free space is 1573 sectors (786.5 KiB)


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

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 1218005991 580.6 GiB AF00 Macintosh HD

3 1218005992 1219275527 619.9 MiB AB00 Recovery HD

4 1219276800 1954209791 350.4 GiB 0700 Microsoft basic data


Command (? for help): R


Recovery/transformation command (? for help): O


Disk size is 1954210120 sectors (931.8 GiB)

MBR disk identifier: 0xBD7AF709

MBR partitions:


Number Boot Start Sector End Sector Status Code

1 1 409639 primary 0xEE

2 409640 1218005991 primary 0xAF

3 1218005992 1219275527 primary 0xAB


Recovery/transformation command (? for help): H


WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,

just hit the Enter key at the below prompt and your MBR partition table will

be untouched.


Type from one to three GPT partition numbers, separated by spaces, to be

added to the hybrid MBR, in sequence: 2 3 4

Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y


Creating entry for GPT partition #2 (MBR partition #2)

Enter an MBR hex code (default AF): N

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #3 (MBR partition #3)

Enter an MBR hex code (default AB): Y

Set the bootable flag? (Y/N): Y


Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07): O

Set the bootable flag? (Y/N): W

Your option? (Y/N): Y


Recovery/transformation command (? for help): REBOOT

b use backup GPT header (rebuilding main)

c load backup partition table from disk (rebuilding main)

d use main GPT header (rebuilding backup)

e load main partition table from disk (rebuilding backup)

f load MBR and build fresh GPT from it

g convert GPT into MBR and exit

h make hybrid MBR

i show detailed information on a partition

l load partition data from a backup file

m return to main menu

o print protective MBR data

p print the partition table

q quit without saving changes

t transform BSD disklabel partition

v verify disk

w write table to disk and exit

x extra functionality (experts only)

? print this menu


Recovery/transformation command (? for help):



What do I do? I didn't know what option to choose at the end? I have to choose b-x right? I followed the exact steps as you wrote to the other post, but my setup is a little different than hers so maybe I did it incorrectly? I am afraid to exit the terminal at this point. I will just wait to see what you say to do.


I tried to type in exit and this is what it said:


This will probably do weird things if you've converted an MBR to

GPT form and haven't yet saved the GPT! Proceed? (Y/N): n


Then I put in: n

May 15, 2016 3:20 AM in response to Loner T

Please disregard my last post. I redid the steps and I am about to reboot now. This is what I did:


Last login: Sun May 15 06:17:41 on ttys000

Bennys-MacBook-Pro:~ djrelentt$ Sudo gdisk /dev/rdisk0

Password:

GPT fdisk (gdisk) version 1.0.1


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Partition table scan:

MBR: hybrid

BSD: not present

APM: not present

GPT: present


Found valid GPT with hybrid MBR; using GPT.


Command (? for help): p

Disk /dev/rdisk0: 1954210120 sectors, 931.8 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 496DE6A2-714F-4E75-85B3-9CCCF29A86BC

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 1954210086

Partitions will be aligned on 8-sector boundaries

Total free space is 1573 sectors (786.5 KiB)


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

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 1218005991 580.6 GiB AF00 Macintosh HD

3 1218005992 1219275527 619.9 MiB AB00 Recovery HD

4 1219276800 1954209791 350.4 GiB 0700 Microsoft basic data


Command (? for help): r


Recovery/transformation command (? for help): O


Disk size is 1954210120 sectors (931.8 GiB)

MBR disk identifier: 0xBD7AF709

MBR partitions:


Number Boot Start Sector End Sector Status Code

1 1 409639 primary 0xEE

2 409640 1218005991 primary 0xAF

3 1218005992 1219275527 primary 0xAB


Recovery/transformation command (? for help): H


WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,

just hit the Enter key at the below prompt and your MBR partition table will

be untouched.


Type from one to three GPT partition numbers, separated by spaces, to be

added to the hybrid MBR, in sequence: 2 3 4

Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y


Creating entry for GPT partition #2 (MBR partition #2)

Enter an MBR hex code (default AF): N

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #3 (MBR partition #3)

Enter an MBR hex code (default AB): N

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07): Y

Set the bootable flag? (Y/N): Y


Recovery/transformation command (? for help): O


Disk size is 1954210120 sectors (931.8 GiB)

MBR disk identifier: 0xBD7AF709

MBR partitions:


Number Boot Start Sector End Sector Status Code

1 1 409639 primary 0xEE

2 409640 1218005991 primary 0x01

3 1218005992 1219275527 primary 0x01

4 * 1219276800 1954209791 primary 0x01


Recovery/transformation command (? for help): W


Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING

PARTITIONS!!


Do you want to proceed? (Y/N): Y

OK; writing new GUID partition table (GPT) to /dev/rdisk0.

Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Warning: The kernel may continue to use old or deleted partitions.

You should reboot or remove the drive.

The operation has completed successfully.

Bennys-MacBook-Pro:~ djrelentt$

May 15, 2016 7:54 AM in response to djrelentt

djrelentt wrote:


Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07): Y

Set the bootable flag? (Y/N): Y

This needs to be

Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07): 07

Set the bootable flag? (Y/N): Y

Please back up Windows using Winclone to an external disk and create a Windows System Restore point.

I really need help! Bootcamp Partition GONE! Loner T please Help!

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