#162 error messages before the initial GRUB menu

Отворени
отворен преди 2 години от dovsienko · 2 коментара

(Opening a bug report after trying to raise this issue using e-mail and IRC earlier.)

A T440p with osboot after a power-on and before the main GRUB menu ([o] to load OS, [b] to run SeaBIOS etc.) briefly displays the following:

Welcome to GRUB!

error: variable `prefix' isn't set.
error: terminal `usb_keyboard' isn't found.

It would be nice to establish the root cause of those error messages and to fix it.

(Opening a bug report after trying to raise this issue using e-mail and IRC earlier.) A T440p with osboot after a power-on and before the main GRUB menu ([o] to load OS, [b] to run SeaBIOS etc.) briefly displays the following: ```text Welcome to GRUB! error: variable `prefix' isn't set. error: terminal `usb_keyboard' isn't found. ``` It would be nice to establish the root cause of those error messages and to fix it.
Leah Rowe коментира преди 2 години
Притежател

these error messages are benign. grub is in need of a total rewrite, for bare metal specifically (coreboot payload).

if you look at the prefix error for example

look at grub-core/kern/main.c in grub source code

in there look at the function grub_main

  grub_load_modules ();

see that line in there?

this needs the prefix to be set, but now see:

  grub_set_prefix_and_root ();

this line comes after that

changing it to go before, fixes it but caused other issues for me

that whole code is spaghetti bolognese

these error messages are benign. grub is in need of a total rewrite, for bare metal specifically (coreboot payload). if you look at the prefix error for example look at grub-core/kern/main.c in grub source code in there look at the function `grub_main` grub_load_modules (); see that line in there? this needs the prefix to be set, but now see: grub_set_prefix_and_root (); this line comes *after* that changing it to go before, fixes it but caused other issues for me that whole code is spaghetti bolognese
Leah Rowe коментира преди 2 години
Притежател

and not good bolognese

and not good bolognese
Впишете се за да се присъедините към разговора.
Няма етикет
Няма етап
Няма изпълнител
2 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.