LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-19-2009, 01:48 PM   #1
cynicalpsycho
Member
 
Registered: Mar 2009
Location: America
Distribution: Debian/Arch
Posts: 134

Rep: Reputation: 16
cloning my ubuntu install from one drive onto another.


So how would I go about cloning my current installation of ubuntu? maintaining all of it's current settings and and data. like... have an exact clone of my current setup on another hard drive?

currently my computer is partitioned into:
/:15 GB
/home/:273 GB
/boot/:91.1 MB
Swap: 8 GB (i know... I never use that much but yeah anyway)

I was thinking about using clonezilla, but I know very little about it. Is it doable? does anyone have any have any prior experience or knowledge they could send my way?
 
Old 07-19-2009, 02:15 PM   #2
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Rep: Reputation: 15
I moved an full Debian install a couple of years ago from one partition to another. I use cp though I don't remember with what options (preserve attributes of course, maybe something more but I think that might have been it). Then I just changed the grub menu and I think that was about it. I was surprised at how easy it was and had help from some tips that I googled up.

/CZ
 
Old 07-19-2009, 03:44 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Yes, that will work. Just create the same partitions, then from a livecd, copy over the contents of each of the original partitions to the corresponding new partition (cp -vax *). Obviously, your /etc/fstab and /boot/grub/menu.lst will need to be edited to reflect the physical layout. Also, GRUB may need to be reinstalled if it is on your / partition.
 
  


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
GRUB error on windows-only drive after ubuntu install on separate drive Pappou Linux - Newbie 4 03-22-2009 08:00 PM
Backup/restore and/or cloning of a hard drive Ubuntu 7.10 taylorkh Ubuntu 3 02-02-2008 08:47 PM
cloning drive but need advice peterb Linux - Newbie 11 10-15-2007 02:18 PM
Cloning onto drive that already has data tredontho Linux - General 5 07-26-2006 05:17 AM
Need help in cloning drive raddad51x Fedora 1 05-16-2006 02:31 AM

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

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