Date: Sun, 27 Aug 2000 22:58:54 +0100 From: Ben Smithurst <ben@FreeBSD.org> To: Craig Chaney <cookfire@xmission.com> Cc: freebsd-questions@freebsd.org Subject: Re: Corupt rc.local file... Won't Completely Boot Message-ID: <20000827225854.M64260@strontium.scientia.demon.co.uk> In-Reply-To: <003601c01067$199142c0$a3b746a6@COOK> References: <003601c01067$199142c0$a3b746a6@COOK>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000827225854.M64260>