Debugging Guide: Data Recovery with Hiren's Boot CD PE & Linux
📌 Problem Context
- Initial symptom: Disk does not appear as bootable in BIOS, but is detected in Ubuntu.
- Possible causes:
- Damaged partition table (GPT/MBR).
- Corrupted file system (NTFS/FAT32).
- Windows hibernation (
fast startup
enabled). - Hardware failure (bad sectors). (Not in this case)
Hardware & Software Used
- Hiren's PE: A lightweight Windows environment. Download it here. It runs like Windows, allowing you to retrieve your data, run admin commands, and perform diagnostics.
- Ubuntu Live USB: "Live" means running Ubuntu without installing it. This is very useful, especially when the system has no bootable OS.
🔍 Debugging Steps
1. Want to Retrieve Your Data?
First, download and install Hiren's PE using the link above. Boot from it and wait for the minimal Windows environment to load. Open File Explorer to check your storage devices. If nothing appears, proceed to step 2.
2. Check Disk Status
In Ubuntu or Ubuntu Live:
# From Ubuntu/Live USB:
sudo fdisk -l # List disks/partitions
sudo gdisk -l /dev/sdX # Show GPT details
sudo ntfsfix -d /dev/sdXN # Repair NTFS (read-only)
3. Restore Partition Table
First, in Linux install gdisk:
Then run:
If prompted to select between options (e.g., corrupt or new table), you can ignore and use the following commands:- r → Recovery mode
- v → Check integrity
- p → Show partitions
- w → Write changes (be careful if you are unsure about the changes)
4. Solve Windows Hibernation
In Hiren's PE (CMD as admin):
These commands may help, but in this case, they did not resolve the issue.