Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ipxe linux livecd / netinstall menus
#!ipxe
# To access this file via http use following redirection:
# http://preseed.panticz.de/ipxe/menu.livecd.ipxe
menu LiveCD
item --gap Ubuntu:
item live_ubuntu_16.04 Ubuntu Trusty 16.04 LiveCD
item live_ubuntu_14.04 Ubuntu Trusty 14.04 LiveCD
item live_ubuntu_12.04 Ubuntu Precise 12.04 LiveCD
item
item --gap Fedora:
item live_fedora_18 Fedora 18 LiveCD (BROKEN)
item
item --gap other OS:
item tinycorelinux Tiny Core Linux
item grml_32_small Grml 32 2013.02 small LiveCD
item freedos FreeDOS 1.1 Base
item breakin breakin 3.71
item boot.iso Boot ISO file
item
item back < Back to main menu
choose target && goto ${target}
:back
chain ${mainmenu}
#
# Ubuntu
#
:live_ubuntu_16.04
initrd tftp://${next-server}/live/ubuntu/16.04/casper/initrd.lz
chain tftp://${next-server}/live/ubuntu/16.04/casper/vmlinuz.efi boot=casper netboot=nfs nfsroot=${next-server}:/var/lib/tftpboot/live/ubuntu/16.04 BOOTIF=01-${net0/mac:hexhyp}
:live_ubuntu_14.04
initrd tftp://${next-server}/live/ubuntu/14.04/casper/initrd.lz
chain tftp://${next-server}/live/ubuntu/14.04/casper/vmlinuz boot=casper netboot=nfs nfsroot=${next-server}:/var/lib/tftpboot/live/ubuntu/14.04 BOOTIF=01-${net0/mac:hexhyp}
:live_ubuntu_12.04
initrd tftp://${next-server}/live/ubuntu/12.04/casper/initrd.lz
chain tftp://${next-server}/live/ubuntu/12.04/casper/vmlinuz boot=casper netboot=nfs nfsroot=${next-server}:/var/lib/tftpboot/live/ubuntu/12.04 BOOTIF=01-${net0/mac:hexhyp}
#
# Fedora
#
:live_fedora_18
initrd tftp://${next-server}/live/fedora/18/initrd0.img
chain tftp://${next-server}/live/fedora/18/vmlinuz0 rootflags=loop root=live:/Fedora-18-i686-Live-Desktop.iso rootfstype=auto ro liveimg rhgb rd.luks=0 rd.md=0 rd.dm=0
:live_fedora_18_test_1
initrd tftp://${next-server}/live/fedora/18/initrd0.img
chain tftp://${next-server}/live/fedora/18/vmlinuz0 netboot=nfs root=/dev/nfs root=live:nfs://${next-server}:/var/lib/tftpboot/live/fedora/18/squashfs.img
:live_fedora_18_test_2
initrd tftp://${next-server}/live/fedora/18/initrd0.img
chain tftp://${next-server}/live/fedora/18/vmlinuz0 inst.repo=nfs:${next-server}:/var/lib/tftpboot/live/fedora/18/Fedora-18-i686-Live-Desktop.iso rootfstype=auto ro liveimg rhgb rd.luks=0 rd.md=0 rd.dm=0 rootflags=loop
#
# other
#
:tinycorelinux
initrd http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/distribution_files/core.gz
chain http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/distribution_files/vmlinuz
:grml_32_small
initrd tftp://${next-server}/live/grml/32-small/initrd.img
chain tftp://${next-server}/live/grml/32-small/vmlinuz root=/dev/nfs rw nfsroot=${next-server}:/var/lib/tftpboot/live/grml/32-small live-media-path=/ boot=live lang=us nomce apm=power-off noprompt noeject vga=791
:freedos
imgfetch http://www.freedos.org/download/download/fd11src.iso
chain http://preseed.panticz.de/ipxe/memdisk iso
:breakin
initrd http://www.advancedclustering.com/download-document/21-bootimage-includes-breakin-v3-for-x86_64-bootable-iso.html
chain http://preseed.panticz.de/ipxe/memdisk iso raw
:boot.iso
imgfetch http://dl.panticz.de/ipxe/boot.iso
chain http://preseed.panticz.de/ipxe/memdisk iso
#!ipxe
# To access this file via http use following redirection:
# http://preseed.panticz.de/ipxe/menu.netinstall.ipxe
# choose cpu architecture
cpuid --ext 29 && set arch amd64 || set arch i386
menu NetInstall
item --gap NetInstall Ubuntu Preseed (user: ubuntu, password: t00r):
item install_ubuntu_16.04 Ubuntu 16.04 Xenial
item install_ubuntu_16.04_autopart Ubuntu 16.04 Xenial autopart
item install_ubuntu_15.10 Ubuntu 15.10 Wily
item install_ubuntu_15.10_autopart Ubuntu 15.10 Wily autopart
item install_ubuntu_14.04 Ubuntu 14.04 LTS Trusty
item install_ubuntu_14.04_autopart Ubuntu 14.04 LTS Trusty autopart
item install_ubuntu_14.04_forcepae Ubuntu 14.04 LTS Trusty (32 bit)
item install_ubuntu_12.04 Ubuntu 12.04.3 LTS Precise
item
item --gap NetInstall Debian
item install_debian_8_not_preseed Debian 8 Jessie
item install_debian_7_not_preseed Debian 7 Wheezy
item install_debian_7_backports Debian 7 Wheezy (wheezy-backports kernel)
item install_debian_6_not_preseed Debian 6 Squeeze
item
item --gap NetInstall Debian Preseed (user: root, password: t00r):
item install_debian_8 Debian 8 Jessie
item install_debian_7 Debian 7 Wheezy
item install_debian_7_autopart Debian 7 Wheezy autopart
item install_debian_7_backports_autopart Debian 7 Wheezy backports autopart
item install_debian_6 Debian 6 Squeeze
item install_debian_6_autopart Debian 6 Squeeze autopart
item
item --gap NetInstall Fedora:
item install_fedora_20 Fedora 20
item install_fedora_19 Fedora 19
item
item --gap NetInstall CentOS:
item install_centos_7 CentOS 7.1
item install_centos_7_kickstart CentOS 7.1 (kickstart)
item
item --gap NetInstall Arch Linux:
item install_arch_linux Arch Linux Netboot
item
item --gap Other
item install_ipfire IpFire
item back < Back to main menu
choose target && goto ${target}
:back
chain ${mainmenu}
#
# Ubuntu
#
:install_ubuntu_16.04
set release xenial
goto install_ubuntu
:install_ubuntu_16.04_autopart
set autopart autopart
set release xenial
goto install_ubuntu
:install_ubuntu_15.10
set release wily
goto install_ubuntu
:install_ubuntu_15.10_autopart
set autopart autopart
set release wily
goto install_ubuntu
:install_ubuntu_14.04
set release trusty-updates
goto install_ubuntu
:install_ubuntu_14.04_autopart
set autopart autopart
set release trusty-updates
goto install_ubuntu
:install_ubuntu_12.04
set release precise-updates
goto install_ubuntu
:install_ubuntu_14.04_forcepae
set release trusty-updates
set arch i386
set options forcepae
goto install_ubuntu
:install_ubuntu
initrd http://de.archive.ubuntu.com/ubuntu/dists/${release}/main/installer-${arch}/current/images/netboot/ubuntu-installer/${arch}/initrd.gz
chain http://de.archive.ubuntu.com/ubuntu/dists/${release}/main/installer-${arch}/current/images/netboot/ubuntu-installer/${arch}/linux url=http://preseed.panticz.de/preseed/ubuntu-minimal.seed auto=true netcfg/choose_interface=${net0/mac} locale=en_US.UTF-8 priority=critical net.ifnames=0 biosdevname=0 ${autopart} ${options}
#
# Debian
#
:install_debian_6_autopart
set autopart autopart
goto install_debian_6
:install_debian_6
set release squeeze
goto install_debian
:install_debian_7_autopart
set autopart autopart
goto install_debian_7
:install_debian_7_backports_autopart
set autopart autopart
goto install_debian_backports
:install_debian_7
set release wheezy
goto install_debian
:install_debian_8
set release jessie
goto install_debian
:install_debian_6_not_preseed
set release squeeze
initrd http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/initrd.gz
chain http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/linux
:install_debian_7_not_preseed
set release wheezy
initrd http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/initrd.gz
chain http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/linux
:install_debian_7_backports
set release unstable
initrd http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/initrd.gz
chain http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/linux url=http://preseed.panticz.de/preseed/debian-wheezy-backports.seed
:install_debian_8_not_preseed
set release jessie
initrd http://cdn.debian.net/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/initrd.gz
chain http://cdn.debian.net/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/linux
:install_debian
initrd http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/initrd.gz
chain http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/linux url=http://preseed.panticz.de/preseed/debian-minimal.seed auto=true netcfg/choose_interface=${net0/mac} priority=critical ${autopart}
:install_debian_backports
set release unstable
initrd http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/initrd.gz
chain http://ftp2.de.debian.org/debian/dists/${release}/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/linux url=http://preseed.panticz.de/preseed/debian-wheezy-backports-minimal-preseed.seed auto=true netcfg/choose_interface=${net0/mac} locale=en_US.UTF-8 priority=critical ${autopart}
#
# Fedora
#
# TODO: auto 32/64 bit
:install_fedora_20
set release 20
goto install_fedora
:install_fedora_19
set release 19
goto install_fedora
:install_fedora
initrd http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/${release}/Fedora/x86_64/os/images/pxeboot/initrd.img
chain http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/${release}/Fedora/x86_64/os/images/pxeboot/vmlinuz inst.repo=http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/${release}/Fedora/x86_64/os/
#
# CentOS
#
# TODO: auto 32/64 bit
:install_centos_7
initrd http://mirror.netcologne.de/centos/7/os/x86_64/isolinux/initrd.img
chain http://mirror.netcologne.de/centos/7/os/x86_64/isolinux/vmlinuz
:install_centos_7_kickstart
initrd http://mirror.netcologne.de/centos/7/os/x86_64/isolinux/initrd.img
chain http://mirror.netcologne.de/centos/7/os/x86_64/isolinux/vmlinuz ksdevice=link edd=off ks=http://preseed.panticz.de/kickstart/centos7-minimal.cfg net.ifnames=0 biosdevname=0
#
# Arch Linux
#
:install_arch_linux
cpuid --ext 29 && set arch x86_64 || set arch i686
initrd http://mirror.netcologne.de/archlinux/iso/latest/arch/boot/${arch}/archiso.img
chain http://mirror.netcologne.de/archlinux/iso/latest/arch/boot/${arch}/vmlinuz autopartarchiso_http_srv=http://mirror.netcologne.de/archlinux/iso/latest/ archisobasedir=arch checksum=y ip=dhcp
#
# IpFire
#
:install_ipfire
chain http://boot.ipfire.org/menu.gpxe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.