From owner-freebsd-questions@FreeBSD.ORG Fri Feb 25 00:35:02 2005 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 030E916A4CE for ; Fri, 25 Feb 2005 00:35:02 +0000 (GMT) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87E5543D45 for ; Fri, 25 Feb 2005 00:35:01 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.3/8.13.1) with ESMTP id j1P0Z0rg036401 for ; Thu, 24 Feb 2005 17:35:00 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.3/8.13.1/Submit) with ESMTP id j1P0Z07E036398; Thu, 24 Feb 2005 17:35:00 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 24 Feb 2005 17:35:00 -0700 (MST) From: Warren Block To: ali boreiri In-Reply-To: <20050223181229.41392.qmail@web25006.mail.ukl.yahoo.com> Message-ID: <20050224171838.X36267@wonkity.com> References: <20050223181229.41392.qmail@web25006.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (wonkity.com [127.0.0.1]); Thu, 24 Feb 2005 17:35:00 -0700 (MST) cc: questions@freebsd.org Subject: Re: Transfering from SCSI to IDE ? 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: Fri, 25 Feb 2005 00:35:02 -0000 On Wed, 23 Feb 2005, ali boreiri wrote: > I have a FreeBSD system with a squid cache installed on it on my 17 GB > SCSI drive. Recently I get an image of it by Norton GHOST on a 80GB > IDE drive. Transferring was successful but when system on new IDE disk > booted , after pimary freeBSD boot menu boot proccess continued till > an error occured in mounting file system and disk; and then system ask > me to mount root and a mount> prompt appeared. Messages appears on > screen are as below: > > > Mounting root from ufs:/dev/da0s1a > setrootbyname failed > ffs_mountroot: can't find rootvp > Rootmount failed:6 > mount root> > mount root> ? > List of GEOMD Managed disk devices: > ad1s1f ad1s1e ad1s1d ad1s1c ad1s1b ad1s1a ad1s1 acd0 ad1 fd0 Your old SCSI disk was da0. Apparently your new IDE disk is ad1. At the very least, you need to manually mount the / partition and edit the /etc/fstab file to reflect this. A "live cd" like FreeSBIE (http://www/freesbie.org) may help you mount that partition and edit the file. > Now please tell me what must I do ;and refer me to a compelete step by > step guide in mounting partition of this IDE disk (which the image of > a SCSI disk is on it.)and no change perform to partitions for properly > working of squid cache. Your applications should all refer to files, not partitions. So with the /etc/fstab file fixed, everything should work again. You may have other hardware that will require changes to configuration files; a different network board, for example. Incidentally, this same problem can occur even if you use the "proper" backup tools (dump/restore). It's the contents of the fstab file, not the way you've transferred it. -Warren Block * Rapid City, South Dakota USA