How to restore grub2

1) Boot a server in rescue mode2) Check partitions[root@rescue /]# fdisk -lDisk /dev/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: gptDisk identifier: 961524F0-9337-4FC8-B4AD-C65D8750BF58Device          Start        End    Sectors  Size Type/dev/sda1        2048    1048575    1046528  511M EFI System/dev/sda2 […]

Read More

How to restore grub bootloader

To restore grub bootloader you should boot the system using Live CD or Rescue mode the same operating system and architecture. For Example, Debian. Plug-in downloaded ISO and select boot from the disk After booting from the Debian LiveCD do all the settings on behalf of the superuser (root) or via sudo program. All the […]

Read More