RedHat Linux - Cloning a hard disk for backup purposes.

Posted on 2005-04-25
Last Modified: 2013-12-15
I have RedHat Linux ES 3.0 installed and would like an easy way to clone the hard disk.
Disk that I want to copy is dev/hda and is 80 gig.
I have another 80 gig hard disk of the same make and model which is /dev/hdc.
Both hard disks are located in aluminium removable drive enclosures for easy removal.

Basically I want to be able to plug in the backup drive, make a copy and take it out again. I want it to be an exact copy of the first drive so that if something goes wrong I can just take out my first drive and replace it with my backup, re-boot and everything would work fine.

Can this be done by just booting into single user mode and using the dd command?
dd if=/dev/hda of=/dev/hdc

Is their another or better way to do it?

I am a newbie with Linux so any feedback and suggestions would be greatly appreciated.

Question by:sabecs
    LVL 9

    Accepted Solution

    That's probably the best way to do it, but you might also want to look at ghost4unix (at )

    LVL 2

    Assisted Solution

    u can use MONDO, it can clone the complete hardrive including the partions details and boot records, and can make an ISO image for the same, in case of HDD failure, replace the HDD and boot with the backup ISO and voila..u have the replica of yr system ready to run, put the scripts in cron and u have fresh ISO everyday..

    LVL 38

    Assisted Solution

    > dd if=/dev/hda of=/dev/hdc
    You got the right way since both disks are the same volume and model.

    By the way, create the boot floppy in case the boot loader mismatched or corrupted.
    So you can still easily to boot from floppy and rebuild the boot loader.

    Author Comment

    Thanks for your help and feedback.,

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now