LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
LinkBack Search this Thread
Old 04-10-2005, 05:35 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 1,987

Rep: Reputation: 45
duplicate my hard disk


Hi... i need a nice method in linux that helps me to duplicate my hard disk in to another one...
For example i have to hard dirks the /dev/hda and the /dev/hdb
the first contains the files and the data and the second one is empty. How i can clone the /dev/hda /dev/hdb ....?
Attention... I don't want to copy the files i want to clone the disk...
 
Old 04-10-2005, 06:09 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can clone a disk by doing dd if=/dev/hda of=/dev/hdb bs=512 conv=sync but it only works if the drives are the same model and brand. Another program is Partimage. You can also use the dump utilities that is designed for the filesystem that you are using.
 
Old 04-10-2005, 10:06 PM   #3
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,847

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
also, take a look at partimage: http://www.partimage.org/

EDIT: i just noticed that Electro had already suggested it...

=)


Last edited by win32sux; 04-10-2005 at 10:08 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 7 10-11-2010 01:57 AM
Duplicate Hard drive 19 times? luminousnerd Linux - Software 1 08-13-2005 07:57 PM
How to duplicate a Redhat Linux 9.0 Hard Drive garykuipers Red Hat 2 01-14-2004 06:44 PM
Making duplicate hard drives MartinMiller Linux - Hardware 1 10-31-2003 12:30 PM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 07:08 PM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration