blog: fsck/dd: publish
This commit is contained in:
@@ -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
|
date = 2022-04-14
|
||||||
description = "for those poor fools who run `fsck --auto-fix`"
|
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:
|
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.
|
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):
|
we've successfully recovered (into the `recovered` directory):
|
||||||
1. all unlinked directory entries.
|
1. all unlinked directory entries.
|
Reference in New Issue
Block a user