You are not logged in.

#1 2024-09-25 05:23:05

gcb
Member
Registered: 2014-02-12
Posts: 212

[SOLVED] GRUB cannot find it's config file

I'm trying to resurrect a librem laptop from 2019ish. It have an old version of SeaBios which do not do UEFI.

Created MBR partitions with the most simple setup (wasted time with GPT and legacy-boot, then lvm+cryptsetup, then MBR+lvm, .... now i dropped everything. just one single MBR partition with ext4! zero conveniences lol)

`grub-install --target=i386-pc /dev/sda`  it works fine. zero errors or warnings.

the config generated with `grub-mkconfig -o /boot/grub/grub.conf` also looks ok.

But on boot, i drop to the Rescue prompt immediately.

But a simple:

`GRUB> configfile /boot/grub/grub.conf` (only that. i don't even set root)

and it works perfectly. Why the heck is this happening?

Last edited by gcb (2024-09-25 16:57:13)

Offline

#2 2024-09-25 05:46:32

cryptearth
Member
Registered: 2024-02-03
Posts: 2,167

Re: [SOLVED] GRUB cannot find it's config file

grub expect its config called grub.cfg
your grub.conf is just named wrong
https://wiki.archlinux.org/title/GRUB#G … d_grub.cfg

Last edited by cryptearth (2024-09-25 05:47:23)

Offline

#3 2024-09-25 16:56:46

gcb
Member
Registered: 2014-02-12
Posts: 212

Re: [SOLVED] GRUB cannot find it's config file

thank you cryptearth!

cannot believe i wasted to much time on this.

Offline

Board footer

Powered by FluxBB