Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

9.3. 安​​​​​​​裝​​​​​​​ GRUB

如​​​​​​​果​​​​​​​ GRUB 沒​​​​​​​有​​​​​​​在​​​​​​​安​​​​​​​裝​​​​​​​過​​​​​​​程​​​​​​​中​​​​​​​安​​​​​​​裝​​​​​​​,您​​​​​​​可​​​​​​​以​​​​​​​在​​​​​​​稍​​​​​​​後​​​​​​​再​​​​​​​安​​​​​​​裝​​​​​​​ GRUB。​​​​​​​在​​​​​​​安​​​​​​​裝​​​​​​​後​​​​​​​ GRUB 會​​​​​​​自​​​​​​​動​​​​​​​成​​​​​​​為​​​​​​​預​​​​​​​設​​​​​​​開​​​​​​​機​​​​​​​管​​​​​​​理​​​​​​​程​​​​​​​式​​​​​​​。​​​​​​​
在​​​​​​​安​​​​​​​裝​​​​​​​ GRUB 之​​​​​​​前​​​​​​​,請​​​​​​​確​​​​​​​定​​​​​​​您​​​​​​​是​​​​​​​使​​​​​​​用​​​​​​​最​​​​​​​新​​​​​​​的​​​​​​​ GRUB 套​​​​​​​件​​​​​​​或​​​​​​​者​​​​​​​是​​​​​​​安​​​​​​​裝​​​​​​​ CD-ROM 光​​​​​​​碟​​​​​​​中​​​​​​​的​​​​​​​ 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 陣​​​​​​​列​​​​​​​,系​​​​​​​統​​​​​​​將​​​​​​​因​​​​​​​磁​​​​​​​碟​​​​​​​錯​​​​​​​誤​​​​​​​而​​​​​​​造​​​​​​​成​​​​​​​無​​​​​​​法​​​​​​​開​​​​​​​機​​​​​​​。​​​​​​​您​​​​​​​可​​​​​​​以​​​​​​​參​​​​​​​照​​​​​​​下​​​​​​​列​​​​​​​網​​​​​​​址​​​​​​​中​​​​​​​的​​​​​​​解​​​​​​​決​​​​​​​方​​​​​​​法​​​​​​​,但​​​​​​​並​​​​​​​不​​​​​​​保​​​​​​​證​​​​​​​其​​​​​​​可​​​​​​​靠​​​​​​​性​​​​​​​: