Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

OCI - How to Manually Boot From OL7 Grub2 Prompt 

edited Nov 8, 2024 9:38AM in Linux

Applies to

Oracle Cloud Infrastructure

Oracle Linux 7 x86-64  

 

Goal 

After a system reboot, the system is inaccessible because it is waiting for user intervention in Grub2's prompt: 

         Minimal BASH-like line editing is supported. For the first word, 
         TAB lists possible command completions. Anywhere else TAB lists 
         possible device or file completions. 
    grub>  

This document will explain how to manually boot an Oracle Linux 7 system from Grub2's prompt. 

 

 

Solution 

For Grub2 to be able to access some content, modules will need to be loaded: 

grub> insmod gzio 
grub> insmod part_gpt 
grub> insmod xfs 
grub> 

Then, validate if Grub2 is able to "see" the storage devices. This can be achieved with the "ls" command and an output similar to the below should be received: 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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