Windows Partition Gone after SysLinux Command

Asked by Gaurav Sharma

I am using a single boot Windows 7 Ultimate system, somehow my system stopped working and was crashing at windows 7 logo after showing BSOD.
I tried running diskcheck, memory check and changing SATA from AHCI to IDE in my BIO however none of these options helped.

I also could not access safe mode to rebuild MBR as it got stuck at classpnp.sys and rebooted. I also tried repairing startup with inbuilt repair system of windows 7 however these also failed so I though of using linux live CD and building MBR as I thought that was the issue cuz earlier I had the issue when I was using dual boot with kali linux and it fixed the issue.

So I started following steps from this website - https://www.maketecheasier.com/fix-windows-mbr-from-ubuntu/

Step 1 - Boot Repair Utility, It didnt help.
Step 2 - I could See my OS after entering command OS-prober, however it didnt help.

then I tried the Step 3 and I changed the drive name here "Sda1" which was my windows partition as I saw in Os-probe commnand. (Comand I entered- sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda1)

After this my computer was not even showing the windows 7 logo, its showing lot of data at start and in live cd, I cannot see my windows partition and access files which I could access earlier. I can see my other partition.

I can see my windows partition in lsblk command however I dont know how to get it back, please help. I would like to get my system back.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Sorry to read about your problem, but with the "sudo dd ..." command that you executed you made everything worse, and I assume that there is not much left, that can be done.

The instruction
"remembering to change the drive name “sda” as appropriate"
meant that you have to replace the drive name sda by the drive name sdb or sdc if applicable.

What you did was using sda1 instead, which is a partition, not a drive. This overwrote important information that is crucial for accessing your Windows data.

The only chance that I see for recovering (some) of your windows data is using file recovery program like testdisk, photorec, foremost etc. https://www.digitalocean.com/community/tutorials/top-best-linux-data-recovery-tools

Can you help with this problem?

Provide an answer of your own, or ask Gaurav Sharma for more information if necessary.

To post a message you must log in.