ProxmoxVE installation via PXE

sbhat

New Member
Dec 27, 2024
1
0
1
ISO to PXE method:
After converting ISO to PXE supporting initrd, linux26 using https://github.com/morph027/pve-iso-2-pxe/blob/master/README.md . I tried to kick the build via PXE. However,
1. Due to 1.6GB size of initrd, I got the error. Error: Can't allocate initrd.
2. To fix this I added ramdisk_size=24000000 to the grub.cfg I use in my PXE server (UEFI|PXE/TFTP)

I tried to use loop mounting ISO to install, eg:

Bash:
    # Replace with your TFTP server and ISO path
    echo setting iso path
    sleep 1
    set iso_path=(http,$_pxe_ip)/proxmox8/proxmox.iso

    # Mount the ISO and boot
    echo setting up loop and collecting boot images
    sleep 1
    loopback loop $iso_path
    linux (loop)/boot/linux26 boot=iso iso-scan/filename=/proxmox8/proxmox.iso
    initrd (loop)/boot/initrd.img
    boot

However, it could copy and execute initrd/linux26 without any issues from the ISO file, but it then said no ISO found.

Deploying proxmoxVE from a normal PXE seems to be very complicated. Has anyone found an easier method to install ProxmoxVE via PXE onto a baremetal easily?

Could you share some tips, pointers please?

Thanks!
sbhat