iAmEros

Q: How can I repair my Windows Bootcamp?

Hey all..

 

I tried to shrink my OSX partition today so I could use more space on my Windows Bootcamp. Surprise surprise I have no windows anymore...way I ca

 

Is there a way I can fix this? I did the "sudo fdisk" thing and my windows now shows up when I boot and hold option, but I get a message saying "no windows operating system found" or something of the sorts. I reaalllly really hope I can sort this without having to wipe it as I had stuff on there I can't replace..

 

Thanks in advance for any help, it would be extremely appreciated.

MacBook Pro, OS X Mavericks (10.9.5), Windows 7 Profession Legit Copy

Posted on Jun 12, 2015 12:34 AM

Close

Q: How can I repair my Windows Bootcamp?

  • All replies
  • Helpful answers

Page 1 of 6 last Next
  • by iAmEros,

    iAmEros iAmEros Jun 12, 2015 1:47 AM in response to iAmEros
    Level 1 (0 points)
    Jun 12, 2015 1:47 AM in response to iAmEros

    Last login: Fri Jun 12 20:23:49 on console

    gregorys-mbp:~ Greg$ sudo gpt -r -vv show disk0

    Password:

    gpt show: disk0: mediasize=512110190592; sectorsize=512; blocks=1000215216

    gpt show: disk0: Suspicious MBR at sector 0

    gpt show: disk0: Pri GPT at sector 1

    gpt show: disk0: Sec GPT at sector 1000215215

           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   581079784      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

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

       582758960   300269008        

       883027968   117186560      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      1000214528         655        

      1000215183          32         Sec GPT table

      1000215215           1         Sec GPT header

    gregorys-mbp:~ Greg$ sudo fdisk /dev/disk0

    Disk: /dev/disk0    geometry: 62260/255/63 [1000215216 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 -  581079784] HFS+       

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

    *4: 07 1023 254  63 - 1023 254  63 [ 883027968 -  117186560] HPFS/QNX/AUX

    gregorys-mbp:~ Greg$ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *512.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS Macintosh HD            297.5 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:       Microsoft Basic Data                         60.0 GB    disk0s4

    /dev/disk1

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:     Apple_partition_scheme                        *21.0 MB    disk1

       1:        Apple_partition_map                         32.3 KB    disk1s1

       2:                  Apple_HFS rEFIt                   20.9 MB    disk1s2

    gregorys-mbp:~ Greg$

  • by Loner T,

    Loner T Loner T Jun 12, 2015 2:15 AM in response to iAmEros
    Level 7 (24,845 points)
    Safari
    Jun 12, 2015 2:15 AM in response to iAmEros

    Can you use Unable to boot windows bootcamp after updating to yosemite as a reference and download Testdisk and GPT Fdisk and start with a Testdisk scan? The gap between GPT3 and GPT4 entries should have your lost NTFS header.

  • by iAmEros,

    iAmEros iAmEros Jun 12, 2015 3:45 AM in response to Loner T
    Level 1 (0 points)
    Jun 12, 2015 3:45 AM in response to Loner T

    Thank you for getting back to me! I think I've done the scan right, this is where I'm at right now:

     

     

    Disk /dev/disk0 - 512 GB / 476 GiB - 1000215216 sectors (RO)

    Current partition structure:

         Partition                  Start        End    Size in sectors

     

    1 P EFI System                    40     409639     409600 [EFI System Partitio

    2 P Mac HFS                   409640  577635311  577225672 [Macintosh HD]

    3 P Mac Boot               577635312  578904847    1269536 [Recovery HD]

    No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker

    4 P MS Data                883027968 1000214527  117186560 [BOOTCAMP]

    4 P MS Data                883027968 1000214527  117186560 [BOOTCAMP]

  • by iAmEros,

    iAmEros iAmEros Jun 12, 2015 4:01 AM in response to Loner T
    Level 1 (0 points)
    Jun 12, 2015 4:01 AM in response to Loner T

    Screen Shot 2015-06-12 at 11.00.29 pm.png

    Okay I've started a quick search, I'm guessing it's going to take a while..

  • by Loner T,

    Loner T Loner T Jun 12, 2015 4:04 AM in response to iAmEros
    Level 7 (24,845 points)
    Safari
    Jun 12, 2015 4:04 AM in response to iAmEros

    The line with "Analyse Sector..." needs to get to 100%. Unfortunately, it can take several hours.

  • by iAmEros,

    iAmEros iAmEros Jun 12, 2015 4:12 AM in response to Loner T
    Level 1 (0 points)
    Jun 12, 2015 4:12 AM in response to Loner T

    Screen Shot 2015-06-12 at 11.12.01 pm.png

     

    Got a bad feeling about this..

  • by Loner T,

    Loner T Loner T Jun 12, 2015 4:49 AM in response to iAmEros
    Level 7 (24,845 points)
    Safari
    Jun 12, 2015 4:49 AM in response to iAmEros

    This is normal. These two are unrecoverable. Press Enter to Continue and you should see a list of recoverable partitions. Can you pos a screen shot of that list, please?

  • by iAmEros,

    iAmEros iAmEros Jun 12, 2015 4:51 AM in response to Loner T
    Level 1 (0 points)
    Jun 12, 2015 4:51 AM in response to Loner T

    Screen Shot 2015-06-12 at 11.50.43 pm.png

    As requested.

  • by Loner T,

    Loner T Loner T Jun 12, 2015 4:56 AM in response to iAmEros
    Level 7 (24,845 points)
    Safari
    Jun 12, 2015 4:56 AM in response to iAmEros

    Is there a second page or listing?

  • by iAmEros,

    iAmEros iAmEros Jun 12, 2015 4:57 AM in response to Loner T
    Level 1 (0 points)
    Jun 12, 2015 4:57 AM in response to Loner T

    No that's all that comes up, should it be longer? :/

  • by Loner T,

    Loner T Loner T Jun 12, 2015 5:02 AM in response to iAmEros
    Level 7 (24,845 points)
    Safari
    Jun 12, 2015 5:02 AM in response to iAmEros

    Was this after a Quick Search or Deeper Search?

  • by iAmEros,

    iAmEros iAmEros Jun 12, 2015 5:05 AM in response to Loner T
    Level 1 (0 points)
    Jun 12, 2015 5:05 AM in response to Loner T

    This was just quick search. I didn't see a deeper search option?

  • by Loner T,

    Loner T Loner T Jun 12, 2015 5:23 AM in response to iAmEros
    Level 7 (24,845 points)
    Safari
    Jun 12, 2015 5:23 AM in response to iAmEros

    Press Enter and you should see the Deeper Search.

  • by iAmEros,

    iAmEros iAmEros Jun 12, 2015 5:27 AM in response to Loner T
    Level 1 (0 points)
    Jun 12, 2015 5:27 AM in response to Loner T

    Oh wow okay. Now I see why it might take hours. I'll posts results in here when it's done Thanks for the help so far Loner, had all but given up

Page 1 of 6 last Next