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.

Starting MySQL on-demand on Debian using systemd socket activation

How to make MySQL on Debian start only when a connection to the unix socket at /run/mysqld/mysqld.sock is made. Continue reading

Cannot modify header information

Published on November 08, 2018

Uhm, no.

Published on October 28, 2018