LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 04-10-2005, 05:35 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Athens
Distribution: Open suse 10.2 zmd->trash
Posts: 1,835
Thanked: 0
duplicate my hard disk


[Log in to get rid of this advertisement]
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...
alaios is offline     Reply With Quote
Old 04-10-2005, 06:09 PM   #2
Electro
Guru
 
Registered: Jan 2002
Location: AZ
Distribution: Gentoo
Posts: 5,742
Thanked: 21
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.
Electro is offline     Reply With Quote
Old 04-10-2005, 10:06 PM   #3
win32sux
Moderator
 
Registered: Jul 2003
Distribution: Ubuntu 8.10
Posts: 8,603
Thanked: 106
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..
win32sux is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 6 12-13-2005 02:34 PM
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 08:28 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration