LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-11-2012, 05:39 AM   #1
louk88
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Rep: Reputation: Disabled
Clone the Hard Disk


Hello,

I have a Centos 5 installed in my old PC, it contain Asterisk, web pages, others applications ..., how can i run the old HardDisk on the new PC?

Thx in advance
 
Old 05-11-2012, 07:36 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
There are several ways to accomplish this:

- Move the old hard drive to the new PC and use it as the system drive

- Back up the old HD to an external drive with tar or something similar, then restore the backup to the new PC

- Install the new HD in the old PC (or vice versa), boot from a live CD (like System Rescue CD) and clone the old drive with any suitable tool (dd will do)

- Boot both the old and the new PC from a live CD and clone the drive across the network (can be done with dd and nc)
 
Old 05-11-2012, 07:42 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Have you got the hardware on the new system to physically mount the drive? If it is an IDE derive, do you have a IDE controller, cables and power on the new system?

If it is a SATA drive, do you have a SATA controller with an unused position for the SATA cable?

If yes to either, physically mount the device.

Now, what OS do you have on the new system? How is it booting? If you have another linux system installed, what boot loader are you using? You might only need to add a few lines to the boot loader to load up the CentOS system.

If you have incompatible hardware; ie a IDE drive from the old system, and no IDE controller in the new, then you could create a clone of the drive with a program like Clonezilla, and write it to a new drive on the new system. You will have to learn how to use Clonezilla.
 
  


Reply


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
How to clone 80GByte hard-disk to 40GByte hard-disk on Red-hat 9.0 ? johnnynet3828 Linux - Desktop 16 08-23-2011 10:34 PM
Hard disk clone question the_gripmaster Linux - Hardware 1 03-28-2011 09:58 PM
How to Clone my hard disk? TigerLinux Linux - Newbie 13 11-21-2010 10:46 AM
Make a Clone Hard Disk kamalantha Linux - Software 3 08-06-2010 11:43 AM
clone hard disk with: cat /dev/sda >/media/disk/backup deathalele Linux - Security 3 04-17-2009 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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