Root filesystem access
1 Manually make root filesystem writable
On r700, per default the root filesystem ('/') is read-only.
To change it to writable, remount the filesystem with different settings.
Telnet to the box, login as root and remount in read-write mode.
/bin/mount -o remount -w /
2 Automatically make root filesystem writable
After reboot of the system, the filesystem is read-only again. Seems like modifying /etc/fstab does not really help, / is still mounted read only
Solution is a script that remounts automatically on boot.
Create a script making the root fs writable on boot, e.g. via 'vi'.
Filename: /etc/init.d/S20makeRootDiskRW
#!/bin/sh
#
# This script changes the root disk mount option, to make it writable
# (default is read-only)
#
start() {
echo "Starting remounting root read-write..."
/bin/mount -o remount -w /
echo "Remounting root read-write completed."
}
stop() {
echo "Starting remounting root read-only..."
/bin/mount -o remount -r /
echo "Remounting root read-only completed."
}
restart() {
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
To test, simply execute 'reboot' on the command line, the cube will reboot.
page_revision: 1, last_edited: 1217516290|%e %b %Y, %H:%M %Z (%O ago)





