Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So I deleted something very important accidentally almost 12 hours ago and I finally made progress. After all the files said they were extracted the folder was empty.
$ sudo foremost -t all -v -i /dev/sdb1 -o /Desktop/recover/
So Im not sure where you mean to place [chown] and [uid]?
I haven't watched the whole video so I have no clue what you're talking about.
The command I gave above will change the ownership of the file in ~/Desktop to your user so that you can access the contents and it should be run independently.
Is not a valid path, use /home/your_username/Desktop/recover or ~/Desktop/recover. You can use the chown command as posted to change ownership from root to your username. This will remove the "lock".
I assume that you inadvertently deleted a file on your Android device and now attempting to recover it. It would of helped us provide better answers if you had posted your actual problem. One suggestion would be to make a copy of your SD card as an image to keep from accidentally overwriting anything.
Is not a valid path, use /home/your_username/Desktop/recover or ~/Desktop/recover. You can use the chown command as posted to change ownership from root to your username. This will remove the "lock".
I assume that you inadvertently deleted a file on your Android device and now attempting to recover it. It would of helped us provide better answers if you had posted your actual problem. One suggestion would be to make a copy of your SD card as an image to keep from accidentally overwriting anything.
Is this a phone or tablet?
Im on Ubuntu 13.10 Alcatel One Touch Fierce 2 (Thats Android 4.2.x phone)
That was a very helpful suggestion to copy my SD card image. Im recopying the data with the pathname /home/uid/Desktop/recover it is showing the same results so I will now see if I can just chown it once finished and post back with results.
I was thinking wouldnt ddrescue be a more viable option for disk recovery from a USB on Linux if this doesnt go through? Thanks for your response.
With ddrescue you can create an image of the disk. foremost, testdisk or testdisk can be run on the mounted image versus the disk.
Hopefully the deleted file is on the memory card versus the phone's internal memory.
I suspect since where I record videos are saved on the sd card theyd be recovered from there as well do you have any additional input?
If the data is on the internal memory Im completely screwed with Ubuntu I'll just have to create a Windozer disc or possibly see if ddrescue is the solution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.