I tried many ways to recover that file also, I don't find solution of it. When I open it on windows or Linux system via SD card reader or USB card reader it only shows one boot partition containing all those files that are usually reside when we first time write SD card with raspbian operating system.
I also tried this solution that is given in answer but it didn't work:
when I paste this command in terminal:
Code: Select all
sudo fdisk -l /dev/sdbThen I used
Code: Select all
sudo e2fsck /dev/sdb2So the next commandrootfs: **** WARNING: Filesystem still has errors *****
Code: Select all
sudo mount /dev/sdb2 /mnt/.mount: /mnt/whatever: mount point does not exist
Is there any way to recover that programming file. If yes kindly provide me solution of that. I will be very thankful to one who solve my problem!