Red Hat Training

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

9.2.2. Особенности GRUB

GRUB обладает некоторыми особенностями, которые делают его более предпочтительным по сравнению с другими загрузчиками. Ниже приведены наиболее важные возможности:
  • GRUB обеспечивает полноценное окружение командной строки для x86, что обеспечивает гибкость в загрузке разных операционных систем с заданными параметрами или при сборе сведений о системе. На протяжении долгого времени архитектуры, отличные от x86, используют независимые окружения, которые позволяют выполнить загрузку системы из командной строки.
  • GRUB supports Logical Block Addressing (LBA) mode. LBA places the addressing conversion used to find files in the hard drive's firmware, and is used on many IDE and all SCSI hard devices. Before LBA, boot loaders could encounter the 1024-cylinder BIOS limitation, where the BIOS could not find a file after the 1024 cylinder head of the disk. LBA support allows GRUB to boot operating systems from partitions beyond the 1024-cylinder limit, so long as the system BIOS supports LBA mode. Most modern BIOS revisions support LBA mode.
  • GRUB can read ext2 partitions. This functionality allows GRUB to access its configuration file, /boot/grub/grub.conf, every time the system boots, eliminating the need for the user to write a new version of the first stage boot loader to the MBR when configuration changes are made. The only time a user needs to reinstall GRUB on the MBR is if the physical location of the /boot/ partition is moved on the disk. For details on installing GRUB to the MBR, refer to Раздел 9.3, «Установка GRUB».