Professional Documents
Culture Documents
How To Reinstall GRUB Loader On Oracle Linux 5 and 6
How To Reinstall GRUB Loader On Oracle Linux 5 and 6
How to Re-install GRUB Loader on Oracle Linux 5/6 (Doc ID 1920748.1) To Bottom
Goal Yes
No
Symptoms
Solution
Document Details
For native Oracle Linux:
For Oracle Linux on Engineered System Exadata:
Type:
HOWTO
Status:
PUBLISHED
Last Major
Aug 4, 2018
Update:
Aug 4, 2018
Last Update:
APPLIES TO:
Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.5 [Release OL5 to OL6U5] Related Products
Exalytics In-Memory Machine X3-4
Linux OS
Exalogic Elastic Cloud X3-2 Hardware - Version X3 to X3 [Release X3] Exalytics In-Memory Machine
Linux x86 X3-4
Linux x86-64 Exalogic Elastic Cloud X3-2
Hardware
Oracle Cloud Infrastructure
GOAL
Information Centers
Under some rare conditions, you may get a GRUB loader corruption.
Information Center: Exalytics
This article illustrates how to re-install the GRUB loader on Oracle Linux 5 or 6. In-Memory Machine X3-4
[2288526.2]
2) Boot the server into rescue mode using installation DVD, and check the header of the booting disk
Document References
If the GRUB loader is corrupted: No References available for this
document.
# file -s /dev/sda
/dev/sda: x86 boot sector; partition 1: ID=0x83, active, starthead 1, startsector 63, 64998927 sectors;
Recently Viewed
partition 2: ID=0x82, starthead 254, startsector 64998990, 2104515 sectors
Exalogic: How To Boot A
While a good one looks like: Compute Node To Single
User Mode [2056830.1]
# file -s /dev/sda Exalogic Virtual: Procedure
/dev/sda: x86 boot sector; partition 1: ID=0x83, active, starthead 1, startsector 63, 64998927 sectors; For Replacing Infiniband HCA
partition 2: ID=0x82, starthead 254, startsector 64998990, 2104515 sectors, code offset 0x48 Card On Dom0 Compute
Nodes [1621976.1]
Oracle Exadata Database
The output may vary from different releases, but the key point is that the first output is missing 'code offset 0x48', which is a Machine exachk or
indicator of GRUB Stage 1 code. HealthCheck [1070954.1]
Exalogic X4-2 & X5-2
SOLUTION Solaris Compute Nodes
Kernel Panic Due To Old IB
HCA FW Version [2174550.1]
For native Oracle Linux: ibqueryerrors Reports
SymbolErrors on One or
Let's assume that the booting disk is sda, the / partition is sda2, and /boot partition is sda1. More of the IB switch or HCA
port [1988445.1]
1) Boot the server into rescue mode, and mount the filesystem automatically, Please refer to: How to Boot Oracle Linux into Show More
Rescue Mode
The / partition would be mounted under /mnt/sysimage automatically.
If not, mount it manually:
2) Mount the /boot partition and /dev manually, to prepare the chroot environment:
1 of 2 2/25/2019, 1:23 PM
Document 1920748.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=18...
# chroot /mnt/sysimage
# grub-install /dev/sda
2) Mount the /boot partition and /dev manually, to prepare the chroot environment
# grub-install /dev/sda
Reboot the server and you should able to see the GRUB menu back.
Related
Products
Oracle Linux and Virtualization > Oracle Linux > Operating System > Linux OS > Linux Kernel > Generic kernel issues (sched, init, etc)
Sun Microsystems > Specialized Systems > Middleware Systems > Exalytics In-Memory Machine X3-4 > BOOT > OS
Sun Microsystems > Specialized Systems > Middleware Systems > Exalogic Elastic Cloud X3-2 Hardware > Errors or Missing Components > Other
Oracle Cloud > Oracle Infrastructure Cloud > Oracle Bare Metal Infrastructure Services > Oracle Cloud Infrastructure
Keywords
GRUB; LINUX; LOADER; MISSING
Back to Top
Copyright (c) 2019, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
2 of 2 2/25/2019, 1:23 PM