Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kami83

macrumors newbie
Original poster
Jun 19, 2020
5
1
Hi,

my Windows Bootloader on a Macbook Pro 2020 is broken and i can't start my Bootcamp Windows 10 64bit. I created a WindowsPE USB stick with the Apple Bootcamp drivers. If i boot in the Windows PE enviroment i can see the drive Apple SSD but the partition on this drive are wrong and to small only something like 4 partition with round about 50GB. My drive is 500GB.

If i boot into MacOS or Linux all partitions are there and working. How can i fix my booting Windows-Problem?

Thanks a lot.

BG kami
 
Windows PE has Paragon software inside or soft of.
Without proper mounting you won't be able to see them, no support from Windows side (Mac OS Extended either as APFS)

Supposedly (as I understood) you're able to boot into macOS. Open there BootCamp Assistant to see what will be going on.
Also, I'm not sure about this part, but you can open Disk Utility to run First Aid (but toggle there Show all devices)
 
Hi,

maybe my explain is not so good. I will try it again. I recieved another partition (linuxswap) and now my Windows is not booting ( i get an error: blinitializelibrary failed 0xc00000bb ) So i tried to create a WindowsPE Image with the Bootcamp drivers and i boot this image from USB. If i select the DOS-Prompt and enter "diskpart" i can see with "list disk" all disks but if i select the main drive i can't see the right partitions. If i boot in MacOS everything is fine and i can see this output:

gdisk -l /dev/disk0
GPT fdisk (gdisk) version 1.0.8

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.
Disk /dev/disk0: 122138133 sectors, 465.9 GiB
Sector size (logical): 4096 bytes
Disk identifier (GUID): 0BD48194-6130-424D-8B8B-1994A461E915
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 5
First usable sector is 6, last usable sector is 122138127
Partitions will be aligned on 2-sector boundaries
Total free space is 250497 sectors (978.5 MiB)

Number Start (sector) End (sector) Size Code Name
1 6 76805 300.0 MiB EF00 EFI System Partition
2 76806 49149070 187.2 GiB AF0A
3 49149184 51590399 9.3 GiB 0700
4 51590656 106778111 210.5 GiB 0700
5 106778112 121887999 57.6 GiB 8300 ubuntulinux

the 210.5GiB is my Windows Partition. Under MacOS i can see all files. Everything is fine. But i need to repair the BCD from Windows 10.

Can you help me? How can i find out, if my GPT or MBR is broken?

Thanks a lot.

BG kami
 
Hi, i found this i my MBR is strange:

gdisk /dev/disk0
GPT fdisk (gdisk) version 1.0.8

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): v

Warning! Mismatched GPT and MBR partition! MBR partition 2, of type 0xDA,
has no corresponding GPT partition! You may continue, but this condition
might cause data loss in the future!

Warning! Mismatched GPT and MBR partition! MBR partition 3, of type 0xDA,
has no corresponding GPT partition! You may continue, but this condition
might cause data loss in the future!

Warning! Mismatched GPT and MBR partition! MBR partition 4, of type 0x07,
has no corresponding GPT partition! You may continue, but this condition
might cause data loss in the future!

Identified 3 problems!


Command (? for help): p
Disk /dev/disk0: 122138133 sectors, 465.9 GiB
Sector size (logical): 4096 bytes
Disk identifier (GUID): 0BD48194-6130-424D-8B8B-1994A461E915
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 5
First usable sector is 6, last usable sector is 122138127
Partitions will be aligned on 2-sector boundaries
Total free space is 250497 sectors (978.5 MiB)

Number Start (sector) End (sector) Size Code Name
1 6 76805 300.0 MiB EF00 EFI System Partition
2 76806 49149070 187.2 GiB AF0A
3 49149184 51590399 9.3 GiB 0700
4 51590656 106778111 210.5 GiB 0700
5 106778112 121887999 57.6 GiB 8300 ubuntulinux


Command (? for help): r

Recovery/transformation command (? for help): o

Disk size is 122138133 sectors (465.9 GiB)
MBR disk identifier: 0xD2B69823
MBR partitions:

Number Boot Start Sector End Sector Status Code
1 1 9599 primary 0xEE
2 * 9600 6143632 primary 0xDA
3 6143648 6448799 primary 0xDA
4 6448832 13347263 primary 0x07

So the MBR is different from the GPT but the GPT is the rigth partition table. How to fix this?

Thanks a lot.

BG kami
 
Hi,

i solved my problem on my own. The MBR was broken. I just have to recreate it with this steps:

To remove the MBR, do I use these commands that I found in another post of yours?
sudo gdisk /dev/disk0

x (experts menu)

n (create a new protective MBR and remove the Hybrid MBR)

o (print the new MBR)

p (print the partition table)

w (write)

y (confirm write)

After this every thing works fine.

BG kami
 
  • Like
Reactions: bobcomer
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.