I have used the below method for trying to reset the root password but it's not working
Please see attached picture. I never get a hash sign when I type the commands.
The root password is long gone with the old system admin and I really need to get into this VM.
- Restart the system.
- At the boot: prompt, enter
boot -s
to enter Single User Mode. - When asked what shell to use, press the Enter key.
- Because the root filesystem will be mounted read-only by default, you will need to remount it using the
mount -ruw /
command to give yourself read/write access. - Run
mount -a
to remount all filesystems specified in the /etc/fstab file. - Run
passwd
root to set a new root password. - Run
exit
to continue booting normally.
Please see attached picture. I never get a hash sign when I type the commands.
The root password is long gone with the old system admin and I really need to get into this VM.