代码拉取完成,页面将自动刷新
/tmp/pve-iso
)pve-iso-2-pxe.sh
with the path to the ISO file as parameter (you need to be root or sudo for the loop mount)linux26
and initrd.iso.img
(including ISO) will copied to the sub-directory pxeboot
linux26
and initrd.iso.img
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.iso.img
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.iso.img
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.iso.img
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.iso.img
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.iso.img
be happy and think about supporting the great guys at Proxmox!
linux26
and initrd.iso.img
to a directory of your webserver (e.g. /var/www/proxmox/${version})#!ipxe
dhcp
set serverip 192.168.1.1 //Modify this to match the ip adress or domain of your webserver
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
kernel http://${webserver}/proxmox/${version}/linux26 vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=verbose proxdebug initrd=initrd.iso.img
goto init
:normal
kernel http://${webserver}/proxmox/${version}/linux26 vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=silent initrd=initrd.iso.img
goto init
:init
initrd http://${webserver}/proxmox/${version}/initrd.iso.img
boot
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。