'grub-emu-lite' failed to start 'normal' mode (command 'normal' in module 'normal.mod')
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
'grub-emu-lite' failed to start 'normal' mode (command 'normal' in module 'normal.mod') due to missing license information in 'datetime.mod'.
Source Package: grub2 (2.06-2ubuntu7)
https:/
$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
$ apt-cache policy grub-emu
grub-emu:
Installed: 2.06-2ubuntu7.2
Candidate: 2.06+42~
Version table:
2.
500 https:/
*** 2.06-2ubuntu7.2 500
500 https:/
100 /var/lib/
2.06-2ubuntu7 500
500 https:/
Expected behavior:
Command 'grub-emu-lite -d /usr/lib/grub'
starts properly in terminal UI mode ('normal.mod' module)
Actual behavior:
Command 'grub-emu-lite -d /usr/lib/grub'
fail to start properly and starts only in "rescue mode" instead.
Command output:
$ grub-emu-lite -d /usr/lib/grub
error: incompatible license.
Entering rescue mode...
grub rescue> normal
Unknown command `normal'.
grub rescue>
PPA with grub2 fixed using provided patch (https:/ /bugs.launchpad .net/ubuntu/ +source/ grub2/+ bug/2025861/ +attachment/ 5683894/ +files/ 0001-LOPIN- grub-emu- datetime. c-license- fix-1.patch):
https:/ /launchpad. net/~lopin/ +archive/ ubuntu/ grub-testing
GIT repo clone with that fix: /code.launchpad .net/~lopin/ ubuntu/ +source/ grub2/+ git/grub2/ +ref/ubuntu_ lopin-license- fix /git.launchpad. net/~lopin/ ubuntu/ +source/ grub2
https:/
https:/