Comments (6)
Additional information about environment
- Ubuntu 22.04 and Debian 11 are available
aarch64
processortestdisk
detects ReiserFS 3.6 with standard journal and blocksize 4096 b, also disk size is normaltestdisk
determines ReiserFS need recoveryreiserfsck --rebuild-sb
ends withUnknown code er3k 127
from testdisk.
progsreiserfs and reiserfsprogs are not the same library. ReiserFS is deprecated in the Linux kernel and AFAIK nobody want to maintain progsreiserfs or reiserfsprogs.
It may be easier to put the disk(s) in an x86-64 computer and run the testdisk-7.2-WIP binary provided on www.cgsecurity.org
from testdisk.
progsreiserfs and reiserfsprogs are not the same library.
Thanks, @cgsecurity , I haven't knew.
ReiserFS is deprecated in the Linux kernel and AFAIK nobody want to maintain progsreiserfs or reiserfsprogs.
Yes, there is old and mainly stable non updatable functional in this packages. Only 2 crashes during 15+ years.
It may be easier to put the disk(s) in an x86-64 computer and run the testdisk-7.2-WIP binary provided on www.cgsecurity.org
Thanks, @cgsecurity , I' ll write about result.
from testdisk.
@cgsecurity , thanks for fast reply! testdisk-7.2-WIP works fine. Thanks for x86-64
compilation model and exec files. I consider you to publish full corresponding to x86-64
archive for aarch64
architecture, because there is only archive with libssp.so.0
unavailable on Ubuntu, Mint, Debian and Fedora.
In testdisk-7.2-WIP there is support of ReiserFS and it is detected on unpartitioned image with message "need recover", but list files
gives only message about possible damage. My Unknown code er3k 127
in reiserfsck
or other programs is popular message after 2019. Does testdisk supports some standard algorithms for this case or better switch to https://github.com/google/rescue-tools-reiserfs ?
from testdisk.
As testdisk is unable to list your files, you can try rescue-tools-reiserfs and/or photorec (shipped with testdisk).
from testdisk.
Hello, @cgsecurity !
My solution
Unknown code er3k 127
and other unknown codes from ReiserFS programs is because ReiserFS signature sector was damaged, other data is around normal state.- Make a file with
00
from/dev/zero
with some large size (100Mb..1Gb). - Format this file as ReiserFS with
mkreiserfs -f
. - Install
hexedit
. - View a file of new ReiserFS void image. Before
10000hex
byte should be00
only, then ReiserFS signature. - Edit backup image of damaged disk partition and copy exact signature from file of void ReiserFS image. Partition size will be not correct, but this will not a problem later.
reiserfsck --rebuild-sb
- rebuild ReiserFS superblock and journal. There will be little problems or no problems.reiserfsck --rebuild-tree -S
- repair inode stricture, search lost files and directories. Usually there will be little problems or no problems.- Some usual
reiserfsck
cycles andmount
repaired image to a place for data extracting and comparing.
Note: after step 7 testdisk
also can list files from ReiserFS.
Note 2: rescue-tools-reiserfs
and/or photorec
wasn't usefully because ReserFS can repair itself ;-) Also technological data from SQLite haven't good signatures for photorec
. Photorec
is wonderful tool for standard image format data extract from HDDs and SSDs.
Thanks for wonderful tools and many years of work with neuritic people who have risk of data loss or have already lost it, but have not come to terms with it!
from testdisk.
Related Issues (20)
- Testdisk recovers same files again and again in linux HOT 3
- Add ability to refresh directory in photorec
- Thank you!
- QPhotoRec: Improve File Format Window HOT 1
- when recover ibd file ,the ibd file is too large HOT 1
- NetCDF data recovery HOT 4
- README: incomplete list of PhotoRec formats
- Scriptable mode, similarly to Unix fdisk's sdisk binary
- Recover Partition from MBR partition table; which partition type to choose? HOT 1
- build failure in apfs_common.h HOT 2
- testdisk-7.2 fails to build with musl-1.2.5: hdaccess.c:1016:7: error: call to undeclared function 'basename'; ISO C99 HOT 3
- How to carve TIFF files HOT 2
- Support for this filesystem wasn't enabled during compilation. HOT 5
- Docx files are listed as zips
- [Feat.Req] more file extensions to recover
- Terra
- [Feature Request] Implement `/json` cli switch (and `testdisk.log.json` respectively) to ease integration with other forensic tools and allow restoring analysis state when (indeliberately) having quit testdisk
- Qphotorec don't work as normal user HOT 2
- Insta360 support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testdisk.