GRUB
GRUB is a powerful bootloader which can boot a variety of operation systems, including Unix, Linux and Windows. It is usually installed in the MBR of a disk. This article presents the method how to repair it if it is corrupted.
Above all, open a terminal or switch to a tty, then input commands below step by step:
- type
grub
to enter the interface of GRUB. - if separate
/boot
partition exists, inputfind /grub/stage1
; otherwise, inputfind /boot/grub/stage1
instead. - indicate the location for GRUB installation,
root (hdX, Y)
. - set up GRUB to
hdX
’s MBR,setup (hdX)
. - quit the GRUB program,
quit
.