237 lines
11 KiB
Plaintext
237 lines
11 KiB
Plaintext
#!ipxe
|
|
|
|
### VARIABLES
|
|
set menu-timeout 36000
|
|
set submenu-timeout ${menu-timeout}
|
|
isset ${menu-default} || set menu-default item3
|
|
set server_ip IP
|
|
|
|
# HS
|
|
#console --picture http://boot.ipxe.org/ipxe.png
|
|
|
|
## POUR PRESEED
|
|
# imgargs auto=true keymap=fr ip=dhcp hostname=debian preseed/url=http://${server_ip}/tftpboot/debian-12/64/debian-12-preseed.cfg
|
|
|
|
##################### MENU #####################
|
|
menu
|
|
|
|
item --gap --
|
|
item --gap -- - LINUX 64 BITS -
|
|
item --gap -- -------------DEBIAN-12-------------
|
|
item debian-12 Debian-12-Bookworm
|
|
item --gap -- -------------DEBIAN-13-------------
|
|
item debian-13 Debian-13-Trixie
|
|
item --gap -- -------------DEBIAN-GARAGE-------------
|
|
item debian-gn Debian-13-Garage
|
|
|
|
item --gap --
|
|
item --gap -- ----------------------------------------
|
|
item --gap -- - LINUX LIVE -
|
|
item --gap -- -------------DEBIAN-13-LIVE-GNOME-------------
|
|
item debian-13-live Debian-13-live
|
|
item --gap -- -------------UBUNTU-24----------------
|
|
item ubuntu-live Ubuntu-Live
|
|
item --gap -- -------------KALI-LIVE-64---------------
|
|
item kali-live-64 Kali-Live-64
|
|
item --gap -- -------------LMDE-7-LIVE-64---------------
|
|
item lmde-64 LMDE-live-64
|
|
|
|
item --gap --
|
|
item --gap -- ----------------------------------------
|
|
item --gap -- - LINUX TOOLS -
|
|
item --gap -- -------------SHREDOS-64-----------------
|
|
item shredos-64 Shredos-64 (nwipe)
|
|
item --gap -- -------------GPARTED-LIVE-64------------
|
|
item gparted-live-64 Gparted-live-64
|
|
|
|
item --gap --
|
|
item --gap -- ----------------------------------------
|
|
item --gap -- - LINUX 32 BITS -
|
|
item --gap -- -------------DEBIAN-BOOKWORM-32-------------
|
|
item debian-12-32 Debian-12-32
|
|
item --gap -- -------------Q4OS-INSTALL-32------------
|
|
item q4os-32 Q4os-32
|
|
item --gap -- -------------UBUNTU-TRINITY-32------------
|
|
item ubuntu-trinity-32 Ubuntu-Trinity-32
|
|
item --gap -- -------------DEBIAN-32------------
|
|
item debian-12-32 Debian-12-32
|
|
|
|
item --gap --
|
|
item --gap -- ----------------------------------------
|
|
item --gap -- - LINUX LIVE 32 BITS -
|
|
item --gap -- -------------DEBIAN-LIVE-32---------------
|
|
item debian-live-32 Debian-12-Live-32
|
|
item --gap -- -------------LMDE-LIVE-32---------------
|
|
item lmde-32 LMDE-live-32
|
|
|
|
item --gap --
|
|
item --gap -- -------------SORTIR---------------------
|
|
item shell Shell iPXE
|
|
item exit Exit
|
|
|
|
choose --timeout ${menu-timeout} --default ${menu-default} target && goto ${target}
|
|
|
|
##################### DISTRIBS #####################
|
|
|
|
:debian-gn
|
|
kernel http://${server_ip}/tftpboot/debian-13/64/install.amd/linux
|
|
initrd http://${server_ip}/tftpboot/debian-13/64/install.amd/initrd.gz
|
|
#imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0 auto=true keymap=fr locale=FR_fr ip=dhcp domain=garage hostname=debian preseed/url=http://${server_ip}/tftpboot/debian-13/64/trixie_preseed.cfg
|
|
imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0 debian-installer=fr_FR.UTF-8 locale=fr_FR.UTF-8 kbd-chooser/method=fr auto-install/enable=true ip=dhcp hostname=debian domain=garage preseed/url=http://${server_ip}/tftpboot/debian-13/64/trixie_preseed.cfg
|
|
boot || goto menu
|
|
|
|
##################################### OS-64 ###############################################
|
|
|
|
#Paramètres de démarrage pour DEBIAN-12
|
|
:debian-12
|
|
kernel http://${server_ip}/tftpboot/debian-12/64/debian-installer/amd64/linux
|
|
initrd http://${server_ip}/tftpboot/debian-12/64/debian-installer/amd64/initrd.gz
|
|
imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0
|
|
boot || goto menu
|
|
|
|
#Paramètres de démarrage pour DEBIAN-13
|
|
:debian-13
|
|
#kernel https://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux
|
|
#initrd https://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
|
|
kernel http://${server_ip}/tftpboot/debian-13/64/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/debian-13/64/initrd.gz
|
|
imgargs vmlinuz initrd=initrd linux DEBIAN_FRONTEND=newt --- net.ifnames=0 mirror/suite=trixie
|
|
boot || goto menu
|
|
|
|
:debian-live-32
|
|
kernel http://${server_ip}/tftpboot/debian-12/32/install.386/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/debian-12/32/install.386/initrd.gz
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs boot=live components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/debian-12/32 ip=dhcp quiet splash --
|
|
boot
|
|
|
|
##################################### OS-32 ###############################################
|
|
|
|
#Paramètres de démarrage pour SLITAZ-LIVE-32 -- TESTING
|
|
:slitaz-live-32
|
|
kernel http://192.168.1.100/tftpboot/slitaz-live-32/boot/bzImage
|
|
initrd http://192.168.1.100/tftpboot/slitaz-live-32/boot/rootfs1.gz
|
|
imgargs bzImage ip=dhcp quiet splash
|
|
boot || goto menu
|
|
|
|
:bunsenlabs-live-32
|
|
kernel http://${server_ip}/tftpboot/bunsenlabs-32/install/gtk/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/bunsenlabs-32/install/gtk/initrd.gz
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/bunsenlabs-32 ip=dhcp quiet splash --
|
|
boot || goto menu
|
|
|
|
#Q4OS : fonctionne
|
|
:q4os-32
|
|
kernel http://${server_ip}/tftpboot/q4os-32/install.386/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/q4os-32/install.386/initrd.gz
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/q4os-32
|
|
boot || goto menu
|
|
|
|
## Ubuntu Trinity : le live se lance mais l'installeur (ubuquity) plante
|
|
:ubuntu-trinity-32
|
|
kernel http://${server_ip}/tftpboot/ubuntu-trinity-32/casper/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/ubuntu-trinity-32/casper/initrd
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs boot=casper netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/ubuntu-trinity-32 ip=dhcp quiet splash --
|
|
boot || goto menu
|
|
|
|
#Debian LXQT 32 bits : Ne marche pas. Le live reste bloqué sur un splash screen Debian. Et l'installeur cherche le cdrom comme support d'installation...
|
|
:debian-lxqt-32
|
|
kernel http://${server_ip}/tftpboot/debian-lxqt-32/d-i/gtk/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/debian-lxqt-32/d-i/gtk/initrd.gz
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/debian-lxqt-32 ip=dhcp --
|
|
boot || goto menu
|
|
|
|
# ArchBang : Ne marche pas. "No more network". Charger 'intel-ucode.img' en plus de initramfs-linux.img' ?
|
|
:archbang-live-32
|
|
kernel http://${server_ip}/tftpboot/archbang-live-32/arch/boot/i686/vmlinuz-linux
|
|
initrd http://${server_ip}/tftpboot/archbang-live-32/arch/boot/i686/initramfs-linux.img
|
|
imgargs vmlinuz initrd=initrd archisobasedir=arch archisolabel=ARCHBANG_3112 cow_spacesize=2G root=/dev/nfs netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/archbang-live-32 ip=dhcp --
|
|
boot || goto menu
|
|
|
|
## Porteus Openbox Live
|
|
:porteus-openbox-32
|
|
kernel http://${server_ip}/tftpboot/porteus-openbox-32/boot/syslinux/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/porteus-openbox-32/boot/syslinux/initrd.xz
|
|
imgargs vmlinuz initrd=initrd nomagic base_only norootcopy root=/dev/nfs netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/porteus-openbox-32 ip=dhcp --
|
|
boot || goto menu
|
|
|
|
##################################### OS-LIVE ###############################################
|
|
# Trixie live test
|
|
:debian-13-live
|
|
kernel http://${server_ip}/tftpboot/debian-13/live/live/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/debian-13/live/live/initrd.img
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs boot=live components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/debian-13/live ip=dhcp quiet splash --
|
|
boot
|
|
|
|
|
|
:debian-live-32
|
|
kernel http://${server_ip}/tftpboot/debian-12/32/install.386/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/debian-12/32/install.386/initrd.gz
|
|
PxeIs0n4Th3Garag3%$!imgargs vmlinuz initrd=initrd root=/dev/nfs boot=live components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/d>
|
|
boot
|
|
|
|
#Paramètres de démarrage pour UBUNTU-LIVE -- OK
|
|
:ubuntu-live
|
|
kernel http://${server_ip}/tftpboot/ubuntu-live/casper/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/ubuntu-live/casper/initrd
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs boot=casper netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/ubuntu-live ip=dhcp quiet splash --
|
|
boot || goto menu
|
|
|
|
#Paramètres de démarrage pour DEBIAN-LIVE-64 -- OK
|
|
:custom-debian
|
|
kernel http://${server_ip}/tftpboot/custom-debian/live/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/custom-debian/live/initrd.gz
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs boot=live components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/custom-debian ip=dhcp quiet splash --
|
|
boot
|
|
|
|
#Paramètres de démarrage pour DEBIAN-LIVE-64 -- OK
|
|
:debian-live-64
|
|
kernel http://${server_ip}/tftpboot/debian-live-64/live/vmlinuz-6.1.0-32-amd64
|
|
initrd http://${server_ip}/tftpboot/debian-live-64/live/initrd.img-6.1.0-32-amd64
|
|
imgargs vmlinuz-6.1.0-32-amd64 initrd=initrd root=/dev/nfs boot=live components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/debian-live-64 ip=dhcp quiet splash --
|
|
boot
|
|
|
|
#Paramètres de démarrage pour DEBIAN-LIVE-CINNAMON --
|
|
:debian-live-cinnamon
|
|
kernel http://${server_ip}/tftpboot/debian-live-cinnamon/live/vmlinuz-6.1.0-32-amd64
|
|
initrd http://${server_ip}/tftpboot/debian-live-cinnamon/live/initrd.img-6.1.0-32-amd64
|
|
imgargs vmlinuz-6.1.0-32-amd64 initrd=initrd root=/dev/nfs boot=live components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/debian-live-cinnamon ip=dhcp quiet splash --
|
|
boot
|
|
|
|
#Paramètres de démarrage pour KALI-LIVE-64 -- OK
|
|
:kali-live-64
|
|
kernel http://${server_ip}/tftpboot/kali-live-64/live/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/kali-live-64/live/initrd.img
|
|
imgargs vmlinuz initrd=initrd root=/dev/nfs boot=live components netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/kali-live-64 ip=dhcp quiet splash --
|
|
boot || goto menu
|
|
|
|
#Paramètres de démarrage pour SHRED OS-64 -- OK
|
|
:shredos-64
|
|
kernel http://${server_ip}/tftpboot/shredos-64/boot/bzImage console=tty3 quiet loglevel=0
|
|
boot || goto menu
|
|
|
|
#Paramètres de démarrage pour LMDE-LIVE-32 OK
|
|
:lmde-32
|
|
kernel http://${server_ip}/tftpboot/lmde-live-32/live/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/lmde-live-32/live/initrd.lz
|
|
imgargs vmlinuz initrd=initrd boot=live user=mint initrd=initrd root=/dev/nfs netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/lmde-live-32 ip=dhcp quiet nosplash --
|
|
boot || goto menu
|
|
|
|
#Paramètres de démarrage pour LMDE-LIVE-64 OK
|
|
:lmde-64
|
|
kernel http://${server_ip}/tftpboot/lmde-live-64/live/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/lmde-live-64/live/initrd.lz
|
|
imgargs vmlinuz initrd=initrd boot=live user=mint initrd=initrd root=/dev/nfs netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/lmde-live-64 ip=dhcp quiet nosplash --
|
|
boot || goto menu
|
|
|
|
#Paramètres de démarrage pour GPARTED-LIVE-64 OK
|
|
:gparted-live-64
|
|
kernel http://${server_ip}/lib/tftpboot/gparted-live-64/live/vmlinuz
|
|
initrd http://${server_ip}/tftpboot/gparted-live-64/live/initrd.img
|
|
imgargs vmlinuz initrd=initrd boot=live config components union=overlay username=user language=fr console-setup/layoutcode?=fr noswap noeject vga=788 netboot=nfs nfsroot=${server_ip}:/var/lib/tftpboot/gparted-live-64 quiet nosplash --
|
|
boot
|
|
|
|
:shell
|
|
shell
|
|
|
|
:exit
|
|
exit |