translator
1,001
edits
(install-grub inserted) |
|||
Line 110: | Line 110: | ||
{{RootCmd|command=ls /sys/firmware/efi}} | {{RootCmd|command=ls /sys/firmware/efi}} | ||
If successfull re-run above installation commands | If successfull re-run above installation commands | ||
==Updating grub== | |||
Sometimes there is also an update for the GRUB package itself. So far, the grub package is updated, but this new GRUB is not automatically installed in the boot area. | |||
You can do this manually following the instructions above. Or you can install the Grub Maintainer Script ''install-grub''. It should work flawless for the majority of people, but SecureBoot, ZFS and fancy encryptions are not supported yet. | |||
{{RootCmd|command=sudo pacman -Syu install-grub}} | |||
Then once run | |||
{{RootCmd|command=sudo install-grub}} | |||
The package includes a hook that will reinstall the bootloader when needed from now on at every update of grub. | |||
==Troubleshooting== <!--T:15--> | ==Troubleshooting== <!--T:15--> | ||
=== Manjaro is not recognized === | === Manjaro is not recognized === | ||
If Manjaro wasn't recognized after an update-grub then probably your Manjaro installation is missing the package lsb-release. | If Manjaro wasn't recognized after an update-grub then probably your Manjaro installation is missing the package lsb-release. | ||
==Confusing names== | |||
Some things around grub can be confusing. | |||
===package version of grub=== | |||
Its the version of the grub-package present in your filesystem. But this version changing does ''not'' update the installed grub-bootloader. | |||
===grub-bootloader version=== | |||
This can only been shown while you are in the Grub menu (that won’t show up while booting by default, you need to hit shift during boot). Hit the key [E] and your will see the Grub version on top. | |||
===update-grub=== | |||
Does ''not'' update the installed bootloader. The ‘update’ is more about updating configuration. Think of this more as ‘applying settings’. | |||
(~ equal to grub-mkconfig -o /boot/grub/grub.cfg) | |||
===install-grub=== | |||
is another script that does update the installed bootloader that runs when you turn your computer on. (it attempts to automate a system-dependent command that can look different on different setups, but an example would be: sudo grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=Manjaro --recheck) | |||
==See also== <!--T:16--> | ==See also== <!--T:16--> |