Uh, oh. Your Windows 10 or Windows 11 computer won't boot up and can't fix itself. In most cases you would be out of luck, unless you created a recovery drive, which stores a copy of your Windows ...
You can partition a hard drive in Windows 10 to create dedicated portions of the hard drive that your computer will recognize separately.