LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-10-2005, 04:35 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

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, 05:09 PM   #2
Electro
LQ 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, 09:06 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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 09:08 PM.
 
  


Reply



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 12:51 AM
Duplicate Hard drive 19 times? luminousnerd Linux - Software 1 08-13-2005 06:57 PM
How to duplicate a Redhat Linux 9.0 Hard Drive garykuipers Red Hat 2 01-14-2004 05:44 PM
Making duplicate hard drives MartinMiller Linux - Hardware 1 10-31-2003 11:30 AM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration