[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving a linux to a different hard disk
On Sun, 31 Jan 1999, Isaac Aaron wrote:
IA>Suppose I have a linux installated on a computer, and I want to move
IA>this installation to a defferent hard disk.
IA>How do I do such a thing?
IA>
IA>How can I move entire partitions from one HDD to another?
IA>Suggestions?
I did it already 6 times :) each time when I buy new disk
boot from rescue floppy
-------------------------------------
mkdir /src
mkdir /dest
mount /dev/hd<you old drive> /src
mount /dev/hd<you new drive> /dest
cp -a /src/* /dest/
-------------------------------------
of course if you have more than one partion then mount all partitions in
appropriate mount points on both HD.
--
Vadim Smelyansky (AKA Proglot) cellular:+972-53-876933
Wide Networking Solutions Ltd., Yokneam, 20692, Israel