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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!