如果在安装过程中 GRUB 没有被安装,它也可以在之后安装。一旦被安装,它自动就变为缺省的引导装载程序。
Before installing GRUB, make sure to use the latest GRUB package available or use the GRUB package from the installation CD-ROMs.
一旦 GRUB 软件包被安装了,打开一个根 shell 并运行 /sbin/grub-install <location>
命令,在这里 <location>
是 GRUB 第一阶段引导装载程序安装的位置。例如,下面的命令把 GRUB 安装到主 IDE 总线上的主 IDE 设备的 MBR 里:
/sbin/grub-install /dev/hda
下次系统引导的时候,GRUB 图形化引导装载程序菜单会在内核载入内存之前出现。
Important
If GRUB is installed on a RAID 1 array, the system may become unbootable in the event of disk failure.