diskpart select disk 0 select partition 1 active exit After restoring structure, check for file system corruption:
# Linux fdisk -l /dev/sda diskpart list disk list partition active partition recovery full
bootrec /fixmbr # Rewrites MBR code (does not modify partition table) bootrec /fixboot # Writes new boot sector onto the system partition bootrec /rebuildbcd # Rebuilds Boot Configuration Database diskpart select disk 0 select partition 1 active
fdisk /dev/sda # Use 'a' to toggle active flag on the correct partition active partition recovery full