Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-13-2009, 05:31 PM   #1
Registered: Oct 2008
Posts: 48

Rep: Reputation: 16
How do I back up the boot up drive image?

Can anyone show me the command in linux how to back up the drive image? It's like clone in windows? I just want to back up so in case the drive is crash so I can replace or build a new system with the same exactly configuration so I don't have to start from the scratch again?

Old 02-13-2009, 06:01 PM   #2
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,226

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
if you have a secondary drive or external try dd if=/dev/hda (or sda if sata) of=backup.img (where backup.img is a raw disk image of your drive, make sure to write the image somewhere on the secondary drive or external drive, not sure what happenes if you put the file on the same volume as you are copying from but my guess is that would be bad)
you may have to be root to do this
to restore
boot from the rescue disc and dd if=backup.img > /dev/hda (sda?) then fdisk /dev/hda and hit w to force write the partition table just to make sure

Last edited by frieza; 02-13-2009 at 06:02 PM.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which boot disk image should I use to boot an external hard drive? dublinus Linux - Laptop and Netbook 8 09-29-2008 02:32 AM
hard drive image back up ciberrust Linux - General 16 01-19-2007 03:08 AM
back up entire hard drive to image file? with a live cd n_md Linux - Software 2 02-01-2006 04:04 AM
USB Flash drive and the Fedora Boot image... Galaxy_Stranger Fedora 1 11-30-2005 05:28 PM
craeting a boot image when I don't have a floppy drive jomy Linux - Networking 15 02-02-2005 01:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration