fsck: Recover broken file system without root password

Recently my notebook crashed while resuming from hibernate and the fsck-check on the boot afterwards failed. But as intelligent as I am, I did not set a root password (yet), so I couldn’t enter maintenance mode to run fsck to fix the file system.

After some research I found a quick-and-dirty solution to my problem: Just add init=/bin/bash to your GRUB kernel command line (cf.) and run fsck there :D

Christoph Schulz

Christoph Schulz

Christoph Schulz
I am Dev. Maybe.

Blog

In this post I would like to write about how I would like to change the functionand design of my blog.While I do not dislike the current ...… Continue reading

Malware-Protection without App Stores

Published on August 05, 2018