You are not logged in.

#1 2021-02-25 01:04:29

smartding
Member
Registered: 2021-02-21
Posts: 35

[SOLVED] run grub-install every time a new version of grub comes out?

There's a new version of grub today "grub-2:2.04-10"

Do I have to manually run the grub-install command "grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=arch" every time I install a new version of grub?

Last edited by smartding (2021-02-25 03:51:24)

Offline

#2 2021-02-25 03:05:50

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] run grub-install every time a new version of grub comes out?

Well, if you want the features, bugfixes or security fixes, the you must certainly reinstall grub into your efi system partition.

But that looks like a repackage, so it’s unlikely that the code itself has changed and instead it just got rebuilt so in my opinion you don’t need to do that.

Now when you should do it? When 2.06 comes out.

Last edited by GaKu999 (2021-02-25 03:06:08)


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-02-25 03:42:21

smartding
Member
Registered: 2021-02-21
Posts: 35

Re: [SOLVED] run grub-install every time a new version of grub comes out?

GaKu999 wrote:

Now when you should do it? When 2.06 comes out.

You mean I should run "grub-install" only when there's a version bump of grub? e.g. from 2.04 to 2.06.

From the update history of grub package, I can see that 2:2.04-10 is for a  fix of toolchain issue (FS#69711),  and 2:2.04-8 is for a fix of BootHole.  Not sure if I should run "grub-install" for these updates

Offline

#4 2021-02-25 03:48:09

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] run grub-install every time a new version of grub comes out?

smartding wrote:

You mean I should run "grub-install" only when there's a version bump of grub? e.g. from 2.04 to 2.06.

From the update history of grub package, I can see that 2:2.04-10 is for a  fix of toolchain issue (FS#69711),  and 2:2.04-8 is for a fix of BootHole.  Not sure if I should run "grub-install" for these updates

The toolchain idk, methinks it’s a buildtime thing, but the boothole is worthy of reinstall, more if the hole causes trouble in your setup.

Anyways a grub update is not that common so even if you decide to reinstall the binaries on every update nothing bad will actually happen. At least while you don’t touch the config file.

...

Phrasing properly, any grub update that includes changes to the code itself obviously needs a reinstall on the ESP so it’s up to date, repackages that are only to ensure it compiles or similar can be ignored for the ESP.

Last edited by GaKu999 (2021-02-25 03:51:22)


My reposSome snippets

Heisenberg might have been here.

Offline

#5 2021-02-25 03:51:00

smartding
Member
Registered: 2021-02-21
Posts: 35

Re: [SOLVED] run grub-install every time a new version of grub comes out?

GaKu999 wrote:
smartding wrote:

You mean I should run "grub-install" only when there's a version bump of grub? e.g. from 2.04 to 2.06.

From the update history of grub package, I can see that 2:2.04-10 is for a  fix of toolchain issue (FS#69711),  and 2:2.04-8 is for a fix of BootHole.  Not sure if I should run "grub-install" for these updates

The toolchain idk, methinks it’s a buildtime thing, but the boothole is worthy of reinstall, more if the hole causes trouble in your setup.

Anyways a grub update is not that common so even if you decide to reinstall the binaries on every update nothing bad will actually happen. At least while you don’t touch the config file.

Thanks, got it.

Offline

#6 2021-03-01 22:21:10

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] run grub-install every time a new version of grub comes out?

The boothole update is irrelevant if you don't use secure boot.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB