You are not logged in.

#1 2022-08-27 00:07:30

aymanelj
Member
Registered: 2022-05-13
Posts: 36

[SOLVED] Computer boots into BIOS skipping GRUB

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

#2 2022-08-27 01:36:38

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#3 2022-08-27 02:49:57

aymanelj
Member
Registered: 2022-05-13
Posts: 36

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#4 2022-08-27 05:18:25

drewcube
Member
Registered: 2022-03-06
Posts: 10

Re: [SOLVED] Computer boots into BIOS skipping GRUB

Sounds like you got lucky and hit this issue with grub 2:2.06.r322.*.  https://bugs.archlinux.org/task/75701

Offline

#5 2022-08-27 11:38:41

Kobrakai
Member
Registered: 2021-05-22
Posts: 14

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#6 2022-08-27 13:19:52

midixinga
Member
Registered: 2014-01-18
Posts: 193

Re: [SOLVED] Computer boots into BIOS skipping GRUB

Kobrakai wrote:

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

#7 2022-08-27 15:27:17

aymanelj
Member
Registered: 2022-05-13
Posts: 36

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#8 2022-08-27 18:54:09

Hamsterkill
Member
Registered: 2009-05-05
Posts: 67

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#9 2022-08-27 19:38:26

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,240

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#10 2022-08-28 02:27:00

bluscandth
Member
Registered: 2022-07-07
Posts: 7

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#11 2022-08-28 16:38:57

aymanelj
Member
Registered: 2022-05-13
Posts: 36

Re: [SOLVED] Computer boots into BIOS skipping GRUB

I followed these steps and it fixed it.

Offline

#12 2022-08-29 20:55:29

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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 wink )


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

#13 2022-08-30 10:07:08

Kobrakai
Member
Registered: 2021-05-22
Posts: 14

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#14 2022-08-30 16:04:23

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [SOLVED] Computer boots into BIOS skipping GRUB

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

#15 2022-08-30 21:01:04

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,240

Re: [SOLVED] Computer boots into BIOS skipping GRUB

There is a new announce on the Arch main web page at https://archlinux.org/

https://archlinux.org/news/grub-bootloa … ibilities/


Mike C

Offline

Board footer

Powered by FluxBB