Results 1 to 2 of 2
Hi,
I am running Cent OS 5.2 on a dedicated server.
I was trying to install quotas: yum install quotas
And then I modified /etc/fstab
LABEL=/ / ext3 defaults ,usrquota,grpquot ...
- 01-23-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 2
[SOLVED] Readonly root partition
Hi,
I am running Cent OS 5.2 on a dedicated server.
I was trying to install quotas: yum install quotas
And then I modified /etc/fstab
LABEL=/ / ext3 defaults,usrquota,grpquot 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hda2 swap swap defaults 0 0
Instead of typing (,usrquota,grpquota) i have typed (,usrquota,grpquot) and this has lead to some error and the root is read-only now. I am not able to edit it and save it even with using :!w from vi editor
Before my /etc/mtab was
/dev/hda3 / ext3 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hda1 /boot ext3 rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
But now it is automatically changed to
/dev/hda3 / ext3 rw 0 0
proc /proc proc rw 0 0
I am also not able to change it to previous state as the entire partition is read-only. Could some one guide me how to solve this issue.
Thanks a lot
- 01-25-2009 #2Just Joined!
- Join Date
- Jan 2009
- Posts
- 2
Hi,
I was able to solve it myself.
I remounted the root partition in rw mode and changed the mtab file. Now everything is good.
mount -o remount,rw /dev/hda2
Thank you


