You are not logged in.

#1 2021-01-14 16:37:25

Sue_Perb
Member
Registered: 2020-06-25
Posts: 32

GRUB autochoosing archlinux despite grub timeout being set to 10s

Hi,

I recently rescued control of GRUB from Ubuntu, and switched it to arch linux (my main os). So now arch controls grub. I copied my ubuntu grub config across to /etc/default/grub on arch, then edited the config to change the image. After that, i ran "grub-mkconfig -o /boot/grub/grub.cfg" and it said all worked correctly. So, i reboot my system to check the changes and it does a couple of weird things - instead of showing Dell startup screen then black then grub menu, it instead shows dell startup then "Welcome to Grub" (never seen that before) and then proceeds to show my grub background image for half a second before deciding it would like to run arch, without asking me what i want :-(

Grub timeout is definitely set to 10 sec

Heres a link to my grub config: https://mystb.in/GentlyUrbanSign.ini

And in case its relevant in any way, my laptop is a Dell Precision M4500 and has an intel i7.

Thanks smile

Last edited by Sue_Perb (2021-01-14 16:38:16)

Offline

#2 2021-01-14 17:10:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,351

Re: GRUB autochoosing archlinux despite grub timeout being set to 10s

Reads like a weird combination of events. Why would you copy  over the Ubuntu config (though that's unlikely to be inherently problematic) and what does "rescue control" of GRUB mean exactly? The only way you can be sure of that is actually installing the GRUB binary  from within Arch via grub-install and booting that, as certain pieces of information are embedded into the binary. (... like where to find the GRUB config it needs to load to know what you've configured where).

Otherwise actually configure Ubuntu's GRUB to simply include entries for the Arch kernels/root file systems if you still want to use that.

Last edited by V1del (2021-01-14 17:11:58)

Offline

#3 2021-01-14 17:41:15

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: GRUB autochoosing archlinux despite grub timeout being set to 10s

Sue_Perb wrote:

Grub timeout is definitely set to 10 sec

You also have GRUB_TIMEOUT_STYLE set to "hidden", which probably isn't what you want:

GRUB documentation wrote:

If ‘GRUB_TIMEOUT_STYLE’ is set to ‘countdown’ or ‘hidden’, the timeout is instead counted before the menu is displayed.

https://www.gnu.org/software/grub/manua … figuration

Although this doesn't match your experience at the boot screen so you should also check the UEFI boot order with

efibootmgr -v

For a non-UEFI system you will have to try to get to the GRUB command line and use the set command from there.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB