Debian Single user mode Hack - DefiantCoder/Tech-Journals GitHub Wiki
-
First restart the machine
-
during the restart press spacebar to enter the menu
- Go to the advanced options and press enter
-
select the first option using the
e
key -
Look for the line
linux ... quiet spash
-
enter
single init=/bin/bash
-
ctl + x
-
mount -rw -o remount /
-
passwd
Enter and renter your password -
df -h
for debugging -
sync
-
umount /
*** if your hardirive is full find out through df -h
you can find out what is taking up the space with ls -lh
and you can clear the file using echo > filename
***