How to change read-only mount to read-write ?
Hi,
I'm running vanilla 2.6.27.35 on Embedded Pentium-M board. The disk is divided into 2 ext3 partitions. The first is where bzImage+grub+busybox is installed. The second is for the user. In menu.lst I set the first partition to be read only. How can a root user change it temporarily to read-write in order to make some changes in /etc using telnet ? Thanks, Zvika. |
Edit /etc/fstab to change "ro" to "rw" for the first partition, then change it back.
|
/etc/fstab is also read only
Quote:
I can not edit /etc/fstab. It is also read only. Thanks, Zvika. |
Solution
The command:
mount -o remount rw / converts the partition to read-write till the next reboot. Thanks. |
Root privileges are needed to edit /etc/fstab. You need edit it with root privileges, however that is done in your distro.
|
All times are GMT -5. The time now is 04:54 PM. |