-
Notifications
You must be signed in to change notification settings - Fork 3
/
menu.ipxe
90 lines (77 loc) · 4.21 KB
/
menu.ipxe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!ipxe
#
:MENU
menu
item --gap -- ---------------- iPXE boot menu ----------------
item shell ipxe shell
item xen Xen
item deb-netboot-4.14.y Debian stable netboot 4.14.y
item deb-netboot-4.15.y Debian stable netboot 4.15.y
item deb-netboot-4.16.y Debian stable netboot 4.16.y
item deb-stable-netinst Debian stable netinst
item deb-i386-stable-netinst Debian i386 stable netinst
item deb-testing-netinst TODO:Debian testing netinst
item deb-testing-netinst-uefi TODO:Debian testing netinst (UEFI-aware)
item voyage-netinst Voyage netinst 0.11.0
item ubuntu-lts-netinst Ubuntu LTS netinst
item coreos-netinst Core OS netinst
item core-6.4 Core 6.4
item --gap -- ------------ iPXE boot menu end ----------------
choose --default boot --timeout 3000 target && goto ${target}
:xen
kernel kernels/xen-4.8-amd64 dom0_mem=512M loglvl=all guest_loglvl=all com1=115200,8n1 console=com1
module kernels/vmlinuz-4.14.y console=hvc0 earlyprintk=xen nomodeset root=/dev/nfs rw ip=dhcp nfsroot=replace_with_ip:/srv/nfs/xen,vers=3,udp nfsrootdebug
boot
goto MENU
:deb-netboot-4.14.y
kernel kernels/vmlinuz-4.14.y bootfile=http://replace_with_ip:8000/menu.ipxe root=/dev/nfs rw ip=dhcp nfsroot=replace_with_ip:/srv/nfs/debian,vers=3,udp nfsrootdebug --- console=ttyS0,115200 earlyprint=serial,ttyS0,115200
boot
goto MENU
:deb-netboot-4.15.y
kernel kernels/vmlinuz-4.15.y bootfile=http://replace_with_ip:8000/menu.ipxe root=/dev/nfs rw ip=dhcp nfsroot=replace_with_ip:/srv/nfs/debian,vers=3,udp nfsrootdebug --- console=ttyS0,115200 earlyprint=serial,ttyS0,115200
boot
goto MENU
:deb-netboot-4.16.y
kernel kernels/vmlinuz-4.16.y bootfile=http://replace_with_ip:8000/menu.ipxe root=/dev/nfs rw ip=dhcp nfsroot=replace_with_ip:/srv/nfs/debian,vers=3,udp nfsrootdebug --- console=ttyS0,115200 earlyprint=serial,ttyS0,115200
boot
goto MENU
:deb-stable-netinst
kernel http://ftp.nl.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux bootfile=http://replace_with_ip:8000/menu.ipxe --- console=ttyS0,115200 earlyprint=serial,ttyS0,115200 initrd=http://ftp.nl.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
initrd http://ftp.nl.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
boot
goto MENU
:deb-i386-stable-netinst
kernel http://ftp.nl.debian.org/debian/dists/stable/main/installer-i386/current/images/netboot/debian-installer/i386/linux bootfile=http://replace_with_ip:8000/menu.ipxe --- console=ttyS0,115200 earlyprint=serial,ttyS0,115200 initrd=http://ftp.nl.debian.org/debian/dists/stable/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz
initrd http://ftp.nl.debian.org/debian/dists/stable/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz
boot
goto MENU
:ubuntu-lts-netinst
kernel http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/installer-amd64/current/images/hwe-netboot/ubuntu-installer/amd64/linux bootfile=http://replace_with_ip:8000/menu.ipxe --- console=ttyS0,115200 earlyprint=serial,ttyS0,115200 initrd=initrd.gz
initrd http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/installer-amd64/current/images/hwe-netboot/ubuntu-installer/amd64/initrd.gz
boot
goto MENU
:coreos-netinst
set base-url http://stable.release.core-os.net/amd64-usr/current
kernel ${base-url}/coreos_production_pxe.vmlinuz initrd=coreos_production_pxe_image.cpio.gz coreos.first_boot=1 --- console=ttyS0,115200 coreos.autologin=ttyS0 earlyprint=serial,ttyS0,115200
initrd ${base-url}/coreos_production_pxe_image.cpio.gz
boot
goto MENU
:core-6.4
kernel core-6.4/vmlinuz --- console=ttyS0,115200 earlyprint=serial,ttyS0,115200
initrd core-6.4/core.gz
boot
goto MENU
deb-testing-netinst
boot
goto MENU
:deb-testing-netinst-uefi
boot
goto MENU
:voyage-netinst
kernel kernels/voyage/vmlinuz bootfile=http://replace_with_ip:8000/menu.ipxe boot=live netboot=nfs root=/dev/nfs rw ip=dhcp nfsroot=replace_with_ip:/srv/nfs/voyage --- console=ttyS0,115200 earlyprint=serial,ttyS0,115200
initrd kernels/voyage/initrd.img
boot
goto MENU
:shell
shell ||
goto MENU