Ok so I know the difference between the functionality of live verses a normal iso but I want to know what boot parameters / startup scripts are different that are fed to the initramfs/dracut that make the system understand that this is a live iso? I have been trying to get a pxe image to boot as a live all in ram os and I have booted using a normal file system (ie just rsynced from the / of a running system and use that as my root via nfs). it boots but I created a new initramfs containing dmsquash-live livenet and nfs and using the pxelinux/default below I get the following error

timeout 50
ONTIMEOUT autoboot

menu title ########## PXE Boot Menu ##########

label 1
menu label ^1) Install CentOS 8 x64 with Local Repo
kernel vmlinuz-4.18.0-193.14.2.el8_2.x86_64
append initrd=initramfs-live.img  ip=dhcp root=live:nfs: rw rd.live.ram=yes selinux=0  net.ifnames=0 biosdevname=0

error I get is #dracut warning: failed to download live image

so my questions:

must a live iso contain a squashfs.img file system?

what is the difference between the live and normal iso, just that the live tells system to not load into a local storage device or that it must go into ram?

(because technically if live just means no persistent storage or loaded from an external device a non persistent pxe boot is like a live instantiation) I have that using a regular non compressed root file system and it boots fine, but it is constantly referring back to that root location via nfs on the server not locally in ram like I need.

can anyone clear up the minimum requirements needed to boot a live os in ram, whether that be from a usb or a pxe boot?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.