From owner-freebsd-questions@FreeBSD.ORG Thu Apr 12 08:04:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2707316A400 for ; Thu, 12 Apr 2007 08:04:55 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id B3DF813C44C for ; Thu, 12 Apr 2007 08:04:54 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so264653ugh for ; Thu, 12 Apr 2007 01:04:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tTdPSN0eWDCNK4qQhubQU9SyCruFp/pi7rjKpmyKynGCok+0oftQOLYLw31kBzj/SR4dJLtnWcdEcweO36itYcfrQd7HKXUpk0anLxaP1C12hsrDZDvvr0BnY2S8oODqWcxD73ITrI7ShFczpgepwCymCVy3Dgq4FO9cxXn8GSM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CKJcgPRvoWd9PEP1qZWavyN0gxrUVRsjgX76ZVbYo1XA5lFTm/+hGaIMTcVLXSdbcgxDBp7OUHKknBrMFvzEViW7kdNvmkXEqw4C/m16GnnOpWgrwIok5bqLAHJxYKCrj2FdaDConB1+p/nts16ipdy4nD5Cc3hKZmgt3VLz7OM= Received: by 10.82.152.16 with SMTP id z16mr1963462bud.1176365093547; Thu, 12 Apr 2007 01:04:53 -0700 (PDT) Received: by 10.82.175.1 with HTTP; Thu, 12 Apr 2007 01:04:53 -0700 (PDT) Message-ID: Date: Thu, 12 Apr 2007 03:04:53 -0500 From: "illoai@gmail.com" To: "Chris Hesselrode" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: FileSystem Fix 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: Thu, 12 Apr 2007 08:04:55 -0000 On 12/04/07, Chris Hesselrode wrote: > My friend took out a hard disk we had in a computer, that ran an > internal web server, threw it in a new box, as a secondary drive. Now > that I've smacked him around a bit, and put it back in the original > box, it won't boot. When doing an fsck it comes back with: > > mount reload of '/' failed: No such file or directory > > Can't stat /dev/ad6s1e: No such file or directory (6 times ... with > different ending letters) > > How can I fix this? > > In the /dev there are only: > > ad4 > ad4s1 > ad4s1a > ad4s1b > ad4s1c > ad4s1d > ad4s1e > ad4s1f It seems to me that your fstab is expecting /dev/ad6* and the drive is now on /dev/ad4. You might be able to plug it into another controller and have it work. Otherwise you will have to go through the tedium of passing the root device to the boot loader[1], booting into single user mode, fsck-ing by device number, mount /dev/ad6s1a /, editing the /etc/fstab, and continuing the boot from there. [1] I am not certain you need to do this. -- --