GRUB is the bootloader for most versions of the Linux operating system. With it, you can organize multi-boot and use several different OSs on one computer. For example, you can work under Linux, and after a reboot, relax using the game features of Windows. Unfortunately, in the life of any user there are times when, for various reasons, it may be necessary to restore the bootloader. In this article, we will talk about the most likely causes of this phenomenon and how to restore normal computer operation.
OS bootloader features
, . , - POST. , .
, , , , , , . .
:
GRUB
, Linux GRUB, GRUB 2. , GRUB Legacy, . .
, GRUB. Windows 7, Microsoft, , , , . GRUB .
, Linux Windows, Linux. .
, Windows 7 . , :
GRUB. Windows, Linux, , , . , , . , GRUB, .
, . GRUB. Ubuntu , . LiveCD Linux, , .
LiveCD Linux, . . , , .
GRUB. . , , CD/DVD , , LiveCD . , , USB- – .
, . BIOS .
– LiveCD. , Linux. . «». Linux :
sudo fdisk -l
, , Linux. sda5. – . , :
sudo mount /dev/sda5 /mnt
:
sudo grub-install --root-directory=/mnt /dev/sda
, :
Installation finished. No error reported.
, GRUB. . Linux, . . «» :
sudo update-grub
root. GRUB. , .
As you can see, there is nothing complicated in this operation. All actions are performed in normal graphics mode. You can consider yourself to have passed the “baptism of fire” and entered the Linux army.