If i clone a hard drive using the 'dd' command, will it also clone the free space and information about deleted files?

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 ?

6

1 Answer

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.

13

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like