Show Table of Contents
为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。
9.3. 安装 GRUB
如果在安装过程中 GRUB 没有被安装,它也可以在之后安装。一旦被安装,它自动就变为缺省的引导装载程序。
在安装 GRUB 之前,请确保使用最新的 GRUB 软件包或者使用安装光盘里的软件包。关于安装软件包的说明,请参考《Red Hat Enterprise Linux Deployment Guide》里的“用 RPM 管理软件包”》章节。
Once the GRUB package is installed, open a root shell prompt and run the command
/sbin/grub-install <location>
, where <location> is the location that the GRUB Stage 1 boot loader should be installed. For example, the following command installs GRUB to the MBR of the master IDE device on the primary IDE bus:
/sbin/grub-install /dev/hda
下次系统引导的时候,GRUB 图形化引导装载程序菜单会在内核载入内存之前出现。
重要
如果 GRUB 被安装在 RAID 1 阵列里,出现磁盘故障时系统可能不能启动。下面的 URL 提供了一个在线的不被支持的解决方法:
为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。