bob_silicon

Q: Cannot boot to windows 7 after canceling bootcamp backup

Im running win7 x64 and OS X on MacBook air. Yesterday i made regular bootcamp back-up. When back-up is processing, i cancel it. After that, i cant boot to win7.


Results of the “sudo gpt -r -vv show disk0”

webwxgetmsgimg.jpg


Results of the “sudo fdisk /dev/disk0”

webwxgetmsgimg (2).jpg


Is there any recommendation? thank you

MacBook Air, Mac OS X (10.5.1)

Posted on Aug 15, 2014 8:38 PM

Close

Q: Cannot boot to windows 7 after canceling bootcamp backup

  • All replies
  • Helpful answers

first Previous Page 3 of 4 last Next
  • by bob_silicon,

    bob_silicon bob_silicon Sep 13, 2014 6:33 AM in response to Loner T
    Level 1 (0 points)
    Sep 13, 2014 6:33 AM in response to Loner T

    I found first MS data partition that allow the option "P"

    D MS Data                138401704  138404583       2880

     

    drwxr-xr-x     0     0         0  2-Jul-2014 19:48 AMD64

    -rwxr-xr-x     0     0        98  2-Jul-2014 19:48 Autounattend.vbs

    -rwxr-xr-x     0     0      6374  2-Jul-2014 19:48 Autounattend.xml

    -rwxr-xr-x     0     0         0  2-Jul-2014 19:48 FDD.TAG

    -rwxr-xr-x     0     0    105984  2-Jul-2014 19:48 IGT.EXE

    -rwxr-xr-x     0     0     44544  2-Jul-2014 19:48 PRL_PV32.SYS

    -rwxr-xr-x     0     0       177  2-Jul-2014 19:48 TXTSETUP.OEM

    -rwxr-xr-x     0     0        81  2-Jul-2014 19:48 TXTSETUP.SIF

    -rwxr-xr-x     0     0      1051  2-Jul-2014 19:48 WINNT.SIF

  • by Loner T,

    Loner T Loner T Sep 13, 2014 6:46 AM in response to bob_silicon
    Level 7 (24,743 points)
    Safari
    Sep 13, 2014 6:46 AM in response to bob_silicon

    Make a note of the start/end, and move to the next one which allows the same thing. It may be that you will have just one. The size of this one as 2880 seems suspicious a bit.

  • by bob_silicon,

    bob_silicon bob_silicon Sep 13, 2014 6:47 AM in response to bob_silicon
    Level 1 (0 points)
    Sep 13, 2014 6:47 AM in response to bob_silicon

    I have list all MS data partition, there are only 4 MS data partitions that can be list

     

    D MS Data                138401704  138404583       2880

    >drwxr-xr-x     0     0         0  2-Jul-2014 19:48 AMD64

    -rwxr-xr-x     0     0        98  2-Jul-2014 19:48 Autounattend.vbs

    -rwxr-xr-x     0     0      6374  2-Jul-2014 19:48 Autounattend.xml

    -rwxr-xr-x     0     0         0  2-Jul-2014 19:48 FDD.TAG

    -rwxr-xr-x     0     0    105984  2-Jul-2014 19:48 IGT.EXE

    -rwxr-xr-x     0     0     44544  2-Jul-2014 19:48 PRL_PV32.SYS

    -rwxr-xr-x     0     0       177  2-Jul-2014 19:48 TXTSETUP.OEM

    -rwxr-xr-x     0     0        81  2-Jul-2014 19:48 TXTSETUP.SIF

    -rwxr-xr-x     0     0      1051  2-Jul-2014 19:48 WINNT.SIF

     

     

    D MS Data                142434240  142437119       2880

    >drwxr-xr-x     0     0         0  2-Jul-2014 19:48 AMD64

    -rwxr-xr-x     0     0         0  2-Jul-2014 19:48 FDD.TAG

    -rwxr-xr-x     0     0     44544  2-Jul-2014 19:48 PRL_PV32.SYS

    -rwxr-xr-x     0     0       177  2-Jul-2014 19:48 TXTSETUP.OEM

    -rwxr-xr-x     0     0        81  2-Jul-2014 19:48 TXTSETUP.SIF

    -rwxr-xr-x     0     0      1028  2-Jul-2014 19:48 WINNT.SIF

     

     

    D MS Data                155710264  155713143       2880

    >drwxr-xr-x     0     0         0  2-Jul-2014 20:39 AMD64

    drwxr-xr-x     0     0         0  2-Jul-2014 20:39 I386

    drwxr-xr-x     0     0         0  2-Jul-2014 20:39 NETWORK

    -rwxr-xr-x     0     0       855  2-Jul-2014 20:10 TXTSETUP.OEM

     

     

    D MS Data                170213208  170216087       2880 [GUEST_TOOLS]

    >drwxr-xr-x     0     0         0  8-Sep-2008 12:48 RTL8029

  • by Loner T,

    Loner T Loner T Sep 13, 2014 8:05 AM in response to bob_silicon
    Level 7 (24,743 points)
    Safari
    Sep 13, 2014 8:05 AM in response to bob_silicon

    The size being 2880 makes it look like only that partition was moved around quite a bit. If you do not see any other files, these do not look likely candidates for your bootcamp.

     

    One option, if you are willing to try, is to use GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) and create a Hybrid MBR after updating the following entry to be a MS Data partition and see if Windows will come back. It may still need Windows Startup repair. Changing the Partitiontype GUID to MSData, will at least let the partition be visible in OSX and it can be read to see if you can see more familiar files.

     

    245821440  244151128      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

  • by bob_silicon,

    bob_silicon bob_silicon Sep 13, 2014 8:29 AM in response to Loner T
    Level 1 (0 points)
    Sep 13, 2014 8:29 AM in response to Loner T

    thank you!

    Does if mean that TestDisk can't finish MS data recovery?

    Of course, i am willing to try.

  • by Loner T,

    Loner T Loner T Sep 13, 2014 8:57 AM in response to bob_silicon
    Level 7 (24,743 points)
    Safari
    Sep 13, 2014 8:57 AM in response to bob_silicon

    We need to assume that your Windows was working before the TM issue, so the GPT entries are correct and somehow the partition type was the only change. If that is not the case, let me know.

     

    1. Using GPT Fdisk, update the GPT entry to have the correct Partitiontype GUID.

    2. Please see Windows 7 not bootable after upgrade for the steps to create a Hybrid MBR. Post back here, if you have questions.

  • by Loner T,

    Loner T Loner T Sep 13, 2014 9:05 AM in response to bob_silicon
    Level 7 (24,743 points)
    Safari
    Sep 13, 2014 9:05 AM in response to bob_silicon

    Steps to update the partition type GUID of the GPT#4 entry are

     

     

    sudo gdisk /dev/disk0

    Password:

    GPT fdisk (gdisk) version 0.8.9

     

    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/disk0: 1954210120 sectors, 931.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 6ED0C429-00D1-4759-B50E-04B6FB80D0E3

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 1954210086

    Partitions will be aligned on 8-sector boundaries

    Total free space is 1293 sectors (646.5 KiB)

     

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

      1              40          409639  200.0 MiB  EF00  EFI System Partition

      2          409640      1452940543  692.6 GiB  AF00  Customer

      3      1452940544      1454210079  619.9 MiB  AB00  Recovery HD

      4      1454211072      1954209791  238.4 GiB  0700  BOOTCAMP

     

     

    Command (? for help): t

    Partition number (1-4): 4

    Current type is 'Microsoft basic data'

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

    Changed type of partition to 'Microsoft basic data'

     

    Command (? for help): p

    Disk /dev/disk0: 1954210120 sectors, 931.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 6ED0C429-00D1-4759-B50E-04B6FB80D0E3

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 1954210086

    Partitions will be aligned on 8-sector boundaries

    Total free space is 1293 sectors (646.5 KiB)

     

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

      1              40          409639  200.0 MiB  EF00  EFI System Partition

      2          409640      1452940543  692.6 GiB  AF00  Customer

      3      1452940544      1454210079  619.9 MiB  AB00  Recovery HD

      4      1454211072      1954209791  238.4 GiB  0700  BOOTCAMP

     

    Command (? for help): i

    Partition number (1-4): 4

    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)

    Partition unique GUID: FEDA3E52-DED0-43F1-A598-75A28E17427B

    First sector: 1454211072 (at 693.4 GiB)

    Last sector: 1954209791 (at 931.8 GiB)

    Partition size: 499998720 sectors (238.4 GiB)

    Attribute flags: 0000000000000000

    Partition name: 'BOOTCAMP'

     

    Command (? for help): w


    And Type 'y' to confirm changes, and reboot.

  • by bob_silicon,

    bob_silicon bob_silicon Sep 20, 2014 8:23 PM in response to Loner T
    Level 1 (0 points)
    Sep 20, 2014 8:23 PM in response to Loner T

    I updated the GUID of the GPT#4 entry step by step, it seems no OK

     

    applematoMacBook-Air:~ apple$ sudo gdisk /dev/disk0

    Password:

    GPT fdisk (gdisk) version 0.8.10

     

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    Partition table scan:

      MBR: protective

      BSD: not present

      APM: not present

      GPT: present

     

     

    Found valid GPT with protective MBR; using GPT.

     

     

    Command (? for help): p

    Disk /dev/disk0: 490234752 sectors, 233.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): AEC7B58E-EE02-4F06-BAB9-BA05E8D07E93

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 490234718

    Partitions will be aligned on 8-sector boundaries

    Total free space is 263797 sectors (128.8 MiB)

     

     

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

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640       244550263   116.4 GiB   AF00  未命名

       3       244550264       245819799   619.9 MiB   AB00  Recovery HD

       4       245821440       489972567   116.4 GiB   0700  Apple_HFSX_Untitled_2

     

     

    Command (? for help): i

    Partition number (1-4): 4

    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)

    Partition unique GUID: 38C13FC6-E08A-43D7-9181-55342A8B8E9A

    First sector: 245821440 (at 117.2 GiB)

    Last sector: 489972567 (at 233.6 GiB)

    Partition size: 244151128 sectors (116.4 GiB)

    Attribute flags: 0000000000000000

    Partition name: 'Apple_HFSX_Untitled_2'

  • by bob_silicon,

    bob_silicon bob_silicon Sep 20, 2014 8:30 PM in response to bob_silicon
    Level 1 (0 points)
    Sep 20, 2014 8:30 PM in response to bob_silicon

    And the disk4 is gray

    gray.png

  • by Loner T,

    Loner T Loner T Sep 20, 2014 9:12 PM in response to bob_silicon
    Level 7 (24,743 points)
    Safari
    Sep 20, 2014 9:12 PM in response to bob_silicon

    GPT4 looks correct, but the Hybrid MBR still needs to be re-created using Windows 7 not bootable after upgrade.

  • by bob_silicon,

    bob_silicon bob_silicon Sep 22, 2014 6:45 AM in response to Loner T
    Level 1 (0 points)
    Sep 22, 2014 6:45 AM in response to Loner T

    I tried to follow step by step "Windows 7 not bootable after upgrade"

    What i did :

    sudo gdisk/dev/disk0 pressed r

    pressed h

    in sequence 2 3 4

    pressed enter for all of them and set bootable flag for 4

    w and quit

    when i reboot and try to boot into windows7,  It says "miss operating system"!

    Do you have any suggestions? thank you very much

     

     

    applematoMacBook-Air:~ apple$ sudo gdisk /dev/disk0

    GPT fdisk (gdisk) version 0.8.10


    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.

  • by bob_silicon,

    bob_silicon bob_silicon Sep 22, 2014 6:47 AM in response to bob_silicon
    Level 1 (0 points)
    Sep 22, 2014 6:47 AM in response to bob_silicon

    Command (? for help): p

    Disk /dev/disk0: 490234752 sectors, 233.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): AEC7B58E-EE02-4F06-BAB9-BA05E8D07E93

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 490234718

    Partitions will be aligned on 8-sector boundaries

    Total free space is 263797 sectors (128.8 MiB)

     

     

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

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640       244550263   116.4 GiB   AF00 

       3       244550264       245819799   619.9 MiB   AB00  Recovery HD

       4       245821440       489972567   116.4 GiB   0700  Apple_HFSX_Untitled_2

  • by bob_silicon,

    bob_silicon bob_silicon Sep 22, 2014 6:48 AM in response to bob_silicon
    Level 1 (0 points)
    Sep 22, 2014 6:48 AM in response to bob_silicon

    Command (? for help): i

    Partition number (1-4): 4

    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)

    Partition unique GUID: 38C13FC6-E08A-43D7-9181-55342A8B8E9A

    First sector: 245821440 (at 117.2 GiB)

    Last sector: 489972567 (at 233.6 GiB)

    Partition size: 244151128 sectors (116.4 GiB)

    Attribute flags: 0000000000000000

    Partition name: 'Apple_HFSX_Untitled_2'

  • by bob_silicon,

    bob_silicon bob_silicon Sep 22, 2014 6:49 AM in response to bob_silicon
    Level 1 (0 points)
    Sep 22, 2014 6:49 AM in response to bob_silicon

    Command (? for help): r

     

     

    Recovery/transformation command (? for help): o

     

     

    Disk size is 490234752 sectors (233.8 GiB)

    MBR disk identifier: 0x3A172253

    MBR partitions:

     

     

    Number  Boot  Start Sector   End Sector   Status      Code

       1                     1       409639   primary     0xEE

       2                409640    244550263   primary     0xAF

       3             244550264    245819799   primary     0xAB

       4      *      245821440    489972567   primary     0x07

  • by Loner T,

    Loner T Loner T Sep 22, 2014 8:25 AM in response to bob_silicon
    Level 7 (24,743 points)
    Safari
    Sep 22, 2014 8:25 AM in response to bob_silicon

    You may need to do a Windows Repair.

     

    1. Put the W7 DVD in the Optical drive.

    2. On the OSX side, System Preferences -> Startup Disk, choose the Bootcamp Partition and Restart.

    3. When prompted to boot from the DVD, press any key and Repair your Bootcamp W7 installation.

     

    Also please see http://support.microsoft.com/kb/927392

     

    1. Does your Bootcamp Volume show up in OSX Finder?

    2. Can you see files in the Bootcamp volume using Finder?

first Previous Page 3 of 4 last Next