Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-01-2004, 11:43 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
Cloning boot disk using DD


I would like to mirror my boot disk /dev/sda on to a new hard disk ( same size as the original) using the command " DD ". My linux version is AS2.4

Can someone point me the steps involved in it?

Is there any other command or tool to chieve the same??

Old 12-01-2004, 12:28 PM   #2
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

Just run 'dd if=/dev/sda of=/dev/newdisk bs=16k'

The bs value adjusts how much data is read and written at a time, and this can affect the speed of the operation. I've found 16k to be about the optimum.

Old 12-01-2004, 03:25 PM   #3
LQ Newbie
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the solution.

Old 12-01-2004, 04:35 PM   #4
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Add conv=sync so dd does not miss data.

Some filesystems come with a filesysem dump utility.

There is also Partimage from which has similar features like Norton Ghost.


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
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 01:51 AM
Disk cloning question valnar Linux - Software 4 06-07-2005 03:41 PM
cloning disk using cp - no special devices for target disk vulture99 Linux - General 6 05-08-2005 06:36 PM
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 12:04 PM
Disk Cloning sts_cat Linux - General 1 03-25-2003 12:30 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:21 AM.

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