*BSD News Article 30182


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!EU.net!ieunet!news.ieunet.ie!jkh
From: jkh@whisker.hubbard.ie (Jordan K. Hubbard)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Help!! SOS! I can't login to my FreeBSD System!!
Date: 07 May 1994 00:01:28 GMT
Organization: Jordan Hubbard
Lines: 27
Distribution: world
Message-ID: <JKH.94May7010030@whisker.hubbard.ie>
References: <2qdv2b$65k@news.tamu.edu> <2qe59e$csv@news.tamu.edu>
NNTP-Posting-Host: whisker.hubbard.ie
In-reply-to: hickman@ttisys.tamu.edu's message of 6 May 1994 19:20:14 GMT

In article <2qe59e$csv@news.tamu.edu> hickman@ttisys.tamu.edu (Dan R. Hickman) writes:
   THis is Dan again.  I figured out how to boot in single user mode,
   but it mounts the root file system as 'read-only'.  How can I 
   get it to mount as 'read-write'?  I see in the init man page
   that there are different levels of access.  It seems I need to 
   be at level one but I don't know how to do that?  Any help?

Hmmmm.  This is a FAQ.  Congradulations - you're going to be the
motivation for another FAQ entry! :-)

To re-mount root with r/w access, try:

	mount -u /dev/sd0a /

(or wd0a if you're IDE).  From the man page:

     -u      The -u flag indicates that the status of an already mounted file
             system should be changed.  Any of the options discussed above
             (the -o option) may be changed; also a file system can be changed
             from read-only to read-write.  The set of options is determined
             by first extracting the options for the file system from the
             fstab table, then applying any options specified by the -o argu-
             ment, and finally applying the -r or -w option.

					Jordan
--
Jordan K. Hubbard	FreeBSD core team	Friend to mollusks