Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2000 10:39:17 -0800 (PST)
From:      "Blake R. Swensen" <blake@pyramus.com>
To:        Len Conrad <lconrad@Go2France.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: bad rc.conf, system unusable
Message-ID:  <Pine.BSF.3.91.1000129103029.26084A-100000@phil.pyramus.com>
In-Reply-To: <4.2.2.20000129183926.017833f0@mail.Go2France.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Once the system boots and drops you to a shell (single usr mode) change
the status of the / mounted filesystem to read/write (as an example, using
/dev/wd0s1a.. your mileage may vary).... 

# /sbin/mount -u -w /dev/wd0s1a /

Then mount the other filesystems so that you have access to an editor.

# mount -a

Then you can edit the /etc/rc.conf using vi, ed or whatever your favorite 
text editor is.

Reboot and all will be right with your world.

Peace,
Blake

 On Sat, 29 Jan 2000, Len Conrad wrote:

> 3.4 release: got a line in rc.conf with unterminated ", so the system is 
> read-only and unusable.
> 
> I've then booted with the 3.4R cdrom and do post-install config of the 
> network interface (the hostname line is missing the 2nd quote mark), but 
> that doesn't fix the rc.conf pb.
> 
> What's a quick way to get my system back?
> 
> tia,
> Len
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?Pine.BSF.3.91.1000129103029.26084A-100000>