Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Oct 2000 12:19:29 -0400
From:      "Andresen,Jason R." <jandrese@mitre.org>
To:        huppe@mailtag.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: I'm locked out
Message-ID:  <39E1F011.13A6CEBC@mitre.org>
References:  <39E1EEAC.CB16CFB1@mailtag.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Len Huppe wrote:
> 
> Hi All,
> 
> I have a typo/syntax error in my /etc/rc.conf file, and I am now locked
> out of my system.  I don't know how to get back in and edit the file.
> The kernel lets me run a shell but the root partition is mounted as
> read-only.  Can somebody tell me how I can mount the drive and correct
> the typo?
> 
> I tried running a "fixit" session from the live filesystem on CD 2 of
> the distribution set,but it won't let me run the mount command.
> 

Boot single user (boot -s) and when you get a shell, type mount / to
mount / rw and affect repairs to your rc.conf.

-- 
   _  _    _  ___  ____  ___   ______________________________________
  / \/ \  | ||_ _||  _ \|___| | Jason Andresen -- jandrese@mitre.org
 / /\/\ \ | | | | | |/ /|_|_  | Views expressed may not reflect those 
/_/    \_\|_| |_| |_|\_\|___| | of the Mitre Corporation.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39E1F011.13A6CEBC>