Skip to content

add ESP to boot image? #26

@sarnold

Description

@sarnold

If you could add a small ESP to the disk image, then it would be possible to use u-boot(efi) => grub/EFI kernel instead of depending on just the u-boot commands for specific kernel images (eg, bootz or booti). Something like this works nicely:

echo 'label: gpt' | sudo sfdisk ${DISK}
echo -e '16M,512M,U\n,+,\n' | sudo sfdisk ${DISK}

Also, thanks for publishing this!

Edit: 512 MB is apparently the minimum recommended ESP size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions