I've a netboot Linux server where the the /root
is mounted as readonly.
# Set to 'yes' to mount the system filesystems read-only. READONLY=yes # Set to 'yes' to mount various temporary state as either tmpfs # or on the block device labelled RW_LABEL. Implied by READONLY TEMPORARY_STATE=yes # Place to put a tmpfs for temporary scratch writable space RW_MOUNT=/var/lib/stateless/writable # Label on local filesystem which can be used for temporary scratch space RW_LABEL=stateless-rw # Options to use for temporary mount RW_OPTIONS= # Label for partition with persistent data STATE_LABEL=stateless-state # Where to mount to the persistent data STATE_MOUNT=/var/lib/stateless/state # Options to use for peristent mount STATE_OPTIONS= CLIENTSTATE=
I can see the files/directories on /etc/rwtab
mounted in the temporary read-write filesystem. Now I would like to add files/directories to this list /etc/rwtab
and unable to do so as itself readonly.
Now, I need to install software and update some configurations. Do I have to remount the root partition.
# mount -o remount,rw /
This is a Production server.