Hard Drive Copy results in differences on boot

I have an old Pentium 4 PC running Solaris 9. The system has two 40gig IDE hard drives. I removed the drives and, using a hard disk duplicating device, "cloned" both drives. I installed the new drives in the PC. The system boots but I get a message that X-Term will not run on the console. If I replace the two original drives all is well. The replacement drives are not the exact same model but are the same capacity. Nothing else about this system has changed. I could use some help. Thanks.

---------- Post updated at 02:31 PM ---------- Previous update was at 12:49 PM ----------

Oddly, it seems that a KVM switch may be the culprit. I remove it from the equation and all seems to work fine.

This is Solaris 8 by the way, not 9 as I stated originally. I continue to work toward a solid answer.

Are you sure they're the exact same capacity down to the last sector? It's okay for the cloned drives to be twice as big, but even a few sectors too small is too much...

The source drives are labeled 40 gig. The dest drives are labeled 40 and 41.1 respectively. Are the 40 gig drives the same size down to the last sector? I don't know for sure but I would think I would get an error during cloning if the dest were too small. Thanks for the reply.

I can't tell from that description whether they are or not. Look up the models and their exact sector counts.

I do know that I've had troubles copying from "20 gig" drives to "20 gig" drives, the destination turned out to be minutely smaller.

did you use ufsdump to clone these? or maybe forget to do the installboot once you were done? I have forgotten the installboot too many times to count :slight_smile:

so basically mount the new drive on /mnt or wherever
cd /mnt
ufsdump 0f - / | ufsrestore rf - .

i would say use installboot, but i didnt see you were running x86 until a second ago but installgrub should work. I have never tried it, i only use sparc and installboot is still a part of the release up to the current u9.

hope this helps get you going