Created
December 15, 2022 14:44
-
-
Save jawn-smith/4448b68f594c9917b33f85e56c02c180 to your computer and use it in GitHub Desktop.
Hacky gadget.yaml for creating non-sequential partition tables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
volumes: | |
pc: | |
bootloader: grub | |
structure: | |
- name: mbr | |
type: mbr | |
size: 440 | |
content: | |
- image: pc-boot.img | |
- name: BIOS Boot | |
type: DA,21686148-6449-6E6F-744E-656564454649 | |
size: 1M | |
offset: 1M | |
offset-write: mbr+92 | |
content: | |
- image: pc-core.img | |
- name: EFI System | |
type: EF,C12A7328-F81F-11D2-BA4B-00A0C93EC93B | |
filesystem: vfat | |
filesystem-label: system-boot | |
size: 50M | |
content: | |
- source: grubx64.efi | |
target: EFI/boot/grubx64.efi | |
- source: shim.efi.signed | |
target: EFI/boot/bootx64.efi | |
- source: grub-cpc.cfg | |
target: EFI/ubuntu/grub.cfg | |
- name: Empty3 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty4 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty5 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty6 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty7 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty8 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty9 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty10 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty11 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 | |
- name: Empty12 | |
type: 00000000-0000-0000-0000-000000000000 | |
size: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment