User Query: I am running a Debian Squeeze in my laptop. I did a big mistake. Instead of doing fdisk /dev/sdb (which is my usb pendrive), I fdisk-ed the /dev/sda, which is my primary hdd. When prompted, I chose options o and w and the reboot my machine.

Fdisk is a command prompt utility, used for manipulation of a hard drive. It was introduced for the first time in the year 1983 by IBM, for MS-DOS compatible computers. It is developed for managing hard drives with a size larger than 512 MB. Fdisk utility can resize, format and activate the partition. Later it was replaced with the DISKPART, introduced in the Windows 2000 operating system.

NOTE: If you have accidentally deleted any partition while using fdisk. Stop using the drive further, so you can prevent the files from getting overwritten.

Two ways to recover a partition after Fdisk

Recovering fdisk partition using System restore point

The System Restore Point is a Microsoft inbuilt tool used to turn back any changes made to the computer. This includes installed application, changes in system settings & Windows registry settings.

System restore point might be a Microsoft inbuilt tool but, it has some limitations like:

Hence, for resolving such issues, you need help of a trusted data recovery software

NOTE: Never download or install the data recovery software on to the damaged partition. Doing so will cause existing data overwritten with new and you may never recover the data.

How to recover fdisk partition using partition recovery software:

Download and install Remo Recover software on your computer.

Additional benefits of Remo Recover

Remo Recover is professional partition recovery software , you can download and try it for free

Fdisk partition disadvantages:

If you have gone through the previous section, it is clear that using the Fdisk utility is not user-friendly.

It is possible to recover the files from the fdisk formatted partition but, you need a reliable fdisk recovery software

Precautions for using fdisk partition: Summary:

Fdisk utility can make partitions of your hard drive, format and, activate the partition. It has many drawbacks and the process is too clumsy. A simple mistake will result in crashing of the entire hard disk. In such situations, a reliable partition recovery software is the best possible option to recover all the lost files.