Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-29-2009, 10:07 PM   #1
LQ Newbie
Registered: Oct 2007
Posts: 5

Rep: Reputation: 0
Question How to Clone an Ubuntu Linux drive using dd and is it the same as Ghost

will the results from using dd the same as using Ghost for Windows as will it be complete duplicate of the drive your cloning ?
Old 01-29-2009, 10:15 PM   #2
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 371

Rep: Reputation: 40
Not sure about Ghost, but dd stands for "disk dump". It dumps entire disks to a file.

To use dd, you need to specify input and output.
dd if=<input> of=<output>
is the basic format

<input> is the source. It might be a drive, in that case, it will be /dev/something. all devices in linux have a /dev entry.

<output> is the file. so if you're dumping /dev/sda1 to file named backup.img, it would be /path/backup.img as an example.

Since I only use dd for small operations, I'm not sure how the restore process would work. I imagine it would be the opposite like:
dd if=/path/backup.img of=/dev/sda1
not positive though.

good luck,
rabbit2345 ^_^
Old 01-29-2009, 10:25 PM   #3
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,210

Rep: Reputation: 71
dd will give an exact copy, but it will not be easy to expand or contract to a different sized disk drive. If you are migrating to a new disk of different size, I highly recommend Acronis Migrate Easy. It is commercial software (I know some around here frown on that), but it works great and is well worth the price in my opinion. Migrate Easy allows you to create a bootable CD that walks you through migration from one hard disk to another of different size. It allows you to resize partitions in the process and handles all of the common Linux filesystems.
Old 01-29-2009, 10:32 PM   #4
LQ Newbie
Registered: Oct 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up Thanks on dd use

Thanks rabbit2345 and m yates for your help with this. Again Many Thanks
Old 01-29-2009, 11:20 PM   #5
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
You might be interested in this linux based alternative to ghost: Partimage


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
how to clone a linux partition (like norton ghost) d.kumar Linux - Software 5 02-28-2008 09:41 AM
I have Ghost For Linux (G4L) -- how to avoid problems with Click and Clone option? loninappleton Linux - Newbie 0 10-27-2004 08:27 PM
click and clone option in g4l (Ghost For Linux) loninappleton Linux - Newbie 0 10-24-2004 04:15 PM
using ghost 7.5 to clone linux system yin_howe_ho Linux - General 1 07-09-2003 11:15 AM
Problems on using Norton ghost to clone RedHat 7.3 (ext3) gsbarry Linux - Software 5 01-30-2003 12:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration