Add a copy-to-RAM boot entry (UEFI + BIOS)

Loads airootfs.sfs into RAM at boot so the installer reads from memory
instead of a possibly-flaky USB — fixes SquashFS read errors during
unpackfs. Kept as a separate menu entry (not default) since it needs a few
GB of RAM.
This commit is contained in:
Breadway 2026-06-16 19:40:16 +08:00
parent aee05b814b
commit fbe9c9693e
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,5 @@
title Bread OS install medium (copy to RAM, UEFI)
sort-key 015
linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux
initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% copytoram=y