windows 7 wont statrt

I had a windows 7 on my macbook pro , but recently it wont start , my data is still available on bootcamp partition and i can see all folders and files on my ios but I cant start windows

MacBook Pro 15", macOS 10.13

Posted on May 6, 2019 11:54 PM

Reply
Question marked as Top-ranking reply

Posted on May 8, 2019 6:01 PM

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 thesample 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.

  1. Sudo gdisk /dev/rdisk0
  2. P (Print list of parts)
  3. R (Recover)
  4. O (print current Hybrid MBR)
  5. H (chooses Hybrid)
  6. Partitions numbers to be hybridized: 2 3 4
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. N (part 3 boot flag)
  10. Y (part 4 boot flag make NTFS bootable partition)
  11. O (print current Hybrid MBR)
  12. W (Write the new MBR)
  13. Y (Yes! write the new MBR)
  14. 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.

21 replies
Question marked as Top-ranking reply

May 8, 2019 6:01 PM in response to jerviiis

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 thesample 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.

  1. Sudo gdisk /dev/rdisk0
  2. P (Print list of parts)
  3. R (Recover)
  4. O (print current Hybrid MBR)
  5. H (chooses Hybrid)
  6. Partitions numbers to be hybridized: 2 3 4
  7. Y (Good for GRUB question)
  8. N (part 2 boot flag)
  9. N (part 3 boot flag)
  10. Y (part 4 boot flag make NTFS bootable partition)
  11. O (print current Hybrid MBR)
  12. W (Write the new MBR)
  13. Y (Yes! write the new MBR)
  14. 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.

May 7, 2019 4:16 PM in response to Loner T

/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *1.0 TB     disk0


   1:                        EFI EFI                     209.7 MB   disk0s1


   2:          Apple_CoreStorage Macintosh HD            841.3 GB   disk0s2


   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3


   4:       Microsoft Basic Data BOOTCAMP                158.0 GB   disk0s4




/dev/disk1 (internal, virtual):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:                  Apple_HFS Macintosh HD           +841.0 GB   disk1


                                 Logical Volume on disk0s2


                                 7C659AFF-A0FD-4D3C-ACFE-DAEE8114F4CD


                                 Unencrypted

May 8, 2019 4:02 PM in response to Loner T

MacBook-Pro:~ atabaktaghizadeh$ sudo gpt -vv -r show /dev/disk0


Password:


Sorry, try again.


Password:


gpt show: /dev/disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168


gpt show: /dev/disk0: PMBR at sector 0


gpt show: /dev/disk0: Pri GPT at sector 1


gpt show: /dev/disk0: Sec GPT at sector 1953525167


       start        size  index  contents


           0           1         PMBR


           1           1         Pri GPT header


           2          32         Pri GPT table


          34           6         


          40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B


      409640  1643253944      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC


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


  1644933120   308590592      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7


  1953523712        1423         


  1953525135          32         Sec GPT table


  1953525167           1         Sec GPT header


May 10, 2019 5:05 PM in response to jerviiis

jerviiis wrote:

Thank you very much, worked!

Excellent.

do I need to do any thing else about changes in my setting that I've done in this period?

No.

two more question , Can I divide my mac HD to make 2 partitions ?

No.

can I increase my BOOTCAMP partition whiteout any change in my windows? I don't want to reinstall my soft wares on my windows

You will need to use a third-party backup/restore tool to do this.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

windows 7 wont statrt

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.