Accidentally removed Windows drive from bootloader via terminal command

Jancey

New member
Joined
Feb 20, 2020
macOS
10.15.1
Mobo
Z390 Aorus Pro
CPU
i5-9600k
GPU
RX580 8GB
#1
I used this command: diskutil info disk0s2 | grep -i "Partition UUID" | rev | cut -d' ' -f 1 | rev

But I accidentally removed the wrong disk and now my main windows drive is not appearing in the bootloader. I can't figure out how to get it back. I tried resetting my windows drive, but I kept getting an error. I also reset my mac and reinstalled Catalina.
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.15.7
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
Powercolor RX 580 8GB
#2
I'm not familiar with that Terminal Command. However, you will need to reinstall Windows, along with all your applications, drivers, personal settings etc. if you erased the Windows disk.

This is why people are advised to never have their Windows drive installed when installing macOS and Visa Versa. It prevents issues like this arising.