Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-25-2004, 07:26 PM
|
#1
|
LQ Newbie
Registered: May 2004
Posts: 3
Rep:
|
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
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
05-25-2004, 07:54 PM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
did you try removing the tilde from fstab ?
|
|
|
05-26-2004, 10:25 AM
|
#3
|
Member
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299
Rep:
|
How about
mount -o remount,rw /
|
|
2 members found this post helpful.
|
05-26-2004, 12:51 PM
|
#4
|
LQ Newbie
Registered: May 2004
Posts: 3
Original Poster
Rep:
|
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
|
|
|
05-26-2004, 01:12 PM
|
#5
|
Member
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299
Rep:
|
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
|
|
1 members found this post helpful.
|
05-26-2004, 04:14 PM
|
#6
|
LQ Newbie
Registered: May 2004
Posts: 3
Original Poster
Rep:
|
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:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|