PVE 6.0 - PXE installation fails

Jun 8, 2016
344
69
68
47
Johannesburg, South Africa
Hi,

We've been PXE booting the ISO for several years, it makes it substantially easier and faster to load equipment. We use the steps detailed in the following forum post and presume that it has Proxmox's blessings as the ISO is pre-prepared to search for the ISO image in the installation ramdisk.



We get the following error when attempting to install PVE 6.0 in a nested PVE 6.0 environment, using PXE:
installation of package pve-kernel-5.0.15-1-pve_5.0.15-1_amd64.dev failed
pve-6.0-nested_failed.jpg

Error details:
pve-6.0-nested_failed_detail.jpg


I've confirmed that the sha256sum of the ISO image matches:
[admin@unix-01 Proxmox]# sha256sum proxmox-ve_6.0-1.iso | grep e39315b1fc5c27ab76cbdb69a138507c19dacf1ca46cde02bea48e17791d1d50
e39315b1fc5c27ab76cbdb69a138507c19dacf1ca46cde02bea48e17791d1d50 proxmox-ve_6.0-1.iso


Herewith the commands we use to package the ISO inside the compress installer kernel:
mount -o loop /root/proxmox-ve_6.0-1.iso /media/cdrom;
mkdir /tftpboot/pxe/images/proxmox/6.0;
cd /tftpboot/pxe/images/proxmox/6.0;
cp /media/cdrom/boot/linux26 .;
cp /media/cdrom/boot/initrd.img initrd.org.img;
umount /media/cdrom;
gzip -d -S ".img" initrd.org.img;
mkdir initrd.tmp;
cd initrd.tmp;
cpio -i -d < ../initrd.org;
cp /root/proxmox-ve_6.0-1.iso proxmox.iso;
find . | cpio -H newc -o > ../initrd;
cd ..;
gzip -9 -S ".img" initrd;
rm -rf initrd.org initrd.tmp;
chown nobody.nobody . -R;
chmod ugo=rX . -R;


PXE Boot Menu:
nano /tftpboot/pxe/pxelinux.cfg/install
LABEL proxmox-6.0
MENU LABEL Proxmox 6.0 Install
KERNEL images/proxmox/6.0/linux26
APPEND initrd=images/proxmox/6.0/initrd.img splash=verbose vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw



PS: Installing the nested guest using ISO media attached to the virtual's CD drive works fine...
 
  • Like
Reactions: Alex Turner
0N8B}(EA6`Q99CMUMNU@YT2.png When I install proxmox6.0 is unable to continue, need help, thank you! !
 
Hi,

We've been PXE booting the ISO for several years, it makes it substantially easier and faster to load equipment. We use the steps detailed in the following forum post and presume that it has Proxmox's blessings as the ISO is pre-prepared to search for the ISO image in the installation ramdisk.



We get the following error when attempting to install PVE 6.0 in a nested PVE 6.0 environment, using PXE:
installation of package pve-kernel-5.0.15-1-pve_5.0.15-1_amd64.dev failed​

Error details:


I've confirmed that the sha256sum of the ISO image matches:
[admin@unix-01 Proxmox]# sha256sum proxmox-ve_6.0-1.iso | grep e39315b1fc5c27ab76cbdb69a138507c19dacf1ca46cde02bea48e17791d1d50
e39315b1fc5c27ab76cbdb69a138507c19dacf1ca46cde02bea48e17791d1d50 proxmox-ve_6.0-1.iso

Herewith the commands we use to package the ISO inside the compress installer kernel:
mount -o loop /root/proxmox-ve_6.0-1.iso /media/cdrom;
mkdir /tftpboot/pxe/images/proxmox/6.0;
cd /tftpboot/pxe/images/proxmox/6.0;
cp /media/cdrom/boot/linux26 .;
cp /media/cdrom/boot/initrd.img initrd.org.img;
umount /media/cdrom;
gzip -d -S ".img" initrd.org.img;
mkdir initrd.tmp;
cd initrd.tmp;
cpio -i -d < ../initrd.org;
cp /root/proxmox-ve_6.0-1.iso proxmox.iso;
find . | cpio -H newc -o > ../initrd;
cd ..;
gzip -9 -S ".img" initrd;
rm -rf initrd.org initrd.tmp;
chown nobody.nobody . -R;
chmod ugo=rX . -R;
PXE Boot Menu:
nano /tftpboot/pxe/pxelinux.cfg/install
LABEL proxmox-6.0
MENU LABEL Proxmox 6.0 Install
KERNEL images/proxmox/6.0/linux26
APPEND initrd=images/proxmox/6.0/initrd.img splash=verbose vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw



PS: Installing the nested guest using ISO media attached to the virtual's CD drive works fine...

+1
 

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!