Files
shredos.x86_64/board/shredos/genimage.cfg
desertwitch 66e7c16de3 fix: embed grub finder configuration
Helps GRUB find the ShredOS volume when it otherwise cannot (such as when the IMG is used with Ventoy in BIOS)

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-19 13:29:37 +01:00

42 lines
1.2 KiB
INI

image boot.vfat {
vfat {
extraargs = "-F 32 -n SHREDOS"
file boot/bzImage { image = 'bzImage' }
file boot/grub/grub.cfg { image = 'grub.cfg' }
file boot/version.txt { image = 'version.txt' }
file boot/buildroot { image = '/dev/null' }
file EFI/BOOT/bootx64.efi { image = 'bootx64.efi' }
file EFI/BOOT/grub.cfg { image = 'grub.cfg' }
file shredos.ico { image = 'shredos.ico' }
file README.txt { image = 'README.txt' }
file autorun.inf { image = 'autorun.inf' }
}
size = 310000000
}
image shredos.img {
hdimage {
}
partition boot {
in-partition-table = "no"
image = "boot.img"
offset = 0
size = 512
holes = {"(440; 512)"}
}
partition grub {
in-partition-table = "no"
image = "grub.img"
offset = 512
}
partition vfat {
partition-type = 0xC
image = "boot.vfat"
offset = 646656
}
}