PVE installer from PXE, help with parameters

sacarias

Active Member
Oct 2, 2019
64
1
26
So I extracted linux26 and initrd.img from Proxmox ISO, and prepared a new initrd.img by copying ISO inside it. Then put both files in the PXE server.
The grub config entry is like this (based on Proxmox ISO's /boot/grub/grub.cfg):
Code:
menuentry 'Proxmox Installer'{
   bootoptions=ramdisk_size=16777216 rw quiet splash=silent
   linux <url>/proxmox/linux26 $bootoptions
   initrd <url>/proxmox/initrd.iso.img
}

This seemingly works as expected.
But I had few doubts about the parameters.

I noticed both "linux <url>" "initrd <url>" and "linuxefi <url>" "initrdefi <url>" worked; in fact when booting I read in the console "EFI boot mode detected" in both cases. What's the difference between both? Which one should I use?

The other doubt, I put ramdisk size as 16 Gb because that's how it comes in ISO's grub.cfg by default. Is it the recommended size for real? What if server has only 8 Gb RAM as base, for whatever reason?

Thanks.
 
Last edited:

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!