Testdisk Frozen
Posted: 21 May 2018, 20:50
Hello,
My laptop (Lenovo ThinkPad T450s) has a Windows 8 partition and an Ubuntu partition. Yesterday, in the Ubuntu partition, I ran "sudo rm -rf /* instead of "sudo rm -rf ./*", so I lost everything, so am trying to use testdisk to recover what I can. I was able to run Quick Search, it found an NTFS partition (Image 1), and it was able to list the files, or at least the folders, in the root directory. I attempted to copy them all over to an external hard drive (image 2). The first time, I may have used the destination, since I thought it would be /dev/sdc like it says. It copied about 200000 successfully, but 300000 failed. I then thought that /media was the right place, but now testdisk is frozen at 0 ok, 298520 failed (Image 3). It's been over 18 hours now. I was wondering if I should force shutdown my computer and restart the process by copying smaller components at a time? Or if force shutting down would cause more data to be lost.
I have attached the following pictures (I dont have access to the .log file currently):
Image 1: partition found by quick search
Image 2: Results after running sudo fdisk -l. 1st device is the hard drive I am trying to recover, 2nd device is my USB that GParted is running off of, 3rd device is my external hard drive I am trying to copy my files over to. The 3rd drive is a harddrive from a Windows 10 computer which is why it has the partitions.
Image 3: Image of my screen currently, where testdisk is frozen.
My laptop (Lenovo ThinkPad T450s) has a Windows 8 partition and an Ubuntu partition. Yesterday, in the Ubuntu partition, I ran "sudo rm -rf /* instead of "sudo rm -rf ./*", so I lost everything, so am trying to use testdisk to recover what I can. I was able to run Quick Search, it found an NTFS partition (Image 1), and it was able to list the files, or at least the folders, in the root directory. I attempted to copy them all over to an external hard drive (image 2). The first time, I may have used the destination, since I thought it would be /dev/sdc like it says. It copied about 200000 successfully, but 300000 failed. I then thought that /media was the right place, but now testdisk is frozen at 0 ok, 298520 failed (Image 3). It's been over 18 hours now. I was wondering if I should force shutdown my computer and restart the process by copying smaller components at a time? Or if force shutting down would cause more data to be lost.
I have attached the following pictures (I dont have access to the .log file currently):
Image 1: partition found by quick search
Image 2: Results after running sudo fdisk -l. 1st device is the hard drive I am trying to recover, 2nd device is my USB that GParted is running off of, 3rd device is my external hard drive I am trying to copy my files over to. The 3rd drive is a harddrive from a Windows 10 computer which is why it has the partitions.
Image 3: Image of my screen currently, where testdisk is frozen.