blog: fsck/dd: publish

This commit is contained in:
Colin 2022-04-14 23:48:32 +00:00
parent c5a9bcf04b
commit 059f9051c5
1 changed files with 2 additions and 3 deletions

View File

@ -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.