PVE installer from PXE, help with parameters

sacarias

Well-Known Member
Oct 2, 2019
65
1
48
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: