iPXE discussion forum

Full Version: Boot into TrueNAS installer via iPXE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have iPXE service setup in my network. It is working fine so far.

I download a VyOS ISO installer and the installer in my iPXE environment and this is the iPXE script:

Code:
set inst-dir http://install.example.com/vyos
kernel ${inst-dir}/live/vmlinuz initrd=initrd.magic boot=live nopersistence noautologin nonetworking fetch=${inst-dir}/live/filesystem.squashfs
initrd ${inst-dir}/live/initrd.img-5.10.116-amd64-vyos
boot

The script is working and I can boot into the installer from iPXE.

Next, I try to do similar configuration on TrueNAS Scale ISO:

Code:
set inst-dir http://installer.example.com/truenas
kernel ${inst-dir}/vmlinuz initrd=initrd.magic boot=live fetch=${inst-dir}/live/filesystem.squashfs
initrd ${inst-dir}/initrd.img
boot

But the script can't boot successfully. It show a message: No installation media found after fetching the filesystem.squashfs.
Please note that this forum is not active any more, use GitHub discussions instead. (Closing this)

You probably need to ask the dist on how to do the squashfs fetch, it might not be supported. And you might need to disect the init script and even modify them to get it working.
Reference URL's