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

[RFE] Remove Xen Grub and Xen PV(H) support #1397

Open
jepio opened this issue Mar 20, 2024 · 2 comments
Open

[RFE] Remove Xen Grub and Xen PV(H) support #1397

jepio opened this issue Mar 20, 2024 · 2 comments
Labels
kind/feature A feature request

Comments

@jepio
Copy link
Member

jepio commented Mar 20, 2024

Current situation

The Flatcar kernel is compressed with ZSTD since commit:

commit 29f2903c8795d3269e1ffff507190c82e01267f2
Author: Kai Lüke <[email protected]>
Date:   Mon Jul 26 14:29:11 2021 +0200

    sys-kernel/coreos-modules: switch to gzip/zstd compression

When booting a Xen domU in pv/pvh mode pvgrub/pvgrub2/pygrub only support uncompressed or xz compressed kernels. This means the support for pv/pvh booting has been broken for at almost 3 years and no one noticed.

We can remove some files from /boot and make the kernel a bit smaller if we say goodbye to xen grub.

[ Please describe the current situation you would like to have improved ]

Impact

[ Please describe the impact the lack of the feature requested is creating ]

Ideal future situation

[ Please describe the future situation after the improvement was implemented ]

Implementation options

[ Optional: please provide one or more options for implementing the feature requested ]

Additional information

[ Please Add any information that does not fit into any of the above sections here ]

@jepio
Copy link
Member Author

jepio commented Apr 9, 2024

According to some comments - pvh grub can load zstd compressed kernels. just need to figure out if it can chainload.

@jepio
Copy link
Member Author

jepio commented Apr 11, 2024

It doesn't seem to support grub->grub chainloading but pygrub->grub works: flatcar/scripts#1879

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A feature request
Projects
Status: 📝 Needs Triage
Development

No branches or pull requests

1 participant