Hard Disk upgrade

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Feb 24 17:16:40 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?

Partition, make filesystems, mount new partition, then cp -ax
/oldpartition /newpartition

That is the PROPER way to do it, and probably the fastest too since it
only copies the data.

dd is great for making clones of a disk to another identical disk.

You will have to reinstall the MBR/boot loader on the new disk of
course.

Lennart Sorensen
--
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