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:
Error details:
I've confirmed that the sha256sum of the ISO image matches:
Herewith the commands we use to package the ISO inside the compress installer kernel:
PS: Installing the nested guest using ISO media attached to the virtual's CD drive works fine...
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:
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
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
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...