LinuxQuestions.org
Visit Jeremy's Blog.
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 07-05-2005, 01:36 PM   #1
AQG
Member
 
Registered: Jun 2005
Distribution: SuSE, Red Hat
Posts: 162

Rep: Reputation: 30
make exact copy of a hard disk in fedora


Hello everybody, i need your help to make an axact copy of a primary master hard disk to a secondary master hard disk in fedora?, this is what i've tryed to do:

dd if=/dev/hda of=/dev/hdd

but when i hit enter, it stays there for a long time with the cursor blinking and don't see any activity, but when i cancel using ctrl+c, it shows the following for example:

51010018+0 read
51010015+0 written

can you please help me?

thank you
 
Old 07-05-2005, 01:44 PM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
It depend upon size of HD, so it will take some time to write it back.
 
Old 07-05-2005, 01:55 PM   #3
AQG
Member
 
Registered: Jun 2005
Distribution: SuSE, Red Hat
Posts: 162

Original Poster
Rep: Reputation: 30
the size of hda=40gb and hdd=40gb, i know that a command to check how the copy of the disk is going exists, but i don't now which is the command , by any chance do you know which is it?
 
Old 07-05-2005, 05:17 PM   #4
AQG
Member
 
Registered: Jun 2005
Distribution: SuSE, Red Hat
Posts: 162

Original Poster
Rep: Reputation: 30
After a certain time , it tells me that dd: writing /dev/hdd : no space available
and like i said both Hard Disc's are 40Gb.
can some one please help to make an exact copy of my hard disk?

Thanks once again!!!
 
Old 07-06-2005, 11:34 AM   #5
AQG
Member
 
Registered: Jun 2005
Distribution: SuSE, Red Hat
Posts: 162

Original Poster
Rep: Reputation: 30
great!!!! i've got the copy of my hard disc, but i don't know why i had to use a hard disc (targe) of more capacity than the original (source) drive..

any way , it worked!!!

thanks
 
Old 08-01-2005, 04:54 PM   #6
turnbui
Member
 
Registered: Jul 2005
Location: UK
Posts: 101

Rep: Reputation: 15
did you have any WIn XP FAT32 / NTFS partitons on your hard disc??
I want to make an exact duplicate but with the FAT32 and NTFS as well as the Linux partitions.
Anyone done this?

Help would be much appreciated.
 
Old 08-07-2005, 04:11 PM   #7
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
I doubt the command "dd" cares whether the partition is ext2, ext3, ntfs, vfat or whatever. It simply reads the disk directly and writes to another partition or to a file.

I have not used "dd" much for backup purposes, but I would make a large partition for the backup drive so that all other partitions can fit onto it. Then I'd instruct "dd" to write the other partitions to files on the large backup partition. This way you'd end up with neat files residing on the backup partition.

Otherwise you'd have to create lots of unneeded partitions.

Btw. "dd" copies the data, not the master boot record. You'll have to recreate it in case of a system failure.
 
  


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
Creating an EXACT copy of a disk elluva Linux - Software 5 10-14-2004 11:21 PM
make an exact copy of Fedora from 1 PC to another lothario Linux - Newbie 1 06-04-2004 12:34 PM
Make a copy of entire hard disk jeucken Linux - Software 1 03-22-2004 04:55 AM
How to make an exact copy of a Hard Disk danishmr Linux - General 15 11-10-2003 01:48 AM
exact hard drive copy cbe Linux - General 5 11-21-2001 10:54 AM

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

All times are GMT -5. The time now is 08:23 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