Fixing MBR Partition and Boot
bootrec /fixmbrbootrec /fixmbrbootrec /fixbootbootrec /fixbootchkdsk /f c:c: in this case) for errors and attempts to fix them.chkdsk /f c:/f: Fixes any errors found on the disk.diskpart (for managing partitions)Description: A tool for managing disks and partitions. Use this to set a partition as active or inactive.
Steps to Reactivate a Partition:
Open DiskPart:
diskpartSelect the disk where the partition is located:
select disk 0(Replace 0 with the appropriate disk number)
List all partitions on the selected disk:
list partitionSelect the partition you want to make active:
select partition X # Replace X with the partition numberSet the partition as active:
activeTo Deactivate a Partition:
If you want to deactivate a partition (remove the active flag), use the inactive command:
inactivebootrec /fixmbr: Fixes the MBR to make the disk bootable.bootrec /fixboot: Fixes the boot sector of the active partition.chkdsk /f c:: Checks and fixes file system errors on the C: drive.diskpart: Used for managing partitions (activating, deactivating, and listing).Make sure to run these commands from a Windows Recovery Environment (WinRE) or a bootable USB if your system is not booting. Use them carefully to avoid accidental data loss, especially when managing partitions.
Última actualización