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

Linux 5.10 can't be booted by Xen pvgrub2 #121087

Closed
alyssais opened this issue Apr 28, 2021 · 2 comments
Closed

Linux 5.10 can't be booted by Xen pvgrub2 #121087

alyssais opened this issue Apr 28, 2021 · 2 comments

Comments

@alyssais
Copy link
Member

Booting NixOS from Xen using pvgrub2 fails with a 5.10 kernel. A 5.4 kernel works fine. I don't have the error message to hand, but will keep this updated as I track down what's going on. Wanted to open an issue ASAP to have this documented to make it easier for other people who might run into this.

@alyssais
Copy link
Member Author

The error is:

error: not a xen image.
error: you need to load the kernel first.

@alyssais
Copy link
Member Author

alyssais commented May 5, 2021

The problem is that pvgrub2 doesn't support zstd compression yet, which we're using on >=5.9 kernels.

See also:

(Thanks @puckipedia.)

I don't think there's anything we can do on the NixOS side about this.

@alyssais alyssais closed this as completed May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant