summaryrefslogtreecommitdiff
path: root/configs/releng/efiboot/EFI/boot
diff options
context:
space:
mode:
Diffstat (limited to 'configs/releng/efiboot/EFI/boot')
-rw-r--r--configs/releng/efiboot/EFI/boot/startup_iso.nsh (renamed from configs/releng/efiboot/EFI/boot/startup.nsh)2
-rw-r--r--configs/releng/efiboot/EFI/boot/startup_usb.nsh10
2 files changed, 11 insertions, 1 deletions
diff --git a/configs/releng/efiboot/EFI/boot/startup.nsh b/configs/releng/efiboot/EFI/boot/startup_iso.nsh
index f50aed2..5c35ca8 100644
--- a/configs/releng/efiboot/EFI/boot/startup.nsh
+++ b/configs/releng/efiboot/EFI/boot/startup_iso.nsh
@@ -1,6 +1,6 @@
@echo -off
-for %m run (0 9)
+for %m run (0 20)
if exist fs%m:\EFI\archiso\vmlinuz.efi then
fs%m:
cd fs%m:\EFI\archiso
diff --git a/configs/releng/efiboot/EFI/boot/startup_usb.nsh b/configs/releng/efiboot/EFI/boot/startup_usb.nsh
new file mode 100644
index 0000000..439e400
--- /dev/null
+++ b/configs/releng/efiboot/EFI/boot/startup_usb.nsh
@@ -0,0 +1,10 @@
+@echo -off
+
+for %m run (0 20)
+ if exist fs%m:\%INSTALL_DIR%\boot\x86_64\vmlinuz then
+ fs%m:
+ cd fs%m:\%INSTALL_DIR%\boot\x86_64
+ echo "Launching Archiso Kernel fs%m:\%INSTALL_DIR%\boot\x86_64\vmlinuz"
+ vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd=\%INSTALL_DIR%\boot\x86_64\archiso.img
+ endif
+endfor