From 2f518876d85a7632f00098f6fa4ec76bcdcfed3a Mon Sep 17 00:00:00 2001 From: Thomas de Roo Date: Tue, 4 Jul 2023 13:18:58 +0200 Subject: [PATCH] eerste commit --- boot.ipxe | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 boot.ipxe diff --git a/boot.ipxe b/boot.ipxe new file mode 100644 index 0000000..72b3f11 --- /dev/null +++ b/boot.ipxe @@ -0,0 +1,62 @@ +#!ipxe + +menu PXE Boot Options + +item winpe Boot into Windows PE +item debian Install Debian +item bookworm Install Debian Bookworm +item trixie Install Debian Trixie +item windows Install Windows +item shell iPXE shell +item exit Exit to BIOS + +choose --default exit --timeout 10000 option && goto ${option} + +:shell +shell + +:windows +imgfree +kernel wimboot +initrd -n bootmgr http://net04/boot/x64/bootmgr bootmgr || +initrd -n bootmgr.efi http://net04/boot/x64/bootmgr.efi bootmgr.efi || +initrd -n bcd http://net04/boot/x64/Boot/BCD bcd || +initrd -n boot.sdi http://net04/boot/x64/Boot/boot.sdi boot.sdi || +initrd -n boot.wim http://net04/boot/LiteTouchPE_x64.wim LiteTouchPE_x64.wim +boot + +:winpe +imgfree +kernel wimboot +initrd -n bootmgr http://net04/boot/x64/bootmgr bootmgr || +initrd -n bootmgr.efi http://net04/boot/x64/bootmgr.efi bootmgr.efi || +initrd -n bcd http://net04/boot/x64/Boot/BCD bcd || +initrd -n boot.sdi http://net04/boot/x64/Boot/boot.sdi boot.sdi || +initrd -n boot.wim http://net04/boot/Generic_x64.wim Generic_x64.wim +boot + + +:debian +kernel http://debian.proxad.net/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz initrd=firmware.cpio.gz auto=true auto url=http://net04/debian/preseed.cfg +initrd http://debian.proxad.net/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz +initrd http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/stable/current/firmware.cpio.gz +boot + +:efibookworm +kernel http://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz initrd=firmware.cpio.gz +initrd http://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz +initrd http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bookworm/current/firmware.cpio.gz +boot + +:bookworm +kernel http://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz language=en country=NL locale=en_US.UTF-8 keymap=us auto url=https://git.de-roo.org/DEROO/preseed.cfg/raw/branch/main/bookworm/preseed.cfg +initrd http://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz +boot + +:trixie +kernel http://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz language=en country=NL locale=en_US.UTF-8 keymap=us auto url=https://git.de-roo.org/DEROO/preseed.cfg/raw/branch/main/trixie/preseed.cfg +initrd http://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz +boot + +:exit +exit 0