Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Nov 2000 20:00:31 +0000
From:      Qiang Xu <qxu@surface.ee.uh.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   about lab.conf
Message-ID:  <3A085F5F.8D430646@surface.ee.uh.edu>

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

--------------E38F64D897603709C523519F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dear Sir/Madam:
                I met a problem. Since I want to build a lab running on
FreeBSD, I change the rc.conf file. I add .etc/lab.conf at the end. But
I make some mistake in the lab.conf file, I lose ;; in the case
statement. Then when I reboot, system tell me there is mistake in
lab.conf and then ask me to run /bin/sh, then there is the # prompt, and
no login. So I could not login as root or other users.
               I try to do the following:
         1. rewrite the lab.conf on the other PC, then try to overwrite
it, but it tell me the lab.conf is readonly file system
         2. I try to run vi to modify the lab.conf on the local PC, but
vi doesn't run.

         What I should do?

         Thank you.

Xu, Qiang

--------------E38F64D897603709C523519F
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dear Sir/Madam:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I met a problem. Since I want to build a lab running on FreeBSD, I change
the <b><i>rc.conf </i></b>file. I add<b> <i>.etc/lab.conf </i></b>at the
end. But I make some mistake in the <b><i>lab.conf</i></b> file, I lose
<b>;;</b> in the <b>case</b> statement. Then when I reboot, system tell
me there is mistake in <b>lab.conf</b> and then ask me to run /bin/sh,
then there is the # prompt, and no login. So I could not login as root
or other users.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I try to do the following:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. rewrite the lab.conf
on the other PC, then try to overwrite it, but it tell me the lab.conf
is readonly file system
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. I try to run vi
to modify the lab.conf on the local PC, but vi doesn't run.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What I should do?
<br>&nbsp;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank you.
<p>Xu, Qiang</html>

--------------E38F64D897603709C523519F--

_______________________________________________
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html


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?3A085F5F.8D430646>