Skip to content

ESP partition format #2642

Closed Answered by DaanDeMeyer
ragazenta asked this question in Q&A
Apr 18, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

See the following code:

    partitions = make_disk(context, skip=("esp", "xbootldr"), tabs=True, msg="Generating disk image")
    install_kernel(context, partitions)
    normalize_mtime(context.root, context.config.source_date_epoch, directory=Path("boot"))
    normalize_mtime(context.root, context.config.source_date_epoch, directory=Path("efi"))
    partitions = make_disk(context, msg="Formatting ESP/XBOOTLDR partitions")

Without Type=esp both partitions will be created before we install the kernel to /boot, with Type=esp, the ESP partition will only be created after we install the kernel to /boot. I assume that's where the issue is coming from.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ragazenta
Comment options

Answer selected by ragazenta
Comment options

You must be logged in to vote
1 reply
@ragazenta
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants