User Tools

Site Tools


efi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
efi [2013-02-03 17:31]
glen
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 ​or a relatively modern laptop, like Lenovo B590)
   * 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 51: Line 55:
  
 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 === 
- 
-Recent Linux kernel 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. 
  
 === The default bootloader location === === The default bootloader location ===
Line 71: 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 ''/​boot/​initrd''​ for it
 +  * install [[#​efi-boot-update]]
 +  * update /​etc/​efi-boot/​update.d/​kernel.conf so it contains proper '​root='​ directive in $ARGS (required for Dracut-generated initrd)
 +  * run [[#​efi-boot-update]] (note, this will only work if already running via EFI)
  
 === Xen === === Xen ===
Line 92: Line 101:
 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  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,​ PLD Linux provides the **efi-shell-{ia32,​x64}** packages with pre-compiled EFI shell executables. These can be installed like a regular boot-loader – manually or with [[#​efi-boot-update]] included in the system firmware and must be installed separately. For convenience,​ PLD Linux provides the **efi-shell-{ia32,​x64}** packages with pre-compiled EFI shell executables. These can be installed like a regular boot-loader – manually or with [[#​efi-boot-update]]
- 
- 
  
  
efi.1359909100.txt.gz · Last modified: 2013-02-03 17:31 (external edit)