blog: fsck/dd: publish
This commit is contained in:
parent
c5a9bcf04b
commit
059f9051c5
|
@ -1,8 +1,7 @@
|
|||
+++
|
||||
title = "Rescuing a Broken EXT4 System With Ext4Magic and dd"
|
||||
title = "Rescuing a Broken EXT4 System with Ext4Magic and dd"
|
||||
date = 2022-04-14
|
||||
description = "for those poor fools who run `fsck --auto-fix`"
|
||||
extra.hidden = true
|
||||
+++
|
||||
|
||||
while i was setting up this machine, i made some mistakes along the way and observed the dreaded fsck messages on boot:
|
||||
|
@ -227,7 +226,7 @@ $ sudo truncate --size=3528 recovered/ext/passwd
|
|||
because `dd` copies the whole block, we have that additional step of truncating the file to its original size.
|
||||
|
||||
|
||||
## Bringing it Together
|
||||
## Bringing It Together
|
||||
|
||||
we've successfully recovered (into the `recovered` directory):
|
||||
1. all unlinked directory entries.
|
Loading…
Reference in New Issue