No Harddisk Found Topic is solved

Using TestDisk to undelete files
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Message
Author
blabla1903
Posts: 5
Joined: 16 Oct 2019, 01:53

No Harddisk Found

#1 Post by blabla1903 »

I am working on Ubuntu 18.04 . I deleted an important file with an extension .ipynb . I searched for similar cases and tried to use testdisk but it seems like I'm doing something wrong. Testdisk can not find any harddisk. I was going to make explicit the location of the device like it's been done in this case viewtopic.php?t=8161 but I don't know the exact location and fdisk -l doesn't work for me. It says :

Code: Select all

fdisk -l
fdisk: cannot open /proc/partitions: No such file or directory
I also tried

Code: Select all

df -Th
but don't know the which one to choose.
Attachments
Ek Açıklama 2019-10-16 041443.png
Ek Açıklama 2019-10-16 041443.png (11.9 KiB) Viewed 9911 times
Last edited by blabla1903 on 25 Oct 2019, 10:57, edited 1 time in total.

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: No Harddisk Found

#2 Post by cgrenier »

fdisk, testdisk and photorec need to be run as root.

blabla1903
Posts: 5
Joined: 16 Oct 2019, 01:53

Re: No Harddisk Found

#3 Post by blabla1903 »

cgrenier wrote: 20 Oct 2019, 08:36 fdisk, testdisk and photorec need to be run as root.
The thing is that I can run them with "sudo" but testdisk can't find any harddisk.
Attachments
Ek Açıklama 2019-10-24 143904.png
Ek Açıklama 2019-10-24 143904.png (11.57 KiB) Viewed 9803 times
Last edited by blabla1903 on 24 Oct 2019, 20:52, edited 1 time in total.

recuperation
Posts: 2719
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: No Harddisk Found

#4 Post by recuperation »

How about "lsblk -l"?
How is your total hard drive configuration like?

blabla1903
Posts: 5
Joined: 16 Oct 2019, 01:53

Re: No Harddisk Found

#5 Post by blabla1903 »

recuperation wrote: 24 Oct 2019, 13:57 How is your total hard drive configuration like?
I'm not quite sure what you are asking :? but I only have my local disk C: which is my ssd.
Attachments
Ek Açıklama 2019-10-24 221237.png
Ek Açıklama 2019-10-24 221237.png (8.55 KiB) Viewed 9786 times

recuperation
Posts: 2719
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: No Harddisk Found

#6 Post by recuperation »

Now I am confused. You are running Linux. "C:\" is a windows term. It seems to be mounted as the c-folder.
Where is your operating system?
There is lacking information about from where your Linux starts. Without devices there is no Linux starting.

blabla1903
Posts: 5
Joined: 16 Oct 2019, 01:53

Re: No Harddisk Found

#7 Post by blabla1903 »

recuperation wrote: 24 Oct 2019, 20:57 Now I am confused. You are running Linux. "C:\" is a windows term. It seems to be mounted as the c-folder.
Where is your operating system?
There is lacking information about from where your Linux starts. Without devices there is no Linux starting.
Yes. My OS is windows 10 and I'm using Ubuntu(Windows subsystem for Linux) on windows 10.

recuperation
Posts: 2719
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: No Harddisk Found

#8 Post by recuperation »

I doubt that your Linux subsystem gives you full system control.
Try running the Windows version of Testdisk on Windows 10.

blabla1903
Posts: 5
Joined: 16 Oct 2019, 01:53

Re: No Harddisk Found

#9 Post by blabla1903 »

recuperation wrote: 25 Oct 2019, 05:23 I doubt that your Linux subsystem gives you full system control.
Try running the Windows version of Testdisk on Windows 10.
Finally, thanks a lot :D . I somehow managed to recover my file thanks to you. I wish I could have done this process on Ubuntu because this way ıt requires too many unnecessary steps.

recuperation
Posts: 2719
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: No Harddisk Found

#10 Post by recuperation »

I am glad to hear about every success story!
There is a possibility to mark threads as solved. I don't know if you can do that for your own thread or if Christophe Grenier has to do it.

Locked