Creating the mountfs script

Create a new file /etc/init.d/mountfs containing the following:



#!/bin/sh
# Begin /etc/init.d/mountfs

source /etc/init.d/functions

echo -n "Remounting root file system in read-write mode..."
/bin/mount -n -o remount,rw /
evaluate_retval

echo > /etc/mtab
/bin/mount -f -o remount,rw /

/bin/rm -f /fastboot /forcefsck

echo -n "Mounting other file systems..."
/bin/mount -a
evaluate_retval

# End /etc/init.d/mountfs