Q: missiong operating system BootCamp windows on MBA Late-2010 10.9
Hi,
I've installed win7 on my MBA 13inch Late-2010 with OS X Installed 10.9.5. After shrinkin my OS X partition then windows can't start any more. Following are mya data :
Zens-MacBook-Air:~ noimba256$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Air HD 212.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 29.0 GB disk0s4
Zens-MacBook-Air:~ noimba256$ sudo fdisk /dev/disk0
Password:
Disk: /dev/disk0 geometry: 30515/255/63 [490234752 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 - 414062496] HFS+
3: AB 1023 254 63 - 1023 254 63 [ 414472136 - 1269536] Darwin Boot
*4: 07 1023 254 63 - 1023 254 63 [ 433594368 - 56639488] HPFS/QNX/AUX
Zens-MacBook-Air:~ noimba256$ sudo gpt -r -vv show disk0
gpt show: disk0: mediasize=251000193024; sectorsize=512; blocks=490234752
gpt show: disk0: Suspicious MBR at sector 0
gpt show: disk0: Pri GPT at sector 1
gpt show: disk0: Sec GPT at sector 490234751
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 414062496 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
414472136 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
415741672 17852696
433594368 56639488 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
490233856 863
490234719 32 Sec GPT table
490234751 1 Sec GPT header
Zens-MacBook-Air:~ noimba256$ sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000020 00 00 00 00 00 00 00 ff 00 00 00 ff 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00 ff |................|
00000050 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000000a0 00 00 00 00 00 00 00 ff 00 00 00 ff 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00 ff |................|
000000d0 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 00 |................|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000120 00 00 00 00 00 00 00 ff 00 00 00 ff 00 00 00 ff |................|
00000130 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 ff |................|
*
00000150 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 ff 00 00 00 ff 00 00 00 ff |................|
000001b0 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 ff |................|
*
000001d0 00 00 00 ff 00 00 00 ff 00 00 00 ff 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200
Anyone can help me out?
MacBook Air, OS X Mavericks (10.9.5), 13 Inch late-2010
Posted on Mar 4, 2015 4:02 PM
Yes, it is indeed good news.
Leave your Testdisk display and start a new Terminal Window.
You need to use the following steps. If you see any error messages during the following steps, please stop and post back here with the error message. The following steps have values from your Testdisk output (and you can verify) in Steps 7 and 8.
Rebuild GPT4 using start/end offsets
- Sudo gdisk /dev/rdisk0
- P (print the full list of parts)
- D (delete)
- 4 (part 4)
- N (new part)
- 4 (part 4)
- 421875712 - Start offset in bytes (start point for Bootcamp part)
- +68358137 (Size offset as opposed to End offset)
- 0700 (Windows part type)
- P (print list of all parts just to see what changes will be made)
- W (Write the new GPT)
- Y (Yes! really write the new GPT)
This will delete and re-write the GPT partition info for /dev/disk0s4.
Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes). The only values that need modifications are the Boot flags and step 6. Accept all other defaults that Gdisk offers.
- Sudo gdisk /dev/disk0
- P (Print list of parts)
- R (Recover)
- H (chooses Hybrid)
- Partitions numbers to be hybridized: 2 3 4
- Y (Good for GRUB question)
- N (part 2 boot flag)
- N (part 3 boot flag)
- Y (part 4 boot flag make NTFS bootable partition)
- W (Write the new MBR)
- Y (Yes! write the new MBR)
- Reboot
This is an example for the second set.
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y
Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default AF): Press Enter/Return
Set the bootable flag? (Y/N): N
Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default AB): Press Enter/Return
Set the bootable flag? (Y/N): N
Creating entry for GPT partition #4 (MBR partition #4)
Enter an MBR hex code (default 07): 07
Set the bootable flag? (Y/N): Y
Test 1 - Does Bootcamp Volume show up in Finder?
Test 2 - Can you see files in Bootcamp Volume?
Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?
Test 4 - If Test 3 is successful, select Bootcamp and Click Restart.
Posted on Mar 5, 2015 7:57 PM