CentOS - Repair bootloader after Raid1 first drive failed
... / CentOS - Repair bootloade...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

CentOS - Repair bootloader after Raid1 first drive failed

by
AdrianC3
Created on 2022-11-07 09:25:50 (edited on 2024-09-04 14:23:46) in Dedicated Servers

Hi guys,

CentOS dedicated server with Raid1 - 2 drives, sda and sdb.

/dev/sda1 failed, replaced by OHV tech. I then rebuilt the Raid1, all working fine now, data intact.

However, the server doesn't boot now. Need some help rebuilding the bootloader please.

Some information here:

root@rescue:/mnt# efibootmgr -v
BootNext: 0009
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0009,0008,0003,0000,0001,0002,0004
Boot0000* Enter Setup FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)
Boot0001 Boot Device List FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)$.I.B.T...
Boot0002 Network Boot FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)$.I.B.T...
Boot0003* UEFI IPv4: Intel I210 Network 00 at Baseboard ACPI(a0341d0,0)PCI(1d,2)PCI(0,0)MAC(MAC(a4bf011e32b8,0)N.....YM....R,Y.
Boot0004* UEFI IPv6: Intel I210 Network 00 at Baseboard ACPI(a0341d0,0)PCI(1d,3)PCI(0,0)MAC(MAC(a4bf011e32b9,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000N.....YM....R,Y.
Boot0005* Launch EFI Shell FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)
Boot0006* UEFI IPv4: Intel I210 Network 00 at Baseboard 2 ACPI(a0341d0,0)PCI(1d,3)PCI(0,0)MAC(MAC(a4bf011e32b9,0)N.....YM....R,Y.
Boot0007* UEFI IPv6: Intel I210 Network 00 at Baseboard 2 ACPI(a0341d0,0)PCI(1d,2)PCI(0,0)MAC(MAC(a4bf011e32b8,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000N.....YM....R,Y.
Boot0008* CentOS-SDA HD(1,800,ff800,15e7cbe2-5b08-41d8-9a8d-1ce6bac4a9a4)File(\EFI\centos\grubx64.efi)
Boot0009* CentOS-SDB HD(1,800,ff800,99930dab-2914-44d0-bbcf-503bf1d9bc61)File(\EFI\centos\grubx64.efi)

root@rescue:/mnt# ls -la /dev/disk/by-partuuid/
total 0
drwxr-xr-x 2 root root 200 Oct 30 09:19 .
drwxr-xr-x 7 root root 140 Oct 30 09:19 ..
lrwxrwxrwx 1 root root 10 Oct 30 09:24 07567c5f-6865-424b-9947-cb73f49cfefc -> ../../sda4
lrwxrwxrwx 1 root root 10 Oct 30 09:35 15e7cbe2-5b08-41d8-9a8d-1ce6bac4a9a4 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 30 09:24 2bc6e3ee-3c3f-4a3c-9ddb-76e2facd7abe -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 30 09:25 99930dab-2914-44d0-bbcf-503bf1d9bc61 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Oct 30 09:25 c9cd31af-a038-46e6-bb21-2cf2c6a519b5 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Oct 30 09:24 ddb86911-459a-4fac-9c95-6f367795d9a6 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 30 09:25 e3e4d6e9-b704-4c35-ab45-9dbfb12d85f4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Oct 30 09:25 fed0d89a-1af6-403a-aa75-e55792eec254 -> ../../sdb3

Any clues please?