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
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
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.
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.
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.
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.
Can you post the output of
diskutil list
from macOS Terminal?
Can you post the output of
sudo gpt -vv -r show /dev/disk0
sudo fdisk /dev/disk0
This will allow us to compare the GPT and MBR.
I assume your Mac is a 2014 or older Mac. Can you install GPT Fdisk, which will allow us to create MBR and try to fix the W7 booting issues. It is good that you can see the Windows files.
/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
Has there been a recent macOS update/upgrade?
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
Thank you very much, worked!
do I need to do any thing else about changes in my setting that I've done in this period?
two more question , Can I divide my mac HD to make 2 partitions ?
can I increase my BOOTCAMP partition whiteout any change in my windows? I don't want to reinstall my soft wares on my windows
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.
No
I partitioned my mac drive
I thought may it is the problem so I made it one partition again
gpt show: unable to open device '/dev/disk0': Operation not permitted
I tried to solve it, I couldn't find full access disc to change
Last login: Tue May 7 20:09:36 on console
ATABAKs-MBP:~ ATABAK$ sudo gpt -vv -r show /dev/disk0
Password:
gpt show: unable to open device '/dev/disk0': Operation not permitted
ATABAKs-MBP:~ ATABAK$
Failed to modify system integrity configuration...
done
windows 7 wont statrt