Cannot boot to windows 7 after canceling bootcamp backup
MacBook Air, Mac OS X (10.5.1)
MacBook Air, Mac OS X (10.5.1)
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.
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
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
thank you!
Does if mean that TestDisk can't finish MS data recovery?
Of course, i am willing to try.
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.
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.
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'
GPT4 looks correct, but the Hybrid MBR still needs to be re-created using Windows 7 not bootable after upgrade.
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.
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'
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
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?
1. Bootcamp Volumes doesn't show up in OSX finder after updated the GUID of the GPT #4 entry to 0700
2. I can't see any files in Bootcamp
😢
Cannot boot to windows 7 after canceling bootcamp backup