bootcamp partition renamed untitled after booting in MacOS

Can anybody please help me ?


I had succesfully installed Windows 10 on my Macbook Pro and ran Windows already several weeks smoothly.

Unfortunately I did not make a backup of my windows files yet.


Today when I booted to El Capitan to connect my iPad to iTunes Windows gave me a message that it needed repair when I tried to reboot to the bootcamp Windows version.

It did not succeed in repairing and only gave my an advanced options menu.

I booted back into MacOS to find that the windows partition was renamed to 'Untitled' and that no files were visible in Finder.


I than ran Disk Utility and selected First Aid on this partition, I thought this was read only to check for disk errors.

Now when booting from Windows it says no operation system available and Disk Utility shows 496 GB empty space on this partition !


I hope not all my files are lost !!

What can I do to repair the bootcamp partition ? I tried to install setup bootcamp files on USB but cannot boot from USB (does not show the USB drive)


thank you !


Olivier

MacBook Pro, OS X El Capitan (10.11.3), Bootcamp Windows 10

Posted on Apr 5, 2016 11:34 AM

Reply
297 replies

Apr 15, 2016 9:27 AM in response to ozeegers

maybe this one ?


TestDisk 7.0, Data Recovery Utility, April 2015

Christophe GRENIER <grenier@cgsecurity.org>

http://www.cgsecurity.org

MS Data 1074524160 1464225791 389701632

Directory /


dr-xr-xr-x 0 0 0 23-Jan-2016 09:56 .

dr-xr-xr-x 0 0 0 23-Jan-2016 09:56 ..

dr-xr-xr-x 0 0 0 23-Jan-2016 09:03 $Recycle.Bin

dr-xr-xr-x 0 0 0 22-Jan-2016 23:52 $WINDOWS.~BT

dr-xr-xr-x 0 0 0 22-Jan-2016 18:37 $Windows.~WS

dr-xr-xr-x 0 0 0 23-Jan-2016 09:21 AMD

dr-xr-xr-x 0 0 0 23-Jan-2016 00:04 Boot

dr-xr-xr-x 0 0 0 23-Jan-2016 13:50 Config.Msi

dr-xr-xr-x 0 0 0 22-Jan-2016 18:56 ESD

dr-xr-xr-x 0 0 0 19-Jan-2014 20:45 Intel

dr-xr-xr-x 0 0 0 10-Mar-2014 14:59 MSOCache

dr-xr-xr-x 0 0 0 30-Oct-2015 08:24 PerfLogs

dr-xr-xr-x 0 0 0 23-Jan-2016 07:30 Program Files

dr-xr-xr-x 0 0 0 23-Jan-2016 09:23 Program Files (x86)

dr-xr-xr-x 0 0 0 23-Jan-2016 09:23 ProgramData

dr-xr-xr-x 0 0 0 23-Jan-2016 00:33 Recovery

>dr-xr-xr-x 0 0 0 23-Jan-2016 09:56 System Volume Information

dr-xr-xr-x 0 0 0 23-Jan-2016 00:36 Users

dr-xr-xr-x 0 0 0 23-Jan-2016 09:43 Windows

dr-xr-xr-x 0 0 0 23-Jan-2016 09:22 Windows.old

dr-xr-xr-x 0 0 0 23-Jan-2016 09:20 inetpub

-r--r--r-- 0 0 1 30-Oct-2015 08:18 BOOTNXT

-r--r--r-- 0 0 8192 23-Jan-2016 00:04 BOOTSECT.BAK

-r--r--r-- 0 0 232960 7-Nov-2007 07:12 VC_RED.MSI

-r--r--r-- 0 0 1442522 7-Nov-2007 07:09 VC_RED.cab

-r--r--r-- 0 0 400228 30-Oct-2015 08:09 bootmgr

-r--r--r-- 0 0 1110 7-Nov-2007 07:00 globdata.ini

-r--r--r-- 0 0 3151020032 23-Jan-2016 15:53 hiberfil.sys

-r--r--r-- 0 0 562688 7-Nov-2007 07:03 install.exe

-r--r--r-- 0 0 843 7-Nov-2007 07:00 install.ini

-r--r--r-- 0 0 76304 7-Nov-2007 07:03 install.res.1028.dll

-r--r--r-- 0 0 96272 7-Nov-2007 07:03 install.res.1031.dll

-r--r--r-- 0 0 91152 7-Nov-2007 07:03 install.res.1033.dll

-r--r--r-- 0 0 97296 7-Nov-2007 07:03 install.res.1036.dll

-r--r--r-- 0 0 95248 7-Nov-2007 07:03 install.res.1040.dll

-r--r--r-- 0 0 81424 7-Nov-2007 07:03 install.res.1041.dll

-r--r--r-- 0 0 79888 7-Nov-2007 07:03 install.res.1042.dll

-r--r--r-- 0 0 75792 7-Nov-2007 07:03 install.res.2052.dll

-r--r--r-- 0 0 96272 7-Nov-2007 07:03 install.res.3082.dll

Apr 15, 2016 9:44 AM in response to ozeegers

Install GPT Fdisk (aka gdisk). Leave your Testdisk display and start a new Terminal Window. You need to use the following steps. If you see any error messages during the following steps, please stop and post back here with the error message. The following steps have values from your Testdisk output (and you can verify) in Steps 7 and 8. Please notice the'+' sign in step 8 (this is called offset notation). The text in parentheses is for informational purpose to describe the action being taken. Gdisk has one-character commands except when entering numbers.


Rebuild GPT4 using start/end offsets


  1. Sudo gdisk /dev/rdisk0
  2. P (print the full list of parts)
  3. D (delete)
  4. 4 (part 4)
  5. N (new part)
  6. 4 (part 4)
  7. 1074524160 ( - Start offset in sectors or the start point for Bootcamp part)
  8. +389701632 ( - Size offset, as opposed to End offset)
  9. 0700 (Windows part type)
  10. P (print list of all parts just to see what changes will be made)
  11. W (Write the new GPT)
  12. Y (Yes! really write the new GPT)

This will delete and re-write the GPT partition info for /dev/disk0s4.

Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes). The only values that need modifications are the Boot flags and step 10. Accept all other defaults that Gdisk offers. Please see thesample Q&A as an example. These steps can be repeated if you make a mistake before you get to Step 12, otherwise start from Step 1 for these steps. Step 6 has numbers which are typed with a space between the numbers. Please see the sample Q&A before you execute these steps.

  1. Sudo gdisk /dev/rdisk0
  2. P (Print list of parts)
  3. R (Recover)
  4. O (print current Hybrid MBR)
  5. H (chooses Hybrid)
  6. Partitions numbers to be hybridized: 2 3 4
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. N (part 3 boot flag)
  10. Y (part 4 boot flag make NTFS bootable partition)
  11. O (print current Hybrid MBR)
  12. W (Write the new MBR)
  13. Y (Yes! write the new MBR)
  14. Reboot


Here is sample Q&A for this section. Please notice the Press Enter/Return.


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): Press Enter/Return

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


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

Enter an MBR hex code (default AB): Press Enter/Return

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


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

Enter an MBR hex code (default 07): Press Enter/Return

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


Test 1 - Does Bootcamp Volume show up in Finder?

Test 2 - Can you see files in Bootcamp Volume?

Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?

Test 4 - If Test 3 is successful, select Bootcamp and Click Restart.

Apr 15, 2016 12:02 PM in response to Loner T

output p command:


Command (? for help): p

Disk /dev/rdisk0: 1465149168 sectors, 698.6 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): BE924D70-1CD5-4EDB-9B44-947B2100D347

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 1465149134

Partitions will be aligned on 8-sector boundaries

Total free space is 262157 sectors (128.0 MiB)


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

1 40 409639 200.0 MiB EF00 EFI System

2 409640 538608447 256.6 GiB AF00 Apple HFS/HFS+

3 538608448 539877983 619.9 MiB AB00 Recovery HD

4 539877984 1464886983 441.1 GiB 0700 Microsoft basic data

Apr 15, 2016 12:06 PM in response to ozeegers

output P command after new partition created:


Command (? for help): P

Disk /dev/rdisk0: 1465149168 sectors, 698.6 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): BE924D70-1CD5-4EDB-9B44-947B2100D347

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 1465149134

Partitions will be aligned on 8-sector boundaries

Total free space is 535569525 sectors (255.4 GiB)


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

1 40 409639 200.0 MiB EF00 EFI System

2 409640 538608447 256.6 GiB AF00 Apple HFS/HFS+

3 538608448 539877983 619.9 MiB AB00 Recovery HD

4 1074524160 1464225791 185.8 GiB 0700 Microsoft basic data

Apr 15, 2016 12:11 PM in response to ozeegers

print current hybrid MBR:


Recovery/transformation command (? for help): O


Disk size is 1465149168 sectors (698.6 GiB)

MBR disk identifier: 0x00000000

MBR partitions:


Number Boot Start Sector End Sector Status Code

1 1 409639 primary 0xEE

2 409640 538608447 primary 0xAF

3 538608448 539877983 primary 0xAB

4 * 1074524160 1464225791 primary 0x07


Recovery/transformation command (? for help):

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.

bootcamp partition renamed untitled after booting in MacOS

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