Kali Linux reset root password

Kali

Hello bad memory

So to reset kali linux

Once grub display hit (E) to edit

add init to bin/bash

Exmple : linux /boot/vmlinuz-version root=UUID=hex ro quite init=/bin/bash

hit Ctrl + X to boot

reset the password and on some other cases you have to remount the file system to be able to write so you can simply

mount -o remount,rw /
passwd

then

sync

and reboot physical as it will not understand the /bin/bash init

Gratz.