From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 15:29:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 289DD16A41F for ; Tue, 6 Sep 2005 15:29:11 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23F9643D46 for ; Tue, 6 Sep 2005 15:28:59 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j86FSvdP030535; Tue, 6 Sep 2005 18:28:57 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j86FSuUv028275; Tue, 6 Sep 2005 18:28:56 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j86FSp3s028274; Tue, 6 Sep 2005 18:28:51 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) X-Authentication-Warning: orion.daedalusnetworks.priv: keramida set sender to keramida@ceid.upatras.gr using -f Date: Tue, 6 Sep 2005 18:28:51 +0300 From: Giorgos Keramidas To: "Frederick N. Brier" Message-ID: <20050906152850.GA28262@orion.daedalusnetworks.priv> References: <431DB202.2070603@multideck.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <431DB202.2070603@multideck.com> Cc: freebsd-questions@freebsd.org Subject: Re: Repairing "kernel not found" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 15:29:11 -0000 On 2005-09-06 11:13, "Frederick N. Brier" wrote: > Giorgos Keramidas was kind enough to point me at the boot0cfg command > and I had already tried the disklabel command, but my 5.4 system still > won't boot. The boot0cfg and disklabel commands executed fine, but it > is still saying it can't find or load the kernel file despite it being > in the correct directory on the correct slice. You can interrupt the boot loader and at the OK prompt run "ls" to see what the loader has mounted as the root partition. Then, assuming that you locate your kernel in ``/boot/kernel/kernel'', loading a specific kernel can be done with: OK set bootfile=/boot/kernel/kernel OK set module_path=/boot/kernel OK load kernel OK boot