Oracle Linux - How to remove GRUB2 password
Applies To:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64 on Oracle Public Cloud
GOAL
How to remove grub2 password
SOLUTION
To remove the grub2 password:
1)For BIOS based instances
Remove the user.cfg file from /boot/grub2/
$sudo rm -r /boot/grub2/user.cfg
2)For UEFI based instances
Remove the user.cfg file from /boot/efi/EFI/redhat/
$sudo rm -r /boot/efi/EFI/redhat/user.cfg
NOTE:- The file user.cfg can be moved if it is to be used in the future again.
Tagged:
0