limotux
October 6, 2022, 11:04am
21
Kresimir:
A Grub update introduced a new feature that, when youâve regenerated the config with an old version of grub (the one youâve previously installed with grub-install
), caused the bootloader to not work properly. At the same time, there was an update to the kernel, so, the hook in EndeavourOS just regenerated the Grub config, but the new version of Grub wasnât installed with grub-install
.
I am not sure I am understanding correct.
You mean now just an update with yay -Syu
is just enough without the 2 commands!
But I got from @dalto
Any way, it is OK with me! (This is so techie for me to understand) I have to admit!
Sorry guys for taking much of your time.
dalto
October 6, 2022, 11:05am
22
It should be the same as the grub version but could be different from the version of grub you have installed to the EFI partition.
The verbiage is complicated because âinstallâ can mean two different things when applied to grub.
1 Like
limotux
October 6, 2022, 11:07am
23
This is the point why I made the script and .desktopfile to update this way to be on the safe side.
dalto
October 6, 2022, 11:08am
24
limotux:
I understand ârecommendingâ in such case is a nice word in place of âyou must do this else your system wonât bootâ, because if it is not done the system wonât boot, in best case âprobably wonât bootâ
I think a better translation would be: âIf you donât run grub-install
when grub is updated, you run the risk of a problem next time grub-mkconfig
is runâ.
5 Likes
limotux
October 6, 2022, 11:14am
25
So, it is not really a ârecommendationâ as an optional thing to do or not to do. It is like we ârecommendâ not to cross the street when pedestrain light is red! You might survive if you did, you might not.
Thanks guys, I got and understood a bit more of the Grub story.
dalto
October 6, 2022, 11:16am
26
In general, a ârecommendationâ is some thing that you should do, not something you must do.
A recommendation is not the same as a requirement.
1 Like
limotux
October 6, 2022, 11:18am
27
Yes, but maybe I ⌠I donât remember why I did it.
limotux
October 6, 2022, 11:24am
28
Well, I was grown up in a more strict way, if it is said x is better than y though y is good as well and not bad in any way then I must always do the better!
But you know what⌠it was worth it and it paid. I personally benefited from this principle and from applying it!
Piglet
October 6, 2022, 11:33am
29
I checked the log (/var/log/endeavour-install.log) file to see exactly what to enter.
[PYTHON JOB]: "Bootloader: grub (bios)"
.. Running ("grub-install", "--target=i386-pc", "--recheck", "--force", "/dev/sda")
.. Running ("grub-mkconfig", "-o", "/boot/grub/grub.cfg")
1 Like
Piglet:
"--force"
I wouldnât use that one:
--force install even if problems are detected
3 Likes
aida
October 6, 2022, 1:56pm
31
I just exec yay
too. reboot and everything ok. same as
TomDoe:
Update, reboot
Iâm wearing black socks today.
1 Like
knome
October 6, 2022, 3:01pm
33
Iâm hoping the tile adhesive fixes the magnets for the removable tile on my boxed-in pipework.
When they say run
$ grub-install ...
Do they mean it literally grub-install
or do they mean something else? I wish they would tell it exactly like it is! The proper command in full!
2 Likes
dalto
October 6, 2022, 3:07pm
35
The proper command varies per system. There is no perfect answer.
If you have a fairly typical system I would use:
sudo grub-install --no-nvram
3 Likes
manuel
October 6, 2022, 3:07pm
36
They canât tell the full command as it varies by the system and configuration.
This is the problem. I i run grub-install it just gives errorsâŚ
dalto
October 6, 2022, 3:08pm
38
Try the command I provided above
[ricklinux@kde-plasma ~]$ sudo grub-install --no-nvram
[sudo] password for ricklinux:
Installing for x86_64-efi platform.
Installation finished. No error reported.
[ricklinux@kde-plasma ~]$
Yes then it works.
1 Like