11

Yesterday I installed Ubuntu on my laptop, and due to my bad luck, I accidentally deleted the partition. The data on the disk was very important to me. I tried TestDisk to recover partition but that didn't work for me.

Someone suggested to try software on Windows. But if I install Windows on my laptop then it will overwrite the data, so I'm planning to clone the hard drive by using the 'dd' commands and use that external hard drive to recover data on Windows.

Will it work ?

Jonas Czech
  • 4,047
Danizen
  • 121

1 Answers1

15

Yes, dd clones every bit on the drive, including deleted files and free space.

You could also look into CloneZilla, which is a user-friendly LiveCD for cloning and restoring disks, though I'm not sure its disk-image format would be compatible with your Windows software. http://clonezilla.org/