HELP! Im practising for RHCSA using resources from the Rapid track workbook and redhat's lab. Im doing the guided exercise on "Reset the Root password", after Ctrl-X , i ran the command "mount -o remount,rw /sysroot" but it says "mount : /sysroot: mount point not mounted or bad option", is this a problem with Redhat's VM or a mistake i made upstream ? Thanks in advance.
A few thoughts:
Did you select the rescue kernel?
Did you add the rd.break line and also remove any 'console=' references in the line preceeding the rd.break command?
Depending on when you interrupt the boot process, it can be /sysroot or just / as in: https://learn.redhat.com/t5/Platform-Linux/Reset-forgotten-root-password-in-RHEL9/td-p/34114
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.