LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2011, 11:40 PM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 489

Rep: Reputation: 36
how to move centos to new hard drive?


How to move centos to new hard drive?

I've a hard drive installed Cetnos 5.6 x64, and I want to move this Centos to new hard drive.

Is there a program to move cenots?
Or how to move CEnots to new drive?

If could not move Centos, how to move system settings and progrmas and data?

Any helpful comment would be appreciated.
Thanks in advance.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-12-2011, 12:14 AM   #2
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
Are the two hard drives the same size? You can get by with dd. Be careful, dd is a powerful command. I asked this question a while ago and this was the general consensus. dd will create an exact replica, bit by bit. If the new hard drive is larger it will be formatted to have identical partitions as the old, and you will not be able to use the extra space. I hope this helps.
 
2 members found this post helpful.
Old 10-12-2011, 12:38 AM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
thezerodragon/ Thanks.

But my new hard drive is smaller than old one. I should move centos for old hard disk's problem.
 
Old 10-12-2011, 04:02 AM   #4
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
maybe you can change the partition size so the old install is the same size as the new hard drive. Then dd or other similar utilities will help you.
 
2 members found this post helpful.
Old 10-12-2011, 04:19 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Clonezilla-live-cd works also like thezerodragon said you would have to shrink the partitions also.
 
1 members found this post helpful.
Old 10-12-2011, 05:29 AM   #6
linuxwin2
Member
 
Registered: Oct 2011
Posts: 44

Rep: Reputation: Disabled
+1 Clonezilla
Tested and work fine (backup/restore).
 
2 members found this post helpful.
Old 10-13-2011, 11:41 AM   #7
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by EDDY1 View Post
Clonezilla-live-cd works also like thezerodragon said you would have to shrink the partitions also.

Thanks a lot I'll study your opinion.
 
Old 10-13-2011, 12:30 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You're welcome
 
  


Reply



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 move installation to a new Hard Drive? mlitty Linux - General 26 09-22-2010 09:36 AM
[SOLVED] Move centos to another hard disk? windstory Linux - Newbie 7 06-05-2010 09:00 AM
load Linux onto a hard drive on one computer then move the hard drive to another Ark9 Linux - Newbie 2 10-06-2008 06:56 PM
How to move installation to a new Hard Drive? mlitty Linux - General 1 01-18-2007 08:34 PM
can i move my hard drive to a different computer citrus Linux - General 5 04-12-2004 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:26 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