linux:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:start [2026/04/26 22:16] – [Data recovery] mhlinux:start [2026/04/26 22:17] (current) mh
Line 487: Line 487:
 It often reduces file size, especially with image-heavy PDFs, but this is not guaranteed. It often reduces file size, especially with image-heavy PDFs, but this is not guaranteed.
 </WRAP> </WRAP>
- 
- 
- 
- 
-====== Specialized & Recovery ====== 
- 
-===== Data recovery ===== 
- 
-Use **TestDisk** / **PhotoRec** as a first recovery tool. 
- 
-  * **TestDisk** attempts partition repair and file undelete when filesystem metadata is still usable. 
-  * **PhotoRec** performs file carving by signature. It can recover files from damaged filesystems, but filenames and folder structure are usually lost. 
- 
-Do not write recovered files to the source disk. 
- 
-==== PhotoRec: recovered MOV files ==== 
- 
-For some recovered ''.mov'' files, PhotoRec may split the video into separate ''ftyp'' and ''mdat'' parts. 
- 
-In PhotoRec ''FileOpts'', enable: 
- 
-<code> 
-[X] mov/mdat Recover mdat atom as a separate file 
-</code> 
- 
-Sort recovered files by name, then try concatenating matching parts: 
- 
-<code bash> 
-cat f123_ftyp.mov f456_mdat.mov > recovered_1.mov 
-cat f456_mdat.mov f123_ftyp.mov > recovered_2.mov 
-</code> 
- 
-One order may produce a usable file. 
- 
-Sometimes the header/container part may be ''.mp4'' while the media data part is ''.mov'': 
- 
-<code bash> 
-cat f54114560.mp4 f51781632_mdat.mov > recovered.mov 
-</code> 
- 
-Note: This is a recovery attempt, not a guaranteed repair method. For valuable data, stop using the disk immediately and clone/image it before experimenting. 
- 
  
 ===== Video playback (minimal UI) ===== ===== Video playback (minimal UI) =====
Line 580: Line 538:
 osdlevel=0 osdlevel=0
 </code> </code>
 +
 +
 +
 +====== Specialized & Recovery ======
 +
 +===== Data recovery =====
 +
 +Use **TestDisk** / **PhotoRec** as a first recovery tool.
 +
 +  * **TestDisk** attempts partition repair and file undelete when filesystem metadata is still usable.
 +  * **PhotoRec** performs file carving by signature. It can recover files from damaged filesystems, but filenames and folder structure are usually lost.
 +
 +Do not write recovered files to the source disk.
 +
 +==== PhotoRec: recovered MOV files ====
 +
 +For some recovered ''.mov'' files, PhotoRec may split the video into separate ''ftyp'' and ''mdat'' parts.
 +
 +In PhotoRec ''FileOpts'', enable:
 +
 +<code>
 +[X] mov/mdat Recover mdat atom as a separate file
 +</code>
 +
 +Sort recovered files by name, then try concatenating matching parts:
 +
 +<code bash>
 +cat f123_ftyp.mov f456_mdat.mov > recovered_1.mov
 +cat f456_mdat.mov f123_ftyp.mov > recovered_2.mov
 +</code>
 +
 +One order may produce a usable file.
 +
 +Sometimes the header/container part may be ''.mp4'' while the media data part is ''.mov'':
 +
 +<code bash>
 +cat f54114560.mp4 f51781632_mdat.mov > recovered.mov
 +</code>
 +
 +Note: This is a recovery attempt, not a guaranteed repair method. For valuable data, stop using the disk immediately and clone/image it before experimenting.
 +
 +
  
 ===== Using Apple USB SuperDrive ===== ===== Using Apple USB SuperDrive =====
  • linux/start.txt
  • Last modified: 2026/04/26 22:17
  • by mh