5 # initramfs-tools header
22 # live-initramfs header
24 . /scripts/live-functions
26 if [ -n "${NOFSTAB}" ]
31 log_begin_msg "Configuring fstab"
33 # live-initramfs script
35 # Create a fake fstab only if it is not already there
36 if [ ! -f "${FSTAB}" ] || grep -qs 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}"
38 cat >> ${FSTAB} << EOF
39 # /etc/fstab: static file system information.
41 # <file system> <mount point> <type> <options> <dump> <pass>
43 ${UNIONTYPE} / ${UNIONTYPE} rw 0 0
44 tmpfs /tmp tmpfs nosuid,nodev 0 0
49 #rm -f /root/etc/rcS.d/S*checkroot.sh
51 if [ "${NOFASTBOOT}" != "Yes" ]