LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cloning my ubuntu install from one drive onto another. (https://www.linuxquestions.org/questions/linux-newbie-8/cloning-my-ubuntu-install-from-one-drive-onto-another-741208/)

cynicalpsycho 07-19-2009 12:48 PM

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?

Count Zero 07-19-2009 01:15 PM

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

jay73 07-19-2009 02:44 PM

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.


All times are GMT -5. The time now is 06:29 AM.