thomasds20

Q: Bootcamp partition missing when updating windows

Here is my problem. Couple days ago i just had use windows 7 with bootcamp. I tried to update my windows 7 to latest version, then in the middle updating process my macbook suddenly restart and reboot to mac OSX. When i checked my HDD with disk utility there was no sign with bootcamp partition.

 

Here some screencap results after check my HDD with testdiskScreen Shot 2015-08-20 at 12.09.46 PM.png

Screen Shot 2015-08-20 at 12.18.26 PM.png

Please help to solve this problem.

MacBook, OS X Mountain Lion (10.8.5)

Posted on Aug 21, 2015 12:18 AM

Close

Q: Bootcamp partition missing when updating windows

  • All replies
  • Helpful answers

Page 1 Next
  • by Loner T,

    Loner T Loner T Aug 21, 2015 1:28 PM in response to thomasds20
    Level 7 (24,738 points)
    Safari
    Aug 21, 2015 1:28 PM in response to thomasds20

    Can you post the output of

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

     

    This will get recorded here, for any future reference.

  • by thomasds20,

    thomasds20 thomasds20 Aug 21, 2015 7:37 PM in response to Loner T
    Level 1 (0 points)
    Aug 21, 2015 7:37 PM in response to Loner T

    Hi, Thank you for reply. Here is the output as you suggested :

    Screen Shot 2015-08-22 at 9.35.32 AM.png

  • by Loner T,

    Loner T Loner T Aug 21, 2015 7:57 PM in response to thomasds20
    Level 7 (24,738 points)
    Safari
    Aug 21, 2015 7:57 PM in response to thomasds20

    Were you updating W7 to Windows 10? The 20Kb disk0s4 shows that it did exist but was overwritten. The strangest part is the MBR has MBR 2 and 3 marked as bootable. Were there any attempts made to correct the MBR through some utility?

  • by Loner T,

    Loner T Loner T Aug 21, 2015 9:17 PM in response to thomasds20
    Level 7 (24,738 points)
    Safari
    Aug 21, 2015 9:17 PM in response to thomasds20

    thomasds20 wrote:

     

     

    Screen Shot 2015-08-20 at 12.18.26 PM.png

    Please help to solve this problem.

    This is a list of unrecoverable partitions. If you notice the end of these entries is beyond the physical number of sectors on the disk.

     

    Press Enter to Continue. This will show you a list of viable and recoverable partitions.

  • by thomasds20,

    thomasds20 thomasds20 Aug 21, 2015 10:11 PM in response to Loner T
    Level 1 (0 points)
    Aug 21, 2015 10:11 PM in response to Loner T

    Loner T wrote:

     

    Were you updating W7 to Windows 10? The 20Kb disk0s4 shows that it did exist but was overwritten. The strangest part is the MBR has MBR 2 and 3 marked as bootable. Were there any attempts made to correct the MBR through some utility?

    No..I just update to the latest win7 based system, and I don't even know about the other MBR parts.

    I have just rechecked disk utility and here is the snapshot. Yes there are two unknown partition parts there and I have no idea what is this.

    Screen Shot 2015-08-22 at 11.58.02 AM.png

    I will try to re-run testdisk and upload some snapshot later.

    If there is no way to recover the data at least you could help me find the way to bring back the partition alive.

  • by Loner T,

    Loner T Loner T Aug 22, 2015 6:30 AM in response to thomasds20
    Level 7 (24,738 points)
    Safari
    Aug 22, 2015 6:30 AM in response to thomasds20

    You have two separate issues.

     

    1. Your entire disk was converted from a GUID Partition Table (GPT) disk to an MBR Disk as shown in your GPT output where the line 0: says 'Fdisk_partition_scheme'. On a Mac with a single-disk, disk0 should always be a GPT disk. Your disk utility screen shot confirms it and shows the disk as an MBR disk.

    2. Your Windows partition seems to be buried somewhere. If you ran Testdisk using EFI/GPT, you may not get correct results. We should first correct the GPT and make it a GPT disk with a Hybrid MBR.

     

    Please try and remember the exact sequence of events as it happened. It will provide information that will help recovery.

     

    1. Did you boot in Windows 7 and then execute a Windows 10 update or did you use BC Assistant to create a Windows 10 installation disk and try to reinstall W10?

    2. Did the W10 upgrade ask you to change/modify any partitions?

    3. Did you get any black screens before the Mac crashed?

    4. Are you trying to upgrade from W7 32-bit to W10 32-bit?

    5. What is the exact year/model of your Mac? Please do not post the serial number of your Mac.

    6. What is the version of OS X you are currently running?

    7. Is your Mac list in Use Windows 10 on your Mac with Boot Camp - Apple Support as a qualified Mac for Windows 10?

  • by thomasds20,

    thomasds20 thomasds20 Aug 22, 2015 8:50 AM in response to Loner T
    Level 1 (0 points)
    Aug 22, 2015 8:50 AM in response to Loner T

    1. Far before i installed windows7 yes I had done install windows10 beta just for try it. And after use it for a few day I delete it then installing windows7.

    2. I am not update windows10 from windows7

    3. There is no black screen on process

    4. Here my macbook system details

    Screen Shot 2015-08-22 at 10.44.13 PM.png

  • by Loner T,

    Loner T Loner T Aug 22, 2015 9:07 AM in response to thomasds20
    Level 7 (24,738 points)
    Safari
    Aug 22, 2015 9:07 AM in response to thomasds20

    Can you backup your OS X installation to Time Machine (or any other tool of your choice)? Once you have a backup, we should erase your internal disk.

     

    If you want to preserve W7, we should use GPT Fdisk, and convert your disk to a GPT.

  • by thomasds20,

    thomasds20 thomasds20 Aug 22, 2015 9:20 AM in response to Loner T
    Level 1 (0 points)
    Aug 22, 2015 9:20 AM in response to Loner T

    Yeah i can back my system with time machine.

    Could you please give me all the steps to do recovery after that?

  • by Loner T,

    Loner T Loner T Aug 23, 2015 8:36 PM in response to thomasds20
    Level 7 (24,738 points)
    Safari
    Aug 23, 2015 8:36 PM in response to thomasds20

    1. Back up OSX using Time Machine - Mac Basics: Time Machine backs up your Mac - Apple Support.

    2. Boot into Internet Recovery - OS X: About OS X Recovery - Apple Support.

    3. Erase your internal drive and restore from the TM backup in Step 1 - OS X Yosemite: Recover your entire system.

     

    Please be aware that TM does not backup Bootcamp partitions.

  • by thomasds20,

    thomasds20 thomasds20 Aug 25, 2015 9:52 AM in response to Loner T
    Level 1 (0 points)
    Aug 25, 2015 9:52 AM in response to Loner T

    Wow thanks dude, i will trying to do it as your explanations. Hope there is no problem in the process.

  • by Loner T,

    Loner T Loner T Aug 25, 2015 10:18 AM in response to thomasds20
    Level 7 (24,738 points)
    Safari
    Aug 25, 2015 10:18 AM in response to thomasds20

    If you run into any issues, please post back, and we can take a look at the issues.

  • by mac_pr_123,

    mac_pr_123 mac_pr_123 Sep 10, 2015 2:09 PM in response to Loner T
    Level 1 (0 points)
    Sep 10, 2015 2:09 PM in response to Loner T

    Hi Loner,

      I have upgraded to Yosemite and not seeing my Bootcamp harddrive. Please see the output of the commands mentioned above. I have created a bootable usb for my  macbook pro (early 2011) but don't see any of the bootcamp partition and usb drive when I press "Option" during "reboot".

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

     

    Praveens-MacBook-Pro:~ praveentunki$ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *320.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage                         61.2 GB    disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:       Microsoft Basic Data BOOTCAMP                258.0 GB   disk0s4

    /dev/disk1

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS Untitled               *60.8 GB    disk1

                                     Logical Volume on disk0s2

                                     D433BBCF-9090-4AC0-98B6-074ED6293C06

                                     Unencrypted

    Praveens-MacBook-Pro:~ praveentunki$ diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group F7C9BFB5-7DE6-40B1-9CE3-CAB3E38B4A8E

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

        Name:         Untitled

        Status:       Online

        Size:         61213179904 B (61.2 GB)

        Free Space:   18907136 B (18.9 MB)

        |

        +-< Physical Volume 53423A01-34D5-4831-9F22-931CA2F862C0

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

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     61213179904 B (61.2 GB)

        |

        +-> Logical Volume Family D01FAEA2-7440-46CD-BCB1-4D63C4058B73

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

            Encryption Status:       Unlocked

            Encryption Type:         None

            Conversion Status:       NoConversion

            Conversion Direction:    -none-

            Has Encrypted Extents:   No

            Fully Secure:            No

            Passphrase Required:     No

            |

            +-> Logical Volume D433BBCF-9090-4AC0-98B6-074ED6293C06

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

                Disk:                  disk1

                Status:                Online

                Size (Total):          60841951232 B (60.8 GB)

                Conversion Progress:   -none-

                Revertible:            Yes (no decryption required)

                LV Name:               Untitled

                Volume Name:           Untitled

                Content Hint:          Apple_HFS

    Praveens-MacBook-Pro:~ praveentunki$ sudo gpt -vv -r show /dev/disk0

    Password:

    gpt show: /dev/disk0: mediasize=320072933376; sectorsize=512; blocks=625142448

    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 625142447

          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  119556992      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

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

      121236168       1336        

      121237504  503904256      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      625141760        655        

      625142415         32         Sec GPT table

      625142447          1         Sec GPT header

    Praveens-MacBook-Pro:~ praveentunki$ sudo fdisk /dev/disk0

    Disk: /dev/disk0 geometry: 38913/255/63 [625142448 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

    1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>

    2: AF   25 127  15 - 1023 254  63 [    409640 -  119556992] HFS+       

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

    *4: 07 1023 254  63 - 1023 254  63 [ 121237504 -  503904256] HPFS/QNX/AUX

    Praveens-MacBook-Pro:~ praveentunki$





    Thanks

    Praveen

  • by Loner T,

    Loner T Loner T Sep 10, 2015 3:03 PM in response to mac_pr_123
    Level 7 (24,738 points)
    Safari
    Sep 10, 2015 3:03 PM in response to mac_pr_123

    Can you start a new discussion and post these on the new discussion, to avoid confusion?

Page 1 Next