Quote:
is there an easier way to move an existing Mandrake installation from one hard drive to another?
|
Put new HD in old server and partition/mkfs it.
Make a /NEW and mount you new / partition there (like 'mount /dev/hdb1 /NEW').
Copy all the directories from / to /NEW like this:
Code:
cp -a /b* /dev /etc /home /initrd /lib /root /opt /s* /tmp /usr /var /NEW
mkdir /NEW/proc
umount /NEW
Remember: If you want to have say /home on a separate partition on the new HD you have to create a /NEW/home and mount the partition
(say /dev/hdb5) there prior to the copying.
You could also boot the new server using Knoppix or similar, partition/mkfs/mount the new HD and set up rsync to copy the files from old server to new.
In that case, make sure you use the -a flag to rsync to preserve permissons and stuff.
Or, if the servers have the same kind of HD's, you probably could put the new HD in the old server and simply 'cat /dev/hda > /dev/hdb'
but I wouldn't really reccomend it.
- Peder