Q: Boot Windows 7 is missing when reinstalled Mavericks
Hi, Experts.
I was running OS X 10.9 Mavericks and Windows 7.
I got problem to enter Mavericks, Then I reinstalled Mavericks. When I boot up by using hold Alt, the Windows 7 option is gone!
When I enter OS X Mavericks, there is windows 7 disk and all files are in it.
I find the method from Loner T.
Repairing Boot Camp after creating new partition
sudo fdisk -e /dev/disk0
p
setpid 4
07
flag 4
p
write
y
When I restart my Macbook and hold Alt, there is windows 7 option.
when I enter Windows 7, there is only a black screen with a blinking underscore "_".
I am wondering if Loner T could tell me how to boot Windows 7? Thank you very Much.
MacBook Pro, OS X Mavericks (10.9.5), Windows 7
Posted on Sep 30, 2015 1:02 AM
When OS X was re-installed, it overwrote the MBR. Your Fdisk steps just created a partial entry. Can you download GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) and run the following steps and test?
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 10. Accept all other defaults that Gdisk offers. Please see the sample Q&A as an example. These steps can be repeated if you make a mistake before you get to Step 12, otherwise start from Step 1 for these steps. Step 6 has numbers which are typed with a space between the numbers. Please see the sample Q&A before you execute these steps.
- Sudo gdisk /dev/rdisk0
- P (Print list of parts)
- R (Recover)
- O (print current Hybrid MBR)
- 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)
- O (print current Hybrid MBR)
- W (Write the new MBR)
- Y (Yes! write the new MBR)
- Reboot
Here is sample Q&A for this section. Please notice the Press Enter/Return.
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): Press Enter/Return
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 Sep 30, 2015 11:53 PM