diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-01-20 16:50:24 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-02-14 12:21:49 +0000 |
commit | e1264c309f534af2f9ce81a7d7f056faff6e0787 (patch) | |
tree | cc57edb473b19267f1c2affc572fd71364bac36c /img/combined/grub.cfg.in | |
parent | 2ae30ffe993f314898d75c2bbeede32312e55f82 (diff) | |
download | spectrum-e1264c309f534af2f9ce81a7d7f056faff6e0787.tar spectrum-e1264c309f534af2f9ce81a7d7f056faff6e0787.tar.gz spectrum-e1264c309f534af2f9ce81a7d7f056faff6e0787.tar.bz2 spectrum-e1264c309f534af2f9ce81a7d7f056faff6e0787.tar.lz spectrum-e1264c309f534af2f9ce81a7d7f056faff6e0787.tar.xz spectrum-e1264c309f534af2f9ce81a7d7f056faff6e0787.tar.zst spectrum-e1264c309f534af2f9ce81a7d7f056faff6e0787.zip |
img/installer: separate from combined image
This way, we don't need to a build a whole huge image to test changes to the installer system. In fact, we don't need to build an image for it at all — we can just run it in a VM with root on 9p.
Diffstat (limited to 'img/combined/grub.cfg.in')
-rw-r--r-- | img/combined/grub.cfg.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/img/combined/grub.cfg.in b/img/combined/grub.cfg.in new file mode 100644 index 0000000..1a91a75 --- /dev/null +++ b/img/combined/grub.cfg.in @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: EUPL-1.2 +# SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is> + +insmod efi_gop +insmod efi_uga + +insmod font +loadfont /grub/fonts/unicode.pf2 + +insmod gfxterm +set gfxpayload=keep +terminal_output gfxterm + +menuentry "Try Spectrum" { + loopback live (hd0,gpt3)/Spectrum-0.0-x86_64-generic.0.Live.img + chainloader (live,gpt1)/efi/boot/bootx64.efi +} + +menuentry "Install Spectrum" { + set root=(hd0,gpt2) + linux @linux@ @kernelParams@ + initrd @initrd@ +} |