LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-25-2004, 06:26 PM   #1
les_chow
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
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.
Old 05-25-2004, 06:54 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
did you try removing the tilde from fstab ?
 
Old 05-26-2004, 09:25 AM   #3
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
How about
mount -o remount,rw /
 
2 members found this post helpful.
Old 05-26-2004, 11:51 AM   #4
les_chow
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 05-26-2004, 12:12 PM   #5
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
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.
Old 05-26-2004, 03:14 PM   #6
les_chow
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read and Write to Ext3 Filesystem from Windows onto Linux lennysokol Linux - General 34 01-22-2014 09:07 AM
Fedora core 3 apparently not remounting root filesystem read-write during boot amundsen_eric Fedora 3 05-17-2005 05:46 AM
convert read only filesystem to write?... snip128 Linux - General 3 10-06-2004 08:06 PM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 11:33 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration