From owner-freebsd-questions@FreeBSD.ORG Mon Nov 14 21:30:14 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 0B8B916A424 for ; Mon, 14 Nov 2005 21:30:14 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8311A43D45 for ; Mon, 14 Nov 2005 21:30:13 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail3.panix.com (Postfix) with ESMTP id 9C96313A9C6; Mon, 14 Nov 2005 16:30:12 -0500 (EST) Received: from teddy.fas.com (pcp08632294pcs.mplsnt01.sc.comcast.net [68.58.232.106]) by mailspool2.panix.com (Postfix) with ESMTP id 9EF536A0663; Mon, 14 Nov 2005 16:30:12 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1Ebltz-0000X4-00; Mon, 14 Nov 2005 16:30:11 -0500 Date: Mon, 14 Nov 2005 16:30:11 -0500 From: stan To: tim cle Message-ID: <20051114213011.GA1854@teddy.fas.com> Mail-Followup-To: tim cle , freebsd-questions@freebsd.org References: <20051114141017.GA17855@teddy.fas.com> <20051114202809.5801.qmail@web50310.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051114202809.5801.qmail@web50310.mail.yahoo.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 16:24:40 up 9 days, 4:45, 2 users, load average: 0.00, 0.03, 0.02 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: bootloader (I think ?) question 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: Mon, 14 Nov 2005 21:30:14 -0000 On Mon, Nov 14, 2005 at 12:28:09PM -0800, tim cle wrote: > > > --- stan wrote: > > > I'm trying to recover a machine whose disk failed. I > > ook the new disk > > hooked it up to another working FreeBSD machine, and > > used /stand/sysinstall > > to partiton the new disk. Then i mounted the various > > partiton and recovered > > all the disks data using Amanda. > > > > I'm failry certain I've done this with succes in the > > past, but this time > > it's not working. > > > > When I put the drive in the PC it's intended to be > > for, as the aster > > dirive, it boots up to the second interactive point > > (the place where it > > tells you you have n seconds to hit any key, and > > counts down), however it > > goes no further than that, At tht point , I havean > > "ok" prompt, and an > > lsdev shos whe drive as drive 1. > > > > What do I need to do to get this drive booting? > > > > Hello, > > Before you do anything, you should first back up all > the data from the disk that failed onto a new disk, > given that the disk has already failed, there is the > very real possibility that it will fail again, soon. Umm, did I not make it plain that this was a _new_ disk, with all ata restired from (Amanda) backup? > > Put simply, the loader is not executing the kernel. > There are a number of possible reasons for this: 1 - > the loader is not able to work out what disk to > attempt the boot process on, 2 - the loader has found > a disk, but cannot find the kernel, 3 - the loader has > found the kernel but is unable to load it. The loader was running. Turns out that I creaed teh replacement disk on a version 5 system, and the old machine (thus the resored data) was from V5 system, Thus I had a V5 loader trying to access FFS filessytems that were formated by a V5 system. THIS DOES NOT WORK. Is this documented somewhere? > > You said lsdev can find disk1, so I suspect that it > cannot find the kernel. The kernel is a file on the > file system. Given that you said the disk failed, then > i would suspect that an fsck is required on the root > file system (after you have backup of all data you > want to protect). > > After you have done the fsck, you might want to also > go into the /boot directory and make sure the file > "kernel" still actually exists. In vereion 4 the kerenl is in the / directory, not /boot. Thanks for the help. -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967