|
From: | Pascal Hambourg |
Subject: | Re: UEFI: can running grub-install help after a motherboard change? |
Date: | Tue, 22 Feb 2022 23:28:13 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 |
Le 22/02/2022 à 20:54, Sébastien Hinderer a écrit :
Given that running grub-install had already been done with my former motherboard, does it make sense to run it again with the new motherboard? Does grub-install somehow interact with the motherboard to let it know it supports UEFI mode?
Yes and yes. The normal way of booting in UEFI mode requires to "register" the boot loader in the EFI boot variables which are stored in the motherboard non volatile memory. EFI boot variables can be read and written with efibootmgr.
A way to not depend on EFI boot variables is to install the boot loader in the "removable media path". You can do it with
grub-install --removable In Debian, you can use grub-install --force-extra-removableto install GRUB in both the normal location (and update EFI variables) and the removable media path.
[Prev in Thread] | Current Thread | [Next in Thread] |