Changes

Jump to: navigation, search

UEFI Install Guide

742 bytes added, 5 years ago
no edit summary
(kernel options that you want to pass go here)
}}
{{note|Commands that you would normally pass, such as, for example <code>video{{=}}uvesafb:1920x1080-32,mtrr:3,ywrap</code>, should be put here. In other words, anything that you would normally add to <code>/etc/boot.conf</code> after <code>params +{{=}}</code> should be added here to the built-in kernel command line as well.}}
If your system requires an initramfs to boot, do not worry, you can build that in to the kernel. One thing that you should know, however, is that the kernel only takes plaintext and <code>.cpio</files> for initramfs source files. Therefore, if you use an application to generate an initramfs for you, make sure that it does not use gzip compression:
{{kernelop|title=General setup|desc=
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
(/path/to/initramfs/file.cpio)
}}
 
==== Building and installing the kernel ====
After you have configured your kernel, build it, install it to <code>/boot</code>, and then create a copy of the image to store in the EFI boot directory:
<console>
###i## pwd
/usr/src/linux
###i## make -jn
###i## make -jn install modules_install
###i## mkdir -vp /boot/EFI/Boot
###i## cp -v /boot/ vmlinuz-x.x.x /boot/EFI/Boot/bootx64.efi
<console>
When you have finished all of this, you should be able to reboot.
=== Grub method ===
wiki-moderators
504
edits

Navigation menu