How do I reset my root password on Debian Server Using GRUB ?
Reboot your Server/Desktop.
1)Press Escape to see your boot menu while booting your server.
2)Choose the kernel you want to boot.
3)Press “e” for edit.
4)Type in the following line after a space on the kernel line.
single init=/bin/bash
5)Press enter key and then press “b” to boot that kernel, this will take you into single user mode+
6)Now Mount your Server in Read-Write mode using mount command
mount -o remount / rw
7)Reset your root password.
passwd root
Leave a Reply
You must be logged in to post a comment.