Transfering from SCSI to IDE ?
Warren Block
wblock at wonkity.com
Fri Feb 25 00:35:02 GMT 2005
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
More information about the freebsd-questions
mailing list