KaiKaiser

Q: Bootcamp missing after resizing manually

I know i have seen many threads, discussions about this kind of problem. Sorry if this is posted in here if its the wrong place I mean.

Well I did some reading and wasnt so sure about going further than what I've seen was successful for others (scared to damage or lose any files on my bootcamp).

 

I did resize it once, and it was successful, but this time it just suddenly turned to a disk0s4 and has an amount of the very first partition I had for the bootcamp (before resizing it successfully)

 

Thing is I'm not that confident without proper help or guide in repairing and any help would be greatly appreciated. I'm online this very moment and day I just want to wrap this up as I won't be able to sleep knowing that my sister's thesis report are in that bootcamp.

 

Here is so far what i have done.

 

gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 976773167

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

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

  394345320  386630808        

  780976128  195796992      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

  976773120         15        

  976773135         32         Sec GPT table

  976773167          1         Sec GPT header

 

 

Disk: /dev/disk0          geometry: 60801/255/63 [976773168 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 -  392666144] HFS+       

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

4: 0C 1023 254  63 - 1023 254  63 [ 780976128 -  195796992] Win95 FAT32L

MacBook Pro, Mac OS X (10.7.5)

Posted on May 3, 2014 12:08 AM

Close

Q: Bootcamp missing after resizing manually

  • All replies
  • Helpful answers

Page 1 of 6 last Next
  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 1:56 AM in response to KaiKaiser
    Level 1 (0 points)
    May 3, 2014 1:56 AM in response to KaiKaiser

    Kanes-MacBook-Pro:~ KKK$ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI                         209.7 MB   disk0s1

       2:                  Apple_HFS Macintosh HD            201.0 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:       Microsoft Basic Data                         100.2 GB   disk0s4

     

    i hope someone replies soon

  • by Loner T,

    Loner T Loner T May 3, 2014 4:49 AM in response to KaiKaiser
    Level 7 (24,855 points)
    Safari
    May 3, 2014 4:49 AM in response to KaiKaiser

    KaiKaiser wrote:

     

     

    Disk: /dev/disk0          geometry: 60801/255/63 [976773168 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 -  392666144] HFS+       

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

    4: 0C 1023 254  63 - 1023 254  63 [ 780976128 -  195796992] Win95 FAT32L

     

    Can you use fdisk -e and change Partition number 4 to type x'07' and flag it as bootable?

     

    There are quite a few examples of how to do it or if you are comfortable with using Unix man pages, then you can execute man fdisk in a Terminal window on your Mac and use setpid and flag commands. You will also have to use write and reboot, if required, after you make changes using fdisk.

     

    You may still get Missing OS errors, but these can be fixed using Windows Recovery Console.

  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 5:27 AM in response to Loner T
    Level 1 (0 points)
    May 3, 2014 5:27 AM in response to Loner T

    Loner T wrote:

    Can you use fdisk -e and change Partition number 4 to type x'07' and flag it as bootable?

     

    There are quite a few examples of how to do it or if you are comfortable with using Unix man pages, then you can execute man fdisk in a Terminal window on your Mac and use setpid and flag commands. You will also have to use write and reboot, if required, after you make changes using fdisk.

     

    You may still get Missing OS errors, but these can be fixed using Windows Recovery Console.

     

    Could you be a bit more specific with what to do Loner T? I'm not that well known with ios.

     

    Did you mean for me to type those into the terminal as commands?

  • by Loner T,

    Loner T Loner T May 3, 2014 6:28 AM in response to KaiKaiser
    Level 7 (24,855 points)
    Safari
    May 3, 2014 6:28 AM in response to KaiKaiser

    Please look here...

     

    https://discussions.apple.com/message/22243032#22243032

     

    In Mac OS X Terminal, do the following

     

    sudo fdisk -e /dev/disk0

    print

    setpid 4

    07

    flag

    print

    write

     

    Now reboot. Check if holding the ALT/Option key will show the Bootcamp partition. If it does, MAC OS X is now happy, but you may have to still use Windows Recovery Console.

  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 6:32 AM in response to Loner T
    Level 1 (0 points)
    May 3, 2014 6:32 AM in response to Loner T

    thanks for that quick reply, i'll be doing that right away and will tell you dear sir how it went.

  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 6:43 AM in response to Loner T
    Level 1 (0 points)
    May 3, 2014 6:43 AM in response to Loner T

    Sir, windows showed up at start when holding alt(option) but when i clicked on it for it to start up it gave me an error message => Missing Operating System.

     

    I'm really sorry for not knowing what to do.

  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 7:02 AM in response to Loner T
    Level 1 (0 points)
    May 3, 2014 7:02 AM in response to Loner T

    Alright sorry for not reading the link you gave me. So all i have to do now is just use Windows recovery console and everything should be back to normal am I right?

  • by Loner T,

    Loner T Loner T May 3, 2014 7:31 AM in response to KaiKaiser
    Level 7 (24,855 points)
    Safari
    May 3, 2014 7:31 AM in response to KaiKaiser

    It depends on how much "damage" was done during resizing. It is also possible to re-install Windows (without losing your personal data), but I would recommend the Windows Recovery console first and you may need to use fixmbr or similar tools.

     

    http://windows.microsoft.com/en-us/windows7/products/features/startup-repair

     

    http://support.microsoft.com/kb/927392

  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 8:21 AM in response to Loner T
    Level 1 (0 points)
    May 3, 2014 8:21 AM in response to Loner T

    Alright, I'm back tried using windows recovery tools but it failed to repair it with startup repair. Gonna try something different maybe. Thanks for the reply and answer good sir

  • by Loner T,

    Loner T Loner T May 3, 2014 8:50 AM in response to KaiKaiser
    Level 7 (24,855 points)
    Safari
    May 3, 2014 8:50 AM in response to KaiKaiser

    You last recourse may be a re-install of the Windows OS only. If that does not work, I assume you have a backup of your Bootcamp partition. Do you want to consider trying WinClone?

     

    https://twocanoes.com/winclone/

  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 9:01 AM in response to Loner T
    Level 1 (0 points)
    May 3, 2014 9:01 AM in response to Loner T

    bad thing is, i had a backup but my external hd got messed up and i dont know what happened to it. winclone is quite pricey tbh. Startup Repair said that the boot something was corrupted. does that ring a bell?

  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 9:09 AM in response to Loner T
    Level 1 (0 points)
    May 3, 2014 9:09 AM in response to Loner T

    i just read about something typing in to the command prompt within the Windows Recovery Console, like this

     

    bootrec.exe /fixmbr

    bootrec.exe /fixboot

     

    would this help?

  • by Loner T,

    Loner T Loner T May 3, 2014 10:14 AM in response to KaiKaiser
    Level 7 (24,855 points)
    Safari
    May 3, 2014 10:14 AM in response to KaiKaiser

    If you can recall the message from 'Startup Repair', it may help in deciding which option(s) of bootrec.exe to use.

     

    In the Microsoft KB 927392 link I mentioned previously, you can see the list of qualifiers supported by bootrec.exe.

  • by KaiKaiser,

    KaiKaiser KaiKaiser May 3, 2014 10:53 AM in response to Loner T
    Level 1 (0 points)
    May 3, 2014 10:53 AM in response to Loner T

    Yeah i saw that, something about the boot disc sector is corrupted i think. And its hard disk drive was actually x: instead of the natural c:. I tried getting to c: drive but told me that it needs to be reformatted so i didnt do it.

     

    i also noticed this

     

    Disk: /dev/disk0geometry: 60801/255/63 [976773168 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 -  392666144] HFS+       

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

    *4: 07 1023 254  63 - 1023 254  63 [ 780976128 -  195796992] HPFS/QNX/AUX

     

    the one with the bold letters

     

     

    EDITED: made me wonder why the startup repair couldnt find the windows 7 OS told myself yeah, thats whats been missing and trying to repair it wont be that easy.

     

     


Page 1 of 6 last Next