In some cases (at least in mine) mount(8) is in /usr/bin/mount and not in /bin/mount as dmsquash-live-root.sh expects. PATH is set to /usr/bin:/usr/sbin:/sbin:/bin in that script anyway. --- modules.d/90dmsquash-live/dmsquash-live-root.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh index fdbd6f5..990a55b 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root.sh +++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh @@ -204,7 +204,7 @@ if [ -b "$BASE_LOOPDEV" ]; then ln -s $BASE_LOOPDEV /run/initramfs/live-baseloop fi ln -s /dev/mapper/live-rw /dev/root -printf '/bin/mount %s /dev/mapper/live-rw %s\n' "$ROOTFLAGS" "$NEWROOT" > $hookdir/mount/01-$$-live.sh +printf 'mount %s /dev/mapper/live-rw %s\n' "$ROOTFLAGS" "$NEWROOT" > $hookdir/mount/01-$$-live.sh need_shutdown -- 1.7.10.2 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html