0

I ran the rm -rf / command on my kubuntu system and i ended all losing everything on my system.

I've seen several data recovery tools like foremost and testdisk but they all talk about running it from a live cd and getting the files from the existing partitions that are still there, but in my case i formatted my whole system and deleted the existing partitions and installed ubuntu afresh.

So is foremost or testdisk going to work since there is no partition again, if yes please post the steps, if no can you guys show me another alternative to scan the whole hard disk and find some of the lost files.

muru
  • 207,228
danidee
  • 245

1 Answers1

0

Step 1: Stop using the Drive!

Step 2: Boot up using LiveCD/USB

Step 3: Install TestDisk to the live session using Software Centre

Step 4: Follow this guide to recover your partition. Pay particular attention to step 10. I think that might work for you.

Duck
  • 336