Create PXE bootable Proxmox installation
cpio file zstd gzip genisoimage
packages~/Downloads/proxmox-ve_6.4-1.iso
)pve-iso-2-pxe.sh
with the path to the ISO file as parameter
bash pve-iso-2-pxe.sh ~/Downloads/proxmox-ve_6.4-1.iso
linux26
and initrd
(including ISO) will copied to the sub-directory pxeboot
located relative to the iso file (e.g. ~/Downloads/pxeboot
)linux26
and initrd
to a directory of your webserver (e.g. /var/www/proxmox/${version})#!ipxe
dhcp
set serverip http://192.168.1.1 //Modify this to match the ip address or domain of your webserver
set pveversion 6.2 //Modify this to match the version you want to install
set opts "vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet initrd=initrd"
menu Please choose an operating system to boot
item normal Install Proxmox
item debug Install Proxmox (Debug Mode)
choose --default normal --timeout 5000 target && goto ${target}
:debug
set kernel "${webserver}/proxmox/${pveversion}/linux26 ${opts} splash=verbose proxdebug"
goto init
:normal
set kernel "${webserver}/proxmox/${pveversion}/linux26 ${opts} splash=silent"
goto init
:init
initrd ${webserver}/proxmox/${pveversion}/initrd
chain ${kernel}
linux26
and initrd
to a directory of your webserver (e.g. /var/www/proxmox/${version})label proxmox-install-http
menu label Install Proxmox HTTP
linux http://${webserver}/proxmox/${version}/linux26
initrd http://${webserver}/proxmox/${version}/initrd
append vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=silent
label proxmox-install-http
menu label Install Proxmox HTTP (Debug)
linux http://${webserver}/proxmox/${version}/linux26
initrd http://${webserver}/proxmox/${version}/initrd
append vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=silent proxdebug
on your PXE server, create a directory proxmox/${version} in your PXE root directory (e.g. /var/lib/tftpboot/ or /srv/pxe/)
copy/move linux26
and initrd
to this directory
add the following lines to your PXE config file (mind the important parameter ramdisk_size or the initrd won't fit into default memory):
label proxmox-install
menu label Install Proxmox
linux proxmox/${version}/linux26
append vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=silent
initrd proxmox/${version}/initrd
label proxmox-debug-install
menu label Install Proxmox (Debug Mode)
linux proxmox/${version}/linux26
append vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=verbose proxdebug
initrd proxmox/${version}/initrd
be happy and think about supporting the great guys at Proxmox!