From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 23:33:33 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 D895C16A41F for ; Tue, 6 Sep 2005 23:33:33 +0000 (GMT) (envelope-from fbrier@multideck.com) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [204.127.198.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C6E743D45 for ; Tue, 6 Sep 2005 23:33:33 +0000 (GMT) (envelope-from fbrier@multideck.com) Received: from [127.0.0.1] (c-67-191-212-89.hsd1.ga.comcast.net[67.191.212.89]) by comcast.net (rwcrmhc12) with ESMTP id <2005090623333201400arra2e>; Tue, 6 Sep 2005 23:33:32 +0000 Message-ID: <431E2784.3060801@multideck.com> Date: Tue, 06 Sep 2005 19:34:28 -0400 From: "Frederick N. Brier" Organization: Multideck Corporation User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <431DB202.2070603@multideck.com> <20050906152850.GA28262@orion.daedalusnetworks.priv> In-Reply-To: <20050906152850.GA28262@orion.daedalusnetworks.priv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 23:33:34 -0000 More info. If I "ls" either before or after setting the bootpath or module_path environment variables, the response is: "open '/' failed: no such file or directory". The "load kernel" command returns: "can't file 'kernel'". Do I need to load a module so that the 3Ware drive "twe" is loaded? The loaddev and currdev variables are both set to "disk1s1a:" Thank you again. Fred. Giorgos Keramidas wrote: >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 > > > > >