Recovery root password fedora 41

Hi, i am trying to reset root password follwed this guide: hhttps://docs.fedoraproject.org/en-US/quick-docs/reset-root-password/, on fedora VM (relase 41) for rescue mode the points mentioned in the guide are as follows:

  1. Select the boot entry you wish to edit with the arrow keys.
  2. Select the entry you wish to edit by pressing e .
  3. Use the arrow keys to go to select the line beginning with linux , linux16 , or linuxefi .
  4. Go the the end of that line and include a space and the following rw init=/bin/bash .
  5. Press Ctrl-x or F10 to boot the entry
  6. Run the command: passwd, You will be prompted to enter the new root password twice.
  7. Restore the SELinux context and permissions with: touch /.autorelabel
  8. Reboot the machine with: /sbin/reboot -f

i tried to do this points but its don’t work because after execute the VM reboot and i try to login with the root user, say to me password login incorrect. I specify that i follwed the guide step by step. Can someone help me figure out how to reset/recover the root password using the procedure from the bootloader menu? (I need for the Red Hat RHCSA exam)

Today Fedora use only sudo, su is obsolete!