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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-25-2004, 06: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
|
|
|
|
05-25-2004, 06:54 PM
|
#2
|
|
Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
did you try removing the tilde from fstab ?
|
|
|
|
05-26-2004, 09: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 /
|
|
|
1 members found this post helpful.
|
05-26-2004, 11:51 AM
|
#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, 12: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, 03: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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:23 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
|
|