diff options
author | Sven Gothel <[email protected]> | 2021-07-18 06:59:45 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-07-18 06:59:45 +0200 |
commit | 5111cc860bc750902f8e374c267c671292bcb98f (patch) | |
tree | 3323320233d5d29620f54211652f648f314a83fa /data | |
parent | b492216fa0cc7e4f5005028335258cec4bb3e89b (diff) |
multi-arch/boot: Handle GRUB boot-code images, showcase full feature via 'make_dualboot_image'
'make_dualboot_image' creates a new raw image file:
- creating one vfat partition covering whole size
- formating partition with vfat
- provision GRUB boot-code (expecting 'grub' folder on vfat partition)
- copy custom files to vfat partition
using image file handling via NBD (updated imagetool.sh).
The custom files are sourced from two sdcard diskimages folder
generated with our pi-gen branch:
- raspi arm64
- debian amd64
Simply copied both content into one merge folder,
passed as last argument 'provisioning-dir' to this script.
+++
Grub file handling takes care of both boot-code image locations,
446 bytes in MBR and the MBR gap from [512 bytes - partition-start[
Diffstat (limited to 'data')
-rw-r--r-- | data/grub-image01.bin | bin | 0 -> 4194304 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/data/grub-image01.bin b/data/grub-image01.bin Binary files differnew file mode 100644 index 0000000..5b3f6b9 --- /dev/null +++ b/data/grub-image01.bin |