Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Back story:
I'm working on a ~1 TB disk that was loaded with all kinds of images and documents that lost it's HFS+ partition table. The person for which I'm doing the favor of running scalpel says it's likely there's 90GB of stuff. Somehow, the disk got relabeled/MBR changed to some FAT variant that works on the whole Terrabyte.
Attempts to recover the partition info failed.
My first try with scalpel finds more than 90GB of image file headers alone and that blows through all of my storage. Of the headers found and recovered as images, a simple test shows most of the image files are broken. The cluster size option does not work if I use it by itself. It errors out before it gets going.
Problem:
I want to speed things up and skip the countless broken image files. Does anyone know if the skip option will help my situation?
What did you use for trying to recover the partition table? Testdisk has been my tool of choice and I've had good success with it.
As for image and file recovery, I typically stick to Photorec (part of the testdisk suite) and foremost. photorec seems to do a pretty good job of piecing images back together.
What did you use for trying to recover the partition table? Testdisk has been my tool of choice and I've had good success with it.
As for image and file recovery, I typically stick to Photorec (part of the testdisk suite) and foremost. photorec seems to do a pretty good job of piecing images back together.
Yeah, testdisk was a non-starter. Maybe the HFS+ file system recovery magic isn't perfect.
I'm running foremost now and will try photorec if my disk fills up again.
I'm still wondering if there's anyone that knows the benefits/tricks of the skip option
To be honest, I've never heard of scalpel (can you post a link, because I can't seem to find it either). At first I thought it was a clone of foremost, but it may not be.
I was going to recommend foremost, because it does tend to recover intact files (there is an option to recover broken files as well).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.