From owner-freebsd-questions Wed Sep 22 11: 0:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id B500815490 for ; Wed, 22 Sep 1999 10:59:41 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11TqfB-000Ame-00; Wed, 22 Sep 1999 19:58:41 +0200 From: Sheldon Hearn To: Monte Westlund Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bad rc.conf? In-reply-to: Your message of "Wed, 22 Sep 1999 10:51:21 MST." <3.0.5.32.19990922105121.007abbd0@memes.com> Date: Wed, 22 Sep 1999 19:58:41 +0200 Message-ID: <41448.938023121@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Sep 1999 10:51:21 MST, Monte Westlund wrote: > I have COPIED /etc/defaults/rc.conf to /etc/rc.conf, and now the machine > (486) either won't boot or is just taking a very long time to boot. Part of the solution is easy, part isn't. The easy bit is to boot into single user mode and remove /etc/rc.conf. At the boot prompt, type: boot -s When you get into the single-user shell, you'll need to re-mount your root partition read-write: mount / Now you can just nuke /etc/rc.conf: rm /etc/rc.conf Of course, your system now has no overrides for the default values in /etc/defaults/rc.conf. if you have a backup of your /etc/rc.conf, you're in luck. Otherwise, you'll have to create your own /etc/rc.conf. For that, you'll need /usr, /var and /tmp (if you want to use vi, of course). Mount them as you did / . Good luck. Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message