Differences between revisions 4 and 5
Revision 4 as of 2015-06-17 12:03:42
Size: 303
Editor: ?SusieCarsw
Comment:
Revision 5 as of 2015-06-17 14:30:53
Size: 1948
Comment: spamming fuckwit
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Hello, dear friend! My name is Reva. I smile that I could join to the entire globe. I live in France, in the south region. I dream to visit the different countries, to obtain familiarized with intriguing people.<<BR>><<BR>>
<<BR>><<BR>>
Check out my web-site ... [[http://tarotbase.com|wróżka uk]]
#language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: none-~
----
Since Wheezy, Debian kernel on x86 contain their own [[BootLoader]] called EFI stub. Therefore it is possible to load the kernel directly, without any additional bootloader (like grub-efi).

## If your page gets really long, uncomment this Table of Contents
## <<TableOfContents(2)>>

=== Copy the files ===
The UEFI firmware is only able to load files from the EFI partition (usually FAT). If you use a standard UEFI installation of Debian, you should copy the kernel and the initrd to /boot/efi. The best way to keep it up to date is to place a script in /etc/kernel/postinst.d/zz-update-efistub:
{{{#!highlight bash
#!/bin/sh
cp /vmlinuz /initrd.img /boot/efi/EFI/debian/
}}}
Make it executable and launch it manually:
{{{
chmod +x /etc/kernel/postinst.d/zz-update-efistub
./etc/kernel/postinst.d/zz-update-efistub
}}}

=== Add the boot entry ===
Replace the UUID with the one of your / partition, see the [[http://manpages.debian.net/cgi-bin/man.cgi?query=efibootmgr|efibootmgr manpage]] if you EFI partition is not /dev/sda1:
{{{
efibootmgr -c -g -L "Debian (EFI stub)" -l '\EFI\debian\vmlinuz' -u 'root=UUID=$UUID ro quiet rootfstype=ext4 add_efi_memmap initrd=\\EFI\\debian\\initrd.img'
}}}
You can check your new boot entry. Since EFI uses UCS2, it should look like this:
{{{
#efibootmgr -v
...
.i.n.i.t.r.d.=.\.E.F.I.\.d.e.b.i.a.n.\.i.n.i.t.r.d.
}}}

{{{#!wiki tip
If you were installing Debian from UEFI medium, `efibootmgr` should be installed by default. However, sometimes it can report that EFI variables are not supported. If you are '''sure''' that you have EFI partition, probably you need to download `efivar` package and modprobe `efivars` module.
}}}

## You can add other _helpful_ links here.
##== See also ==

----
## If this page belongs to an existing Category, add it below.
CategoryBootProcess

Translation(s): none


Since Wheezy, Debian kernel on x86 contain their own BootLoader called EFI stub. Therefore it is possible to load the kernel directly, without any additional bootloader (like grub-efi).

Copy the files

The UEFI firmware is only able to load files from the EFI partition (usually FAT). If you use a standard UEFI installation of Debian, you should copy the kernel and the initrd to /boot/efi. The best way to keep it up to date is to place a script in /etc/kernel/postinst.d/zz-update-efistub:

   1 #!/bin/sh
   2 cp /vmlinuz /initrd.img /boot/efi/EFI/debian/

Make it executable and launch it manually:

chmod +x /etc/kernel/postinst.d/zz-update-efistub
./etc/kernel/postinst.d/zz-update-efistub

Add the boot entry

Replace the UUID with the one of your / partition, see the efibootmgr manpage if you EFI partition is not /dev/sda1:

efibootmgr -c -g -L "Debian (EFI stub)" -l '\EFI\debian\vmlinuz' -u 'root=UUID=$UUID ro quiet rootfstype=ext4 add_efi_memmap initrd=\\EFI\\debian\\initrd.img'

You can check your new boot entry. Since EFI uses UCS2, it should look like this:

#efibootmgr -v
...
.i.n.i.t.r.d.=.\.E.F.I.\.d.e.b.i.a.n.\.i.n.i.t.r.d.

If you were installing Debian from UEFI medium, efibootmgr should be installed by default. However, sometimes it can report that EFI variables are not supported. If you are sure that you have EFI partition, probably you need to download efivar package and modprobe efivars module.


CategoryBootProcess