
In above example I had selected sktop and rsynctest folder by pressing. In case we were unable or did not want to recover the partition table we may try to copy selected files or directories with testdisk from the Filesystem Utils menu: This will be done in Nautilus from a right click context menu or in the terminal: sudo umount /media/ubuntu/ by opening a separate Nautilus window, or in releases /* /media/ubuntu/Īfter sucessful copy we need to unmount the drives to avoid data loss. We can then copy & paste (or drag & drop) our rescued files from the internal drive to the external drive (e.g. The below picture shows how the USB drive will be mounted on insertion (the internal partitions will be mounted on selecting them): To be able to save our data to an external drive we need to mount both the recovered partitions and the external USB drive in the live environment. Only if you fail to recover partitions you may be able to recover single data file using PhotoRec from the TestDisk suite but this will not recover filenames, folder structures or time stamps of your files.ĭo not use the drive before you were able to recover your lost data.Ĭopy data from the live system to an external drive You will not be able to recover your Windows installation, as this was overwritten by Ubuntu. If you are not able to recover from an image of your overwritten drive (this will need an external drive with more than double the free space than your laptop's hard drive) you need to save all your data on an external drive soon after recovery. with Nautilus) to be able to store recovered data later.įollow the concise step by step guide on the Testdisk Wiki which will help you to recover lost partitions.

Mount your external backup drive in the live session (e.g. Then install testdisk with: sudo apt install testdisk Updating your apt cache in a terminal by first pressing Ctrl+ Alt+ T and then typing: sudo apt update

You can't recover the data on the same drive.īoot your Ubuntu LiveCD ("Try Ubuntu") and then install testdisk by:Īdding the "Universe" repository to your software sources (from Ubuntu system settings > Software & updates) Please have an external drive ready to save your recovered data before you proceed. You can temporarily install testdisk on a live session too (however this will then not be a permanent installation). You may however be able to recover your partitions with testdisk but you may not be able to recover all of your data.
