From owner-freebsd-questions Sun Aug 27 15:53:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id BCAA337B42C for ; Sun, 27 Aug 2000 15:53:47 -0700 (PDT) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.16 #1) id 13TAS6-000PrC-00; Sun, 27 Aug 2000 22:58:54 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id WAA43235; Sun, 27 Aug 2000 22:58:54 +0100 (BST) (envelope-from ben) Date: Sun, 27 Aug 2000 22:58:54 +0100 From: Ben Smithurst To: Craig Chaney Cc: freebsd-questions@freebsd.org Subject: Re: Corupt rc.local file... Won't Completely Boot Message-ID: <20000827225854.M64260@strontium.scientia.demon.co.uk> References: <003601c01067$199142c0$a3b746a6@COOK> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <003601c01067$199142c0$a3b746a6@COOK> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Craig Chaney wrote: > I recently uninstalled a package but forgot to remove the entry from > rc.local. When I try to boot rc.local loads the program immediatly before > the uninsatlled program then hangs. It will not boot enough to get access to > the console. Is there anything I can do to temporarily rename the file so I > can get in and edit the file? If so how? Boot into single user mode ("boot -s" at the "ok" prompt) and edit the rc.local file from there. You'll need to do "mount -a" to mount /usr and other filesystems you might need, you might need an explicit "mount /" to get the root filesystem read-only, I'm not sure if the "mount -a" will do that or not. -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message