You are not logged in.

#1 2013-06-27 14:02:55

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

[solved] grub2: symbol grub_term_highlight_color not found

I have rendered my system unbootable and I cannot figure out what on Earth I've done. I thought that once I got hold of another machine and could look at the wiki, I'd be fine but apparently not.

I boot with a combination of rEFInd and grub. I use grub because the EFI stub loader does not currently work for me. I have a hand-edited grub.cfg. This has worked reliably and consistently for me, even when other methods have failed.

I updated the system which updated grub a day or two ago and reinstalled grub to disk. I also checked my grub.cfg and actually added an additional entry to grub.cfg but I am pretty sure that is not the problem.

rEFInd loads fine. I then load the grub efi and get dumped at the rescue prompt with the message

error: symbol `grub_term_highlight_color' not found.

I get the same error if I try to load e.g. normal.mod. If I try to load linux.mod, I get another error:

insmod (hd0,gpt2)/grub/x86_64-efi/linux.mod
error: unknown filesystem

If I try to load ext2, I am told it is already loaded. (The file system on the boot partition is ext4 but I think this uses ext2.mod as there is nothing else which looks likely.) In one case, the rescue console has also frozen but mostly I am just stuck there.

My grub.cfg did set highlight_color so I tried commenting that line out with no effect. I also tried adding a line which set grub_term_highlight_color which also made no difference. (This was not mentioned anywhere in either my grub.cfg or the example grub.cfg generated during the update of grub.)

Does anybody have any idea how I can figure out what on Earth I've done? I'm sure it is something obviously idiotic but I just can't see what.

I do have the version of grub which is lacking the localisation files but as I understand it, this shouldn't prevent grub producing its menu.

Last edited by cfr (2013-06-27 14:44:36)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#2 2013-06-27 14:47:49

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: [solved] grub2: symbol grub_term_highlight_color not found

This is sorted though I still don't know what on Earth I did. I think I must somehow have installed the grub .efi to the wrong directory on the ESP so that I was trying to load an old .efi with updated modules while the updated .efi sat in a different directory. I guess the rEFInd menu must have offered an option which would have worked but that interface doesn't make it very obvious what is going on e.g. which directory things are in and, in the case of grub, even going through to the details doesn't provide any further information.

Once installed to the correct place, all is happy once more smile. Apologies for the noise.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB