LinuxQuestions.org
Help answer threads with 0 replies.
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 07-11-2011, 06:00 AM   #1
nasa_pete
LQ Newbie
 
Registered: Aug 2010
Posts: 15

Rep: Reputation: 0
can i copy a entire partition and put it on a new drive


hi everyone,

i am putting a larger drive in my laptop, i have linux mint 10 KDE setup with all the software i need and running just the way i like it. is it possible to actually copy the entire partition to a external drive then place the partition back into my laptop with the new drive in it, and still have it all setup the way i had it?

basically so i dont have to reinstall everything and set it up again

if this is possible could you please explain how i can do it in the simpliest terms at all please.

many thanks in advance

pete
 
Old 07-11-2011, 06:17 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
You should have a look at clonezilla, it is a software for disk imaging and does exactly what you need. You will find documentation on their website.
 
1 members found this post helpful.
Old 07-11-2011, 06:38 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
I'm not sure how Clonezilla handles the situation when the new partitions (on the new disk) are bigger than the old ones.

I would boot with a live-CD and create a tar-archive for all my partitions. Afterwards I would partition the new disk, create the filesystems and then extract my archives to the new partitions. If you use at least the same partition-numbers for the / and the /boot partition it should work, additionally you will have to reinstall the bootloader (which can be done with chroot).

Markus
 
Old 07-11-2011, 06:43 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
Quote:
Originally Posted by markush View Post
I'm not sure how Clonezilla handles the situation when the new partitions (on the new disk) are bigger than the old ones.
From clonzill's website:
Quote:
The destination partition must be equal or larger than the source one.
So I would think that it can handle bigger partitions as destination.
 
1 members found this post helpful.
Old 07-11-2011, 06:46 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
From clonzill's website:
So I would think that it can handle bigger partitions as destination.
Well, then Clonezilla would indeed be a good solution.

Markus
 
Old 07-11-2011, 07:03 AM   #6
nasa_pete
LQ Newbie
 
Registered: Aug 2010
Posts: 15

Original Poster
Rep: Reputation: 0
thanks to both of you, i will try clonezilla first before i delete the old drive, if it works ill post the answer so it may help others
 
Old 07-11-2011, 10:47 AM   #7
nasa_pete
LQ Newbie
 
Registered: Aug 2010
Posts: 15

Original Poster
Rep: Reputation: 0
well clonezilla worked perfectly, got my linux mint with all my software on the new drive, definately recommend this to everyone
 
  


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
Should I put the swap partition at the beginning or the end of the drive? mpyusko Slackware - Installation 32 04-11-2011 07:07 AM
Copy entire hard drive SuperDude123 Linux - Newbie 5 09-01-2009 05:05 AM
can i copy the entire contents of a partition and use it. deathalele Linux - General 5 06-30-2008 12:31 PM
Want to put my whooole 25GB linux partition on another hard drive... needs help Fear58 Linux - General 1 07-07-2004 10:05 PM
Windows XP hogs entire 40 GB Hard Drive with one Partition jedi_zach Linux - General 2 02-09-2004 01:29 AM

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

All times are GMT -5. The time now is 11:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration