Hard Disk upgrade

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Sat Feb 19 20:44:59 UTC 2005


On Sat, Feb 19, 2005 at 11:58:55AM -0500, Jeremy Baker wrote:
> What is the easiest way to upgrade the hard disk in a linux system to
> a larger one?  If it makes a difference, it is running fedora core 2.
> I was thinking of using dd if=/dev/hda of=/dev/hdc, but I didn't think
> it would work because hda is 6 GB, and hdc is 15 GB.  I also thought
> of partitioning hdc ahead of time, and dd'ing each partition
> separately.  What about the mbr in this case?

Try something like
    cp -ax / /mnt
or
    (cd /; tar -clf - .) | (cd /mnt; tar -xf -)
Repeat for other filesystems you wish to copy over.

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>, Toronto, Canada
Slackware Linux -- because I can type.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list