Package: live-boot Version: 4.0.2-1 I am using a self made Clonezilla 2.4.5-23-amd64 live media (filesystem.squashfs is inside clonezilla subdirectory, live-media-path=clonezilla and live-media=removable added to boot options) and with toram=filesystem.squashfs I get these errors (/var/log/live/boot.log excerpt when booted with live-boot.debug):
Begin: Copying live media to ram ... + copy_live_to /live/medium ram + copyfrom=/live/medium + copytodev=ram + copyto=/live/medium_swap + [ -z filesystem.squashfs ] + MODULETORAMFILE=/live/medium/clonezilla/filesystem.squashfs + [ -f /live/medium/clonezilla/filesystem.squashfs ] + ls -la /live/medium/clonezilla/filesystem.squashfs + awk {print $5} -la: No such file or directory + expr / 1024 + 5000 expr: syntax error + size= + [ ram = ram ] + awk /^MemFree:/{f=$2} /^Cached:/{c=$2} END{print f+c} /proc/meminfo + freespace=3853216 + mount_options=-o size=k + free_string=memory + fstype=tmpfs + dev=/dev/shm + [ 3853216 -lt ] sh: bad number + [ -z -o size=k ] + mkdir /live/medium_swap + log_begin_msg mount -t tmpfs -o size=k /dev/shm /live/medium_swap + _log_msg Begin: mount -t tmpfs -o size=k /dev/shm /live/medium_swap ... + [ n = y ] + printf Begin: mount -t tmpfs -o size=k /dev/shm /live/medium_swap ... Begin: mount -t tmpfs -o size=k /dev/shm /live/medium_swap ... + mount -t tmpfs -o size=k /dev/shm /live/medium_swap The offending code appears to be here: https://anonscm.debian.org/cgit/debian-live/live-boot.git/tree/components/9990-toram-todisk.sh#n19 Besides the errors, it is working fine. GParted live media also has this issue.