Debian Single user mode Hack - DefiantCoder/Tech-Journals GitHub Wiki

  1. First restart the machine

  2. during the restart press spacebar to enter the menu

    • Go to the advanced options and press enter
  3. select the first option using the e key

  4. Look for the line linux ... quiet spash

  5. enter single init=/bin/bash

  6. ctl + x

  7. mount -rw -o remount /

  8. passwd Enter and renter your password

  9. df -h for debugging

  10. sync

  11. 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***