vinceliuice / grub2-themes

Modern Design theme for Grub2
GNU General Public License v3.0
3.6k stars 247 forks source link

error: out of memory in grub after install.sh #168

Open GitMensch opened 2 years ago

GitMensch commented 2 years ago

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)

landry-r commented 2 years ago

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