5 # initramfs-tools header
21 # live-initramfs header
23 . /scripts/live-functions
25 log_begin_msg "Moving mount points"
27 # live-initramfs script
29 # Move to the new root filesystem so that programs there can get at it.
30 if [ ! -d /root/live/image ]
32 mkdir -p /root/live/image
33 mount -n --move /live/image /root/live/image
36 MOUNTED_ON=$(grep /live/image /proc/mounts 2>/dev/null | cut -f 1 -d " ")
37 if [ -n "$MOUNTED_ON" ] ; then
38 echo " -> Mounted live system on $MOUNTED_ON">/dev/console