CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Lounge (http://www.cfd-online.com/Forums/lounge/)
-   -   copying Ubuntu partition (http://www.cfd-online.com/Forums/lounge/124295-copying-ubuntu-partition.html)

immortality October 1, 2013 11:42

copying Ubuntu partition
 
how can copy Ubuntu partition completely to another empty partition on another hard disk so that be executable like before?

LiteCFD November 7, 2013 21:46

Hi!
You can use "dd" utility for making a full copy of you disk partition
(e.g. "dd if=/dev/hda1 of=/dev/hdb1 bs=1m" where /dev/hda1 is your ubuntu partition and /dev/hdb1 is you empty partition).
Notice that /dev/hdb1 must be unmounted and has same size as /dev/hda1; You can create that partition in cfdisk utility;
dd make copy byte-by-byte, so if original partition is bootable - copy partitional state bootable too;

it's all in general terms, for more information read dd docs (man dd)

best regards

P.S. sorry, I did not pay attention to the date of post. but answer can be useful to someone else

wyldckat November 9, 2013 17:09

Greetings to all!

To add to what LiteCFD wrote, the easiest to use should probably be Clonezilla: http://clonezilla.org
It uses a liveCD or live USB. And AFAIK, it's not possible to use it directly from Ubuntu.

Best regards,
Bruno

PS: @Ehsan: Sorry, I didn't see this thread of yours back in October :(.

immortality November 11, 2013 10:34

Hi dear Bruno,
I hope you be only tired! it shows you are working and are healthy ;)
you are a very good friend for all specially for me :)
I'm working on writing of the thesis still. adding references is a terrible work in Word,I'm trying to learn how working with mendeley.


All times are GMT -4. The time now is 03:52.