On Red Hat-based systems (like RHEL, CentOS, or Fedora), using rd.break in GRUB is the correct first step to reset a forgotten root password. However, if pressing <kbd>Enter</kbd> after adding rd.break only brings you back to the normal login prompt, it usually means the system did not actually drop you into the emergency shell as expected.
Here’s how to properly reset the root password using rd.break:
Step-by-Step: Reset Root Password with rd.break
1. Interrupt GRUB at Boot
Restart your system.
As soon as the GRUB menu appears, press <kbd>e</kbd> to edit the boot entry.
2. Edit the Kernel Line
Find the line starting with linux or linux16 or linuxefi.
Append rd.break to the end of this line.
Remove rhgb and quiet if present (to see the boot process).
This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.