You are not logged in.
Hi everyone, I was updating my grub configuration file to change my GRUB_TIMEOUT to 5. I then ran
sudo grub-mkconfig -o /boot/grub/grub.cfg
to update it. I am not sure, but I think that I forgot to add the
-o
before the path. I now have archiso on a stick and dont know how I can enter my partition to fix this error.
Last edited by aymanelj (2022-09-01 17:49:50)
Offline
if you didnt specify an output file then grub-mkconfig would have just spat out the config to stdout, not really sure how you messed up your grub.
as for what your trying to do, it depends how you partitioned your system, you need to mount your root partition to "/mnt" and then if you have your "/boot" on a seperate partition like the efi partition you need to mount that as well.
then just "arch-chroot /mnt" and run your grub-mkconfig command.
Offline
I just followed the steps above, and ran
sudo grub-mkconfig -o /boot/grub/grub.cfg
but the issue still persists
Last edited by aymanelj (2022-08-27 02:54:51)
Offline
Sounds like you got lucky and hit this issue with grub 2:2.06.r322.*. https://bugs.archlinux.org/task/75701
Offline
I have the same problem. I turned on my computer, ran "pacman -Syu" and it updated a few packages with no errors/nothing unusual. There was a kernel update so it re-generated GRUB. Then I rebooted my PC and now it boots into the BIOS.
I did chroot from the live cd and checked everything, re-installed grub, restored to a snapshot from a week ago, still have the problem. Is there any way to fix this as my computer is now basicially bricked.
Offline
I have the same problem. I turned on my computer, ran "pacman -Syu" and it updated a few packages with no errors/nothing unusual. There was a kernel update so it re-generated GRUB. Then I rebooted my PC and now it boots into the BIOS.
I did chroot from the live cd and checked everything, re-installed grub, restored to a snapshot from a week ago, still have the problem. Is there any way to fix this as my computer is now basicially bricked.
if you can chroot, then try to downgrade grub
sudo pacman -U /var/cache/pacman/pkg/grub-2:2.06.r297.g0c6c1aff2-1-x86_64.pkg.tar.zst
And then monitor the issue before a new upgade of grub
Offline
After running
sudo pacman -U /var/cache/pacman/pkg/grub-2:2.06.r297.g0c6c1aff2-1-x86_64.pkg.tar.zst
I get sent to GNU GRUB version 2:2.2.06.r261.g2f4430cc0-1 Minimal BASH-like command line interface.
Offline
After downgrading you will need to run grub-install and grub-mkconfig, if you haven't. Though I don't know where it's getting r261 from if you only downgraded to r297...
Offline
Possibly connected to:
https://bugs.archlinux.org/task/75701
Edit: - I realise that bug was linked a few comments earlier.... apologies for the extra noise.
Last edited by mcloaked (2022-08-27 19:40:18)
Mike C
Offline
If your computer is booting into a BIOS/UEFI setup screen it does not mean it is skipping GRUB... GRUB is not being loaded at all. You need to figure out why your firmware is not loading grub.
Offline
I followed these steps and it fixed it.
Offline
The Problem, in this case, seems to be about the grub files are not updated (grub-install) but grub.cfg includes the latest changes from updated grub package not reflected inside the grub files on the system (mostly under /boot).
So you need to run grub-install from using arch-chroot into your installed system .. if you are using /boot/efi for the ESP.. if not you need efi dir option set to the used path ...
(funny to see arch forum linking to EndeavourOS tutorial )
Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad
Offline
I can't understand how after 4 days there is no mention of this on the front page and no update has been released. Why hasn’t this change been rolled back at the very least? I'm not that Knowledgeable about Linux and I thought it was something I had broken. I spent hours trying to figure out how to mount the drives and chroot so I could do a restore. I was about to reinstall Arch before I came here and saw this post.
Offline
https://github.com/archlinux/svntogit-p … grub/trunk
the change was reverted then re-instated with a message to re-install grub as well as generate a config.
Offline
There is a new announce on the Arch main web page at https://archlinux.org/
Mike C
Offline