Difference between revisions of "Debian: single mode & reset password root"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "* 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):/#...")
 
 
Line 1: Line 1:
 
* First screen - grub - press e
 
* First screen - grub - press e
 
* Modify kernel line: add single between ro  quiet and at the end of this line add init=/bin/bash
 
* Modify kernel line: add single between ro  quiet and at the end of this line add init=/bin/bash
Press F10
+
* Press F10
 
* When the prompt is root@(none):/# you have to remount the / partition to have read-write access:
 
* When the prompt is root@(none):/# you have to remount the / partition to have read-write access:
  

Latest revision as of 19:19, 11 January 2022

  • 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!