help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UEFI: can running grub-install help after a motherboard change?


From: Sébastien Hinderer
Subject: Re: UEFI: can running grub-install help after a motherboard change?
Date: Thu, 4 Aug 2022 22:26:40 +0200

Dear Pascal,

Still not subscribed to the list, sorry, but I would like to ask your
help again because I have to change my motherboard again and I would
like to aovid relying on sighted assistance as much as possible, except,
of course, the one of the engineer who is going to do the change.

Pascal Hambourg (2022/02/22 23:28 +0100):
> 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

So, am I correct that I can run this command before changing the
motherboard (so withthe old motherboard in place) and it will make the
EFI boot work also with the new motherboard? Is that correct?

> In Debian, you can use
> 
> grub-install --force-extra-removable
> 
> to install GRUB in both the normal location (and update EFI variables) and
> the removable media path.

And then I could for instance use this command once the new motherboard
is in place, to make it sure grub is installed ont he motherboard
itself, too? Does all this make sense?

Sorry to ask so heavily but I find myself quite weak and powerless if my
computer does not boot correctly because, since I have no screen reader
available, I am totally dependent on sighted (and skilled) persons,
which tends to be a scarce resource, sadly.

Best wishes,

Sébastien.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]