Add a copy-to-RAM boot entry (UEFI + BIOS)
All checks were successful
Mirror to GitHub / mirror (push) Successful in 5s
All checks were successful
Mirror to GitHub / mirror (push) Successful in 5s
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. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
9bf071b406
commit
b587f2206e
2 changed files with 18 additions and 0 deletions
|
|
@ -8,6 +8,19 @@ LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux
|
|||
INITRD /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID%
|
||||
|
||||
# Copy-to-RAM boot option — loads airootfs.sfs entirely into RAM, so the
|
||||
# installer reads from memory rather than a possibly-flaky USB (avoids SquashFS
|
||||
# read errors during unpackfs). Needs enough RAM for the image (~3 GB).
|
||||
LABEL archtoram
|
||||
TEXT HELP
|
||||
Boot Bread OS, copying the image into RAM first.
|
||||
More reliable installs from USB; needs a few GB of RAM.
|
||||
ENDTEXT
|
||||
MENU LABEL Bread OS install medium (%ARCH%, BIOS) ^copy to RAM
|
||||
LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux
|
||||
INITRD /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% copytoram=y
|
||||
|
||||
# Accessibility boot option
|
||||
LABEL archspeech
|
||||
TEXT HELP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue