how do I change the filesystem from read-only to read-write?
How can I change my root filesystem from read only to read-write? I edited my fstab and accidentally added a tilde to the end of the filename. Now linux won't boot to the GUI and simply puts me into maintainence mode. The problem arises because the OS cannot find fstab to mount the / filesystem (or much else for that matter). I have tried changing the filename, copying the misnamed file to a new file called fstab without success; the system simply responds that the filesystem is read-only. Okay, I've logged in as root and tried chmod 0777 / and chmod +w / and even mount with the rw option all without success. I'm running RHLinus WS 3, kernel version 2.4.21 -9. I've used up my limited knowledge and would really appreciate any tips on resolving this issue.
Thanks L. Chow |
did you try removing the tilde from fstab ?
|
How about
mount -o remount,rw / |
thanks for your replies. Unfortunately, neither of those suggestions worked. Becuase the fielsystem is read-only, I can't rename or copy any files. The mount -o remount,rw / command simply failed and gave me the mount help screen. Any other ideas out there.
Thanks, Les |
OK, imagine your root partition is hda2
then try: mount -o remount,rw /dev/hda2 / I tested this and in my case it works. BTW: What's teh ouput of mount Although I have a SuSE 9.1 distribution, mount shall not be different |
Vlad, thanks. That worked. The hardest part was trying to remember which partition / was installed on. I'm back up and running. Thanks again.
les |
All times are GMT -5. The time now is 05:10 AM. |