ozeegers

Q: 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

Close

Q: bootcamp partition renamed untitled after booting in MacOS

  • All replies
  • Helpful answers

first Previous Page 18 of 20 last Next
  • by ozeegers,

    ozeegers ozeegers May 9, 2016 6:27 AM in response to ozeegers
    Level 1 (5 points)
    Windows Software
    May 9, 2016 6:27 AM in response to ozeegers

    when I use 0B00 it says 0700 as code in gdisk P command as well ? It does not accept 0Bh

  • by Loner T,

    Loner T Loner T May 9, 2016 6:28 AM in response to ozeegers
    Level 7 (24,202 points)
    Safari
    May 9, 2016 6:28 AM in response to ozeegers

    Repeat the same steps, but use 0B or 0C instead.

  • by ozeegers,

    ozeegers ozeegers May 9, 2016 8:25 AM in response to Loner T
    Level 1 (5 points)
    Windows Software
    May 9, 2016 8:25 AM in response to Loner T

    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

     

    Command (? for help): D

    Partition number (1-4): 4

     

    Command (? for help): N

    Partition number (4-128, default 4): 4

    First sector (34-1465149134, default = 539877984) or {+-}size{KMGTP}: 539877984

    Last sector (539877984-1465149134, default = 1465149134) or {+-}size{KMGTP}: 1464886983

    Current type is 'Apple HFS/HFS+'

    Hex code or GUID (L to show codes, Enter = AF00): 0B

    Exact type match not found for type code 000B; assigning type code for

    'Apple HFS/HFS+'

    Changed type of partition to 'Apple HFS/HFS+'

     

    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.

     

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

     

    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   AF00  Apple HFS/HFS+

     

    Command (? for help): R

     

    Recovery/transformation command (? for help): O

     

    Disk size is 1465149168 sectors (698.6 GiB)

    MBR disk identifier: 0x4DD05DE5

    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

     

    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):

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

     

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

    Enter an MBR hex code (default AB):

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

     

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

    Enter an MBR hex code (default AF): 0B

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

     

    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.

     

     

     

    using 0C it gives me this so I did not continue:

     

    Current type is 'Apple HFS/HFS+'

    Hex code or GUID (L to show codes, Enter = AF00): 0C

    Exact type match not found for type code 000C; assigning type code for

    'Apple HFS/HFS+'

    Changed type of partition to 'Apple HFS/HFS+'

  • by Loner T,

    Loner T Loner T May 9, 2016 3:35 PM in response to ozeegers
    Level 7 (24,202 points)
    Safari
    May 9, 2016 3:35 PM in response to ozeegers

    Try the following. Please ignore i386 MBR error message.

     

    sudo fdisk -e /dev/disk0

    p

    setpid 4

    0B

    flag 4

    p

    w

    y

     

    Reboot and check.

  • by ozeegers,

    ozeegers ozeegers May 9, 2016 11:37 PM in response to Loner T
    Level 1 (5 points)
    Windows Software
    May 9, 2016 11:37 PM in response to Loner T

    did this, got no error message...

    no partition visible at all, when I change the GPT type back to 07 I see Untitled in finder.

     

    should I try to boot in windows with CD and let windows try to repair ?

  • by Loner T,

    Loner T Loner T May 10, 2016 4:08 AM in response to ozeegers
    Level 7 (24,202 points)
    Safari
    May 10, 2016 4:08 AM in response to ozeegers

    Can you check with 0C?

  • by ozeegers,

    ozeegers ozeegers May 10, 2016 9:32 AM in response to Loner T
    Level 1 (5 points)
    Windows Software
    May 10, 2016 9:32 AM in response to Loner T

    do I need to do GPT and MBR and the fdisk commands with 0C ? so all three ?

  • by ozeegers,

    ozeegers ozeegers May 10, 2016 11:41 AM in response to ozeegers
    Level 1 (5 points)
    Windows Software
    May 10, 2016 11:41 AM in response to ozeegers

    tried it with 0C (repeated all three steps) but no partition visible in finder.....

     

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

    Oliviers-MBP:~ ozeegers$ sudo gdisk /dev/rdisk0

    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: 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

     

    Command (? for help): D

    Partition number (1-4): 4

     

    Command (? for help): N

    Partition number (4-128, default 4): 4

    First sector (34-1465149134, default = 539877984) or {+-}size{KMGTP}:

    Last sector (539877984-1465149134, default = 1465149134) or {+-}size{KMGTP}: 1464886983

    Current type is 'Apple HFS/HFS+'

    Hex code or GUID (L to show codes, Enter = AF00): 0C

    Exact type match not found for type code 000C; assigning type code for

    'Apple HFS/HFS+'

    Changed type of partition to 'Apple HFS/HFS+'

     

    Command (? for help): sudo gdisk /dev/rdisk0

    You may need to edit /etc/fstab and/or your boot loader configuration!

     

    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   AF00  Apple HFS/HFS+

     

    Command (? for help): D

    Partition number (1-4): 4

     

    Command (? for help): N

    Partition number (4-128, default 4): 4

    First sector (34-1465149134, default = 539877984) or {+-}size{KMGTP}:

    Last sector (539877984-1465149134, default = 1465149134) or {+-}size{KMGTP}: 1464886983

    Current type is 'Apple HFS/HFS+'

    Hex code or GUID (L to show codes, Enter = AF00): 0C

    Exact type match not found for type code 000C; assigning type code for

    'Apple HFS/HFS+'

    Changed type of partition to 'Apple HFS/HFS+'

     

    Command (? for help): sudo gdisk /dev/rdisk0

    You may need to edit /etc/fstab and/or your boot loader configuration!

     

    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   AF00  Apple HFS/HFS+

     

    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.

    Oliviers-MBP:~ ozeegers$ sudo gdisk /dev/rdisk0

    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: 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   AF00  Apple HFS/HFS+

     

    Command (? for help): R

     

    Recovery/transformation command (? for help): O

     

    Disk size is 1465149168 sectors (698.6 GiB)

    MBR disk identifier: 0x4DD05DE5

    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

     

    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):

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

     

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

    Enter an MBR hex code (default AB):

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

     

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

    Enter an MBR hex code (default AF): 0C

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

     

    Recovery/transformation command (? for help): O

     

    Disk size is 1465149168 sectors (698.6 GiB)

    MBR disk identifier: 0x4DD05DE5

    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      *      539877984   1464886983   primary     0x0C

     

    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.

  • by Loner T,

    Loner T Loner T May 10, 2016 1:30 PM in response to ozeegers
    Level 7 (24,202 points)
    Safari
    May 10, 2016 1:30 PM in response to ozeegers

    These steps will create a conflict between the GPT (AF00) and MBR (0c00).

  • by ozeegers,

    ozeegers ozeegers May 10, 2016 10:30 PM in response to Loner T
    Level 1 (5 points)
    Windows Software
    May 10, 2016 10:30 PM in response to Loner T

    Can you please give me details on how to get these values correct? Thank you

  • by ozeegers,

    ozeegers ozeegers May 11, 2016 10:08 PM in response to ozeegers
    Level 1 (5 points)
    Windows Software
    May 11, 2016 10:08 PM in response to ozeegers

    I cannot get the GTP to be 0B or 0C because gdisk says it cannot find this code and it sets the type to AF00

  • by Loner T,

    Loner T Loner T May 12, 2016 5:49 AM in response to ozeegers
    Level 7 (24,202 points)
    Safari
    May 12, 2016 5:49 AM in response to ozeegers

    Use 0700 for the GPT, but use 0B or 0C to override the MBR part and test.

  • by ozeegers,

    ozeegers ozeegers May 12, 2016 9:39 AM in response to Loner T
    Level 1 (5 points)
    Windows Software
    May 12, 2016 9:39 AM in response to Loner T

    tested in both cases it shows untitled in finder but no files shown....

    I only did the first gdisk part to change the GPT to 0700 and then did the fdisk part for 0B and 0C

  • by Loner T,

    Loner T Loner T May 12, 2016 11:56 AM in response to ozeegers
    Level 7 (24,202 points)
    Safari
    May 12, 2016 11:56 AM in response to ozeegers

    You can try to use Disk Warrior to TechToolPro (or similar tools) to check if your archives and files can be recovered.

  • by ozeegers,

    ozeegers ozeegers May 13, 2016 8:40 AM in response to Loner T
    Level 1 (5 points)
    Windows Software
    May 13, 2016 8:40 AM in response to Loner T

    hmm... this is the only thing I get out of Diskwarrior....

     

    Screen Shot 2016-05-13 at 17.39.02.png

first Previous Page 18 of 20 last Next