From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 09:34:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B74616A4CE for ; Mon, 19 Jul 2004 09:34:13 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FFF43D48 for ; Mon, 19 Jul 2004 09:34:12 +0000 (GMT) (envelope-from henrik.w.lund@broadpark.no) Received: from [10.0.0.3] (52.80-202-129.nextgentel.com [80.202.129.52]) by mail.broadpark.no (Postfix) with ESMTP id 6F62E63DA; Mon, 19 Jul 2004 11:34:43 +0200 (MEST) Message-ID: <40FC142A.8090605@broadpark.no> Date: Mon, 19 Jul 2004 11:34:18 -0700 From: Henrik W Lund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: nb, en-us, en MIME-Version: 1.0 To: pura life CR References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: priority on rc script caused panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 09:34:13 -0000 pura life CR wrote: > Hi. > > I added a process with high priority (nice -20) to be loaded each time > system boots. It is located in /usr/local/etc/rc.d. > > Apparently, the process consume too much cpu time which make it > imposible to log in. > > I cant do anything from the boot loader, because i cant cd to /usr to > remove the script. > > Any suggestion?. > > The system is on a virtual machine. > > thanks. > > eugene tooms. > > Greetings! Have you tried this? 1. When the countdown starts, right after the BTX loader has finished, press any key other than for the prompt. 2. Type boot -s to boot into single user mode. 3. When asked for a shell for root, hit (this will give you the sh shell). Alternatively, type /bi n/csh, then . This will give you the C shell, and tab completion. Essential if you are to do much of anything, IMO. 4. fsck -y 5. mount /usr 6. Do whatever it is you want to do in /usr, and reboot. You may have to provide the absolute paths for fsck and mount, I don't recall at the moment if PATH is set in single user mode. Hope this helps! -Henrik W Lund