Proxmox installation fails

Hello,

Getting error at the end of installation of proxmox (Based on Debian):
bootloader setup errors: unable to install initramfs

Steps I have taken:

  • lxc init prox1 --vm --empty -c security.secureboot=false
  • lxc config set prox1 limits.cpu 2
  • lxc config set prox1 limits.memory 4GiB
  • lxc config device add prox1 cdrom disk source=/home/user/Downloads/proxmox-ve_6.2-1.iso
  • lxc start prox1 --console=vga

Thanks in advance

Hi!

If you search for proxmox "unable to install initramfs", you will find several results. This is a proxmox issue, and I dare to guess that the problem is with the too little available space in the LXD VM for proxmox. I think the default disk space for a LXD VM is 2GB or so.

You can check if diskspace is the issue, if you run the following command after you lxc init.

 lxc config device override prox1 root size=20GB 
3 Likes

Exactly as you said, insufficent disk size was issue… I was somehow convinced that default size is 20GB, but after rewatching recently published video made on LXD Youtube channel, I realized default is 10GB… Many thanks for your help!