Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GitMensch opened this issue May 23, 2022 · 1 comment
Open

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

GitMensch opened this issue May 23, 2022 · 1 comment

Comments

@GitMensch
Copy link

GitMensch commented May 23, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants