Grub install linux uefi

Bootloading with GRUB2

This page has been converted from the Fedora Project Wiki and cleaned up for publishing here on the Fedora Docs Portal, but it has not yet been reviewed for technical accuracy. This means any information on this page may be outdated or inaccurate. Reviews for technical accuracy are greatly appreciated. If you want to help, see the README file in the source repository for instructions.

GRUB2 is the latest version of GNU GRUB, the GRand Unified Bootloader. A bootloader is the first software program that runs when a computer starts. It is responsible for loading and transferring control to the operating system kernel. In Fedora, the kernel is Linux. The kernel then initializes the rest of the operating system.

GRUB2 is the follower of the previous version GRUB (version 0.9x). The original version is available under the name GRUB Legacy.

Since Fedora 16, GRUB2 has been the default bootloader on x86 BIOS systems. For upgrades of BIOS systems, the default is also to install GRUB2, but you can opt to skip bootloader configuration entirely.

Discovering the firmware type

To discover what firmware your machine uses, run the following command:

$ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

The output returns only UEFI or BIOS, depending on the firmware your machine runs.

Installing GRUB2 on a BIOS system

Normally, GRUB2 will be installed and set up by the installer, Anaconda, during the installation process. You will probably never have to deal with manual installation of GRUB2. However, in certain situations , you will want to install GRUB2 manually, especially if you need to repair the existing GRUB2 installation or you want to change its configuration.

Читайте также:  Acl права доступа linux

This procedure shows the steps to install GRUB2 on your Master Boot Record (MBR) of your primary hard disk.

  • Make sure you have the the GRUB2 packages and the os-prober package installed in your system.
$ dnf list installed | grep grub

Источник

Bootloading with GRUB2

This page is currently in the process of revision. If you find any weaknesses in the content, please let us know. Use the right button below the blue header banner.

GRUB2 is the latest version of GNU GRUB, the GRand Unified Bootloader. A bootloader is the first software program that runs when a computer starts. It is responsible for loading and transferring control to the operating system kernel. In Fedora, the kernel is Linux. The kernel then initializes the rest of the operating system.

GRUB2 is the follower of the previous version GRUB (version 0.9x). The original version is available under the name GRUB Legacy.

Since Fedora 16, GRUB2 has been the default bootloader on x86 BIOS systems. For upgrades of BIOS systems, the default is also to install GRUB2, but you can opt to skip bootloader configuration entirely.

Discovering the firmware type

To discover what firmware your machine uses, run the following command:

$ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

The output returns only UEFI or BIOS, depending on the firmware your machine runs.

Installing GRUB2 on a BIOS system

Normally, GRUB2 will be installed and set up by the installer, Anaconda, during the installation process. You will probably never have to deal with manual installation of GRUB2. However, in certain situations , you will want to install GRUB2 manually, especially if you need to repair the existing GRUB2 installation or you want to change its configuration.

Читайте также:  Линукс запуск файла через терминал

This procedure shows the steps to install GRUB2 on your Master Boot Record (MBR) of your primary hard disk.

  • Make sure you have the the GRUB2 packages and the os-prober package installed in your system.
$ dnf list installed | grep grub

Источник

Оцените статью
Adblock
detector