Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-10-2004, 08:29 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 11

Rep: Reputation: 0
Copy a Hard Drive


I am a network admin that has been given the task of upgrading a hard driver in the company mail server.

We are currently using 6 SCSI hard drives and one of these drives is about 100mb from full!!!

The full drive is a 4.2GB SCSI, The replacement drive is a 18.2 GB SCSI hard drive. The drive in question is the /var partition.

My question is how do I copy the contents of just the OLD drive to the NEW drive and not mess with the other 5 drives?

Thank you for any help you can provide!!!!!!

- Ryan
Old 06-10-2004, 11:05 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,461

Rep: Reputation: 184Reputation: 184
Here's a good tutorial on moving your home partition which you might be able to adapt:

You could also image the /var partition using partimage which is included in knoppix and restore the image to your new drive. With partimage, you can't image the partition with the partition mounted which is where knoppix comes in handy. You boot off the knoppix cd which boots into a kde desktop and runs entirely in ram. Here's a link for partimage usage:
Old 06-11-2004, 03:27 AM   #3
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
I'd just use the dd command, where you specify the input source and the output source, and then dd just does a bit by bit copy. Check the man page for dd but I'm pretty sure it can easily handle what you're attempting to do. -- J.W.
Old 06-11-2004, 07:58 AM   #4
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593
Blog Entries: 1

Rep: Reputation: 30
check out this thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Completely copy hard drive... markw8500 Linux - Software 3 08-21-2005 04:42 AM
Easiest way to copy a boot drive to a new hard drive lsgko Linux - Software 3 05-24-2005 09:38 PM
How to copy ext2fs from failed hard drive to good drive? DogWalker Linux - Hardware 2 08-30-2004 10:52 PM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 02:47 AM
Failing hard drive--need to copy Phathead Linux - Hardware 2 03-10-2004 12:59 PM

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration