https://docs.fedoraproject.org/en-US/quick-docs/grub2-bootloader/
command:
set set pager=1 ls set root=(hd0,msdos1)
insmod linux
insmod normal
normal
help set
GURB_TIMEOUT_STYLE=menu # hidden GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true # 保留上次選擇的kernel, /boot/grub/grubenv saved_entry GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rhgb quiet selinux=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true
Reset Password:
RHEL
rw init=/bin/bash enforcing=0 mount -o remount,rw / exec /sbin/init