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

add imgfree to standard.ipxe boot script #191

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

lukemilby
Copy link
Contributor

fix for Initramfs unpacking failed: invalid magic at start of compressed

While using image generated from the image factory I was getting Initramfs unpacking failed: invalid magic at start of compressed when booting. ipxe/ipxe#1329. I tried the suggestion adding imgfree before kernel command and was able to boot into talos.

@lukemilby lukemilby changed the title add imgfree to standard.ipxe boot script. add imgfree to standard.ipxe boot script Jan 19, 2025
@frezbo
Copy link
Member

frezbo commented Jan 19, 2025

the image factory ipxe script doesn't load any image before the lines adding imgfree, as per docs https://ipxe.org/cmd/imgfree it cleans up previous artifacts, but this is the first one downloaded, so not sure if this is the right fix

@lukemilby lukemilby closed this Jan 19, 2025
@smira
Copy link
Member

smira commented Jan 20, 2025

We could probably do imgfree still, if Image Factory script is chained from another script? @frezbo ?

@frezbo
Copy link
Member

frezbo commented Jan 20, 2025

We could probably do imgfree still, if Image Factory script is chained from another script? @frezbo ?

oh that makes sense if it's chained

Fix for `Initramfs unpacking failed: invalid magic at start of compressed`

Signed-off-by: Luke Milby <[email protected]>
Signed-off-by: Andrey Smirnov <[email protected]>
@smira
Copy link
Member

smira commented Jan 20, 2025

/m

@talos-bot talos-bot merged commit 4bb43ef into siderolabs:main Jan 20, 2025
14 checks passed
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

Successfully merging this pull request may close these issues.

4 participants