vinceliuice/grub2-themes

error: out of memory in grub after install.sh

GitMensch opened this issue · 1 comments

I've did the exact same thing 3 times, to ensure this is really rooted in this software.

$ git clone https://github.com/vinceliuice/grub2-themes.git
$ cd grub2-themes
$ sudo ./install.sh  # default theme with higher resolution (2k) which better matches my system
$ reboot

Effect: nice looking Grub config with additional UEFI settings (which work), using the existing Ubuntu one leads to

error: out of memory

and when waiting or pressing enter booting starts, ending in kernel panic.

Using the rescue mode leads to the same issue, just with an additional "Initializing ramdisk" output before.

Quite special: Using the Live Installation media (Ubuntu 22.04) afterwards also results in the same error.

To fix the live media issue: power off, power on (but that doesn't fix the Ubuntu installation).
To fix the Ubuntu installation: execute sudo boot-repair.

Result: back to old grub.

Any ideas / insights?

_Additional information: installed on /dev/nvme0n1X, secure boot enabled, Ubuntu 22.04 up-to-date (running default kernel 5.15.0-30-generic)

I have the same problem. I'm using it since a long time with dual boot everything good. But now I want a tri boot with Windows, Ubuntu and Kubuntu.

I can install Ubuntu and Kubuntu in the order I want and install from the last installed, Kubuntu will always loose his boot with an out of memory error. (Idk if version 22.04 is the problem)

Thanks in advance