efi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
efi [2012-11-04 18:32] – [EFI boot loader] jajcus | efi [2013-10-25 10:09] (current) – glen | ||
---|---|---|---|
Line 9: | Line 9: | ||
Requirements: | Requirements: | ||
- | * (U)EFI platform (e.g. an IBM xSeries server with recent firmware) | + | * (U)EFI platform (e.g. an IBM xSeries server with recent firmware |
* A disk with [[GUID Partition Table]] | * A disk with [[GUID Partition Table]] | ||
* EFI bootloader (e.g. GRUB2 built for EFI platform, ELILO or Xen or Linux kernel built as an EFI image) | * EFI bootloader (e.g. GRUB2 built for EFI platform, ELILO or Xen or Linux kernel built as an EFI image) | ||
Line 28: | Line 28: | ||
The boot loaders with EFI support are: **ELILO** and **GRUB2**. | The boot loaders with EFI support are: **ELILO** and **GRUB2**. | ||
+ | |||
+ | === No bootloader === | ||
+ | |||
+ | Recent Linux kernel (since 3.3) can boot directly from EFI with no extra boot loader. Also Xen hypervisor can be booted this way (in fact Xen may misbehave if booted under EFI other way). See below. | ||
=== ELILO === | === ELILO === | ||
Line 46: | Line 50: | ||
* install the **grub2** and **grub2-platform-efi** and **efibootmgr** packages. Most probably the x86_64 version of **grub2-platform-efi** package will be needed, as most modern EFI firmwares run 64-bit. | * install the **grub2** and **grub2-platform-efi** and **efibootmgr** packages. Most probably the x86_64 version of **grub2-platform-efi** package will be needed, as most modern EFI firmwares run 64-bit. | ||
* make sure your EFI system partition is mounted at /boot/efi | * make sure your EFI system partition is mounted at /boot/efi | ||
- | * issue '' | + | * issue '' |
- | If the ' | + | If the '' |
GRUB can also be used for network booting, but version 2.00-1 times out on large initramfs images (this makes PLD Rescue boot impossible). | GRUB can also be used for network booting, but version 2.00-1 times out on large initramfs images (this makes PLD Rescue boot impossible). | ||
- | === no bootloader === | + | === The default |
- | Recent Linux kernel can boot directly from EFI with no extra boot loader. Also Xen hypervisor | + | Normally the EFI firmware holds a list of configured |
+ | |||
+ | Unfortunately, | ||
==== EFI-compatible kernel ==== | ==== EFI-compatible kernel ==== | ||
Line 65: | Line 71: | ||
PLD Linux kernels have all those features enabled. | PLD Linux kernels have all those features enabled. | ||
+ | |||
+ | == Configuring standard PLD kernel boot == | ||
+ | |||
+ | To set up kernel boot via EFI with no other boot loader: | ||
+ | |||
+ | * install your kernel and make sure you have a valid ''/ | ||
+ | * install [[# | ||
+ | * update / | ||
+ | * run [[# | ||
=== Xen === | === Xen === | ||
Line 81: | Line 96: | ||
More information in the [[http:// | More information in the [[http:// | ||
+ | |||
+ | ===== efi-shell ===== | ||
+ | |||
+ | Instead of loading a boot loader and starting the operating system one may wish to enter the EFI shell. The EFI shell is often not | ||
+ | included in the system firmware and must be installed separately. For convenience, | ||
+ | |||
efi.1352050330.txt.gz · Last modified: 2012-11-04 18:32 by jajcus