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.
OK, i did create my_file.img with dd command
and fsck my_file.img
then what next in order to see my file?
Code:
mount -r -o loop my_file.img /mnt/tmp
In place of "/mnt/tmp" you can use any existing (preferably empty) directory. The "-r" (read-only) is for safety. Omit it if you really want read/write access to that image.
At this point in the game, there is a good chance that the heads are starting to crash on this drive. It is ill advised to be trying to repair anything on the original drive, as it has a very good chance of making things worse. The first and wisest course of action is to get a full sector-by-sector copy of the drive (if you can) with ddrescue, logging the sectors that are not accessible. If your data is of any value at all and/or you run into issues reading the drive, you should consider seek the assistance of a data recovery professional who has the facilities to safely recover your data.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.