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.

How to deal with the meaninglessness of the world?

*A draft I've created some weeks ago. I've polished it a little bit andpublished it now.*God is Dead, Individualism won't save us, Social...… Continue reading