updating grub bricked system 07 March 2023, 04:48:59 i was switching to the `linux-zen` and tried to update grub to detect the new kernel on boot.i ran `sudo grub-mkconfig -o /boot/grub/grub.cfg` as listed in the arch wiki https://wiki.archlinux.org/title/GRUB and now when i boot my system i am prompted to decrypt my drive followed by a black screen that sends me to my bios settingsit was booting fine before i updated grub. running artix openrc on a uefi system
Re: updating grub bricked system Reply #1 – 07 March 2023, 05:19:47 Hello,,Every time I changed kernel, it worked for me with :Code: [Select]sudo update-grubBut very recently on a freshly installed system it didn't work.I had to go through artix-chroot and reinstall grub. Last Edit: 14 March 2023, 08:51:47 by tintin
Re: updating grub bricked system Reply #2 – 07 March 2023, 15:23:42 You might need to reissue the grub install command too, as version updates on UEFI boot setups can require this so the different Grub components match each other. The grub install command arguments will vary according to your system set up so may require some research. This could need to be done from a chroot as you cannot boot, although an Artix live USB might be able to detect and boot the existing setup. If you have installed from an ISO dating from last year the old Grub version will work fine until you do update-grub / grub mkconfig then fail on UEFI due to the version incompatibility. Also check in your BIOS UEFI boot order settings, you can end up with several UEFI boot options in there if you have several partitions and every time you do something like install grub or install a new OS which runs install grub the order can automatically get changed with the new one right at the top so you might need to change it back because you are probably going to want to be able to boot from USB and optical if available as the first choice anyway. 1 Likes
Re: updating grub bricked system Reply #3 – 14 March 2023, 08:04:39 Quote from: ####### – on 07 March 2023, 15:23:42 an Artix live USB might be able to detect and boot the existing setup. How to check it? How to boot the system already present on another disk from a live USB?
Re: updating grub bricked system Reply #4 – 14 March 2023, 09:08:31 Quote from: kur-ka – on 14 March 2023, 08:04:39Quote from: ####### – on 07 March 2023, 15:23:42 an Artix live USB might be able to detect and boot the existing setup. How to check it? How to boot the system already present on another disk from a live USB?Try to boot from the base ISO :- Mount your root partition to /mnt and ESP to /mnt/boot/efi - then artix-chroot /mnt- From there you can reinstall grub.
Re: updating grub bricked system Reply #5 – 14 March 2023, 17:43:01 Quote from: tintin – on 14 March 2023, 09:08:31Try to boot from the base ISO :- Mount your root partition to /mnt and ESP to /mnt/boot/efi - then artix-chroot /mnt- From there you can reinstall grub.Thanks. Is the above also possible not from the base, but from artix-plasma-runit-[...]-x86_64.iso I already succeeded to boot?
Re: updating grub bricked system Reply #6 – 14 March 2023, 18:03:55 Quote from: kur-ka – on 14 March 2023, 17:43:01Thanks. Is the above also possible not from the base, but from artix-plasma-runit-[...]-x86_64.iso I already succeeded to boot?If you were able to boot your installed system, then you can reinstall grub from artix-plasma-runit if necessary.
Re: updating grub bricked system Reply #7 – 15 March 2023, 06:11:17 Quote from: kur-ka – on 14 March 2023, 17:43:01Thanks. Is the above also possible not from the base, but from artix-plasma-runit-[...]-x86_64.iso I already succeeded to boot?Yes, grub can be reinstalled by booting from artix-plasma-runit ISO.