Installing in a UEFI way that won't get steam-rolled by Windows?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
TL;DR: Make an ESP of 512MiB. Let Windows have the space directly following that (or not ) You are going to get better results, if you have a proper mainboard.
EFISTUB is not a bootloader, it is a feature of kernel versions after 3.3 that allows the kernel to bootstrap itself without the assistance of a bootloader in an EFI system.
You cannot "install GRUB unto the ESP" -- GRUBEFI installs it's configuration files on the ESP and then writes an entry into the motherboard's NVRAM that loads the GRUB bootloader.
It is possible to write an NVRAM entry manually using the `efibootmgr` command (or `bcdedit` in a Windows system) and boot the kernel image directly with this (I use this method to boot my Arch & Debian systems).
A word of warning: on one of my laptops, if Windows installs in EFI mode the firmware (BIOS) will boot the Windows bootloader (located on the EFI system partition) regardless of any attempt to change the boot order or delete the NVRAM entry using `efibootmgr` or `bcdedit`; the firmware re-creates the NVRAM entry if the "Microsoft" directory is found on the ESP. It is still possible to select the other NVRAM entries but Windows will always boot by default on that machine.
@Head on a Stick: that's useful info, but btw, could you name which laptop model and manufacturer has that annoying behaviour so that we can all avoid it/them in the future if possible?
@Head on a Stick: that's useful info, but btw, could you name which laptop model and manufacturer has that annoying behaviour so that we can all avoid it/them in the future if possible?
JohnVV, I'm going to get to know my enemy As far as I can tell, on good hardware it's even possible to add your own white-listed keys, so any flavour of any OS can theoretically boot with SecureBoot. For Linux I will mainly attempt it for the fuuuuun of it. For Windows I'm keeping the option open version 10 requires SecureBoot. (Chances are high they won't actually require it.) Also for Windows I appreciate the advertised security from rootkits.
Quote:
Originally Posted by Head_on_a_Stick
EFISTUB is not a bootloader
That makes sense. Thanks for the clarification, I'll update the blog entry accordingly.
Quote:
Originally Posted by Head_on_a_Stick
You cannot "install GRUB unto the ESP" -- GRUBEFI installs it's configuration files on the ESP and then writes an entry into the motherboard's NVRAM that loads the GRUB bootloader.
As far as I gather GRUB will actually reside in the ESP. The NVRAM will then just hold a value that says GRUB is the thing to boot.
I'm still reading that article you linked, Head on a Stick, but I need some sleep now.
Thanks for the replies.
it's even possible to add your own white-listed keys, so any flavour of any OS can theoretically boot with SecureBoot. For Linux I will mainly attempt it for the fuuuuun of it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.