Debian: single mode & reset password root

From OnnoWiki
Revision as of 19:19, 11 January 2022 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • First screen - grub - press e
  • Modify kernel line: add single between ro quiet and at the end of this line add init=/bin/bash
  • Press F10
  • When the prompt is root@(none):/# you have to remount the / partition to have read-write access:
mount / -rw -o remount
  • Now you are ready to modify the root password: type passwd and change it!