LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-01-2001, 11:55 AM   #1
marksstroud
LQ Newbie
 
Registered: Sep 2001
Location: Irving,TX
Distribution: Suse 7.1 Pro
Posts: 25

Rep: Reputation: 15
Red face root


How do you make the root writeable?Somehow I read only enabled it while tryiny to mount my zip drive.Was it that line infstab that did it?Now I can't edit fstab and I'm stuck!
 
Old 11-01-2001, 05:59 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
ok... this is a new one.

i take it that you're already logged in as root, and still can't edit the file. have you tried unmounting and then re-mounting the partition as writeable?
 
Old 11-01-2001, 06:54 PM   #3
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Rep: Reputation: 30
If your logged in as root just change the permissions on it,
Try "chmod 755 <filename>" & that will let you write to it.
Being logged in as root dosent neccesarily mean you can edit everything, but you CAN change the permissions to edit anything you want (assuming your root)

amp2000

Last edited by amp2000; 11-01-2001 at 06:59 PM.
 
Old 11-03-2001, 04:32 PM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
If you have mounted your / partition as read-only then you need to unmount and then remount it as read-write as isajera said.
When mounted as read-only nothing can write to it, this is done when booting the system to check if the system was shutdown properly.
If all is okay then the system unmounts and remounts the / partition as read-write.

If you can't unmount your / partition try to boot the system using a rescue floppy/cd. This will make your / partition available to edit any misconfigured files.
 
Old 11-08-2001, 07:40 PM   #5
torne
LQ Newbie
 
Registered: Nov 2001
Location: Cambridge, UK
Distribution: Debian!
Posts: 13

Rep: Reputation: 0
Remounting R/W

To remount the root as RW after the machine has started, type (as root):
mount -o remount,rw /dev/hda3 /
Change hda3 to your root partition, obviously. =)

From there you should be able to fix the fstab.

Torne
Electric Wuffpup.
 
  


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
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 09:32 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 05:14 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 04:06 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 10:18 AM

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

All times are GMT -5. The time now is 09:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration