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

grub 2.06 not working with SNP enabled ovmf #200

Open
JaewonHur opened this issue Nov 22, 2023 · 1 comment
Open

grub 2.06 not working with SNP enabled ovmf #200

JaewonHur opened this issue Nov 22, 2023 · 1 comment

Comments

@JaewonHur
Copy link

When booting linux image using grub: grub-2.06 and ovmf: edk2-stable202302,
it shrinks the available physical memory size to about 2G (even when there is much more memory).

As grub terminal complains
Unknown memory type 15, considering reserved,
it seems that grub cannot recognize EfiUnacceptedMemoryType and set this e820 entry as reserved.

It does not happen when using grub-2.04.

@kenplusplus
Copy link

you can use linuxefi and initrdefi in grub.cfg, instead of linux.
check https://git.launchpad.net/ubuntu/+source/grub2/tree/grub-core/loader/i386/linux.c?h=applied/ubuntu/jammy-devel#n674

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