Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 17:35:00 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        ali boreiri <dr_boreiri@yahoo.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: Transfering from SCSI to IDE ?
Message-ID:  <20050224171838.X36267@wonkity.com>
In-Reply-To: <20050223181229.41392.qmail@web25006.mail.ukl.yahoo.com>
References:  <20050223181229.41392.qmail@web25006.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050224171838.X36267>