top of page
Search

Recovery boot of a DBaaS Instance after a root filesystem file corruption

  • Jason Beattie
  • Jan 7
  • 1 min read

Updated: Feb 11

Author: Jason Beattie


Log into console


  1. Navigate to Oracle base database service

  2. locate the relevant Instance.

  3. Select Console Connection

  4. Create Console Connetion-generate keys.

  5. Copy the SSH String.

Open cloud Shell


  1. Create the private key within cloud shell.

  2. Paste the SSH String and Connect.

  3. Reboot the dbaas Instance

  4. From Cloud Shell you will see the server booting.

  5. When the robot Starts you will see a boot manager menu. Highlight The Top boot option and press e

  6. In edit mode, use the down arrow key to scroll down through the entries until you reach the line that starts with the following value, depending on the version of Linux:


    • For instances running Oracle Autonomous Linux 8.x, Oracle Autonomous Linux 7.x, Oracle Linux 8.x, and Oracle Linux 7.x, scroll down until you reach the line that starts with linuxefi.

    • For instances running Oracle Linux Cloud Developer 8.x, scroll down until you reach the line that starts with linux.


  7. At the end of the line add the following: init=/bin/bash

  8. reboot the instance by using the keyboard Shortcut CTRL+X wait for the Instance to boot into Bash

  9. Enter /usr/sbin/load_policy -i

  10. Enter the following: /bin/mount -o remount, rw /

  11. Make changes to the configuration files as needed...

  12. To complete the recovery enter exec /usr/lib/systemd/systemd

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
Post: Blog2 Post
  • LinkedIn

©2023 Proudly created with Wix.com

bottom of page