You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Oracle Linux - How to remove GRUB2 password

edited Feb 27, 2024 3:49AM in Linux

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!