-----Original Message-----
From: Raoul Anderson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, April 26, 2001 7:57 PM
Subject: RE: Moving to new machine...


>I am in the same boat.  I was going to ghost the image over (which should
>work without problems) but I decided to try it the way you are suggesting
>and just copying over files as you have suggested, and as soon as I took
>over the /etc/passwd file it came to a grinding halt and told me I did not
>exist!  The only way I could recover from this was to boot into rescue mode
>and copy the original back.  I am now resigned to setting it up from
scratch
>(as I am unsure of the integrity of some of the existing files) but if
>someone else has any better ideas, please let me know!
>
>Cheers,
>

I suppose if you really wanted to do this, you could just install your new
hard drive into the old machine as a second drive.  Create the partitions
you need on the drive and mkfs them as appropriate. mkswap the swap
partition of course.  Then boot into rescue mode and mount both drives up.
Then just cp the data from each appropriate partition to its new and
improved location.  I forget the exact option for cp, but i think its cp -a
to preserve all file permissions and links.  Check the man page of course.
Once the data is all copied, shutdown the old machine, pull the now ready
new hard drive out and put it into your newer box.  Get out a boot disk for
your old system and boot into linux.  Run lilo -v to copy the boot info to
your  master boot record.  That should mostly do the trick.  If you need
drivers for the newer equipment, that might sink this boat.  Generally that
isn't a problem, but it could be.

  Aside from this and possibly a handful of similar ideas, ghost or
partition magic are easier to deal with.  This way is simply cheaper if you
don't own those, and more fun if you like that sort of thing :)  I've done
it both ways, and had good luck with both.  Hope this helps.

Jeff Hogg



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to