E.4. Troubleshooting GRUB


In most cases, GRUB will be installed and configured during the initial installation process, unless you used a Kickstart file and specifically disabled this behavior. The installed system should therefore be prepared to boot into your desktop environment or a command line, depending on your package selection. However, in certain cases it is possible that the system's GRUB configuration becomes corrupted and the system will no longer be able to boot. This section describes how to fix such problems.
When troubleshooting GRUB, keep in mind thatthe grub package does not automatically update the system boot loader when the package is updated using Yum or RPM. Therefore, updating the package will not automatically update the actual boot loader on your system. To work around this problem, use the grub-install command manually every time after the package is updated. See Section E.3, “Installing GRUB” for details about the command.

Important

GRUB cannot construct a software RAID. Therefore, the /boot directory must reside on a single, specific disk partition. The /boot directory cannot be striped across multiple disks, as in a level 0 RAID. To use a level 0 RAID on your system, place /boot on a separate partition outside the RAID.
Similarly, because the /boot directory must reside on a single, specific disk partition, GRUB cannot boot the system if the disk holding that partition fails or is removed from the system. This is true even if the disk is mirrored in a level 1 RAID. The following Red Hat Knowledgebase article describes how to make the system bootable from another disk in the mirrored set: https://access.redhat.com/site/articles/7094
Note that these issues apply only to RAID that is implemented in software, where the individual disks that make up the array are still visible as individual disks on the system. These issues do not apply to hardware RAID where multiple disks are represented as a single device.
The exact steps to fix a broken GRUB configuration will vary depending on what kind of problem there is. The GNU GRUB Manual offers a list of all possible error messages displayed by GRUB in different stages and their underlying causes. Use the manual for reference.
Once you have determined the cause of the error, you can start fixing it. If you are encountering an error which only appears after you select an entry from the GRUB menu, then you can use the menu to fix the error temporarily, boot the system, and then fix the error permanently by running the grub-install command to reinstall the boot loader, or by editing the /boot/grub/grub.conf or /boot/efi/EFI/redhat/grub.conf with a plain text editor. For information about the configuration file structure, see Section E.8, “GRUB Menu Configuration File”.

Note

There are two identical files in the GRUB configuration directory: grub.conf and menu.lst. The grub.conf configuration file is loaded first; therefore you should make your changes there. The second file, menu.lst, will only be loaded if grub.conf is not found.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat