LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2005, 08:08 AM   #1
markw8500
Member
 
Registered: Jul 2005
Posts: 104

Rep: Reputation: 15
Completely copy hard drive...


Is there a way to burn an image of your hard drive and keep incase you crah your system. What I would like to be able to do is make a copy and load it into a new drive and keep it as a spare...

Is this possible...
And...
Is it possible to do this by slaving a linux drive to a windows dirve, in order to burn the files from windows...
 
Old 08-20-2005, 08:12 AM   #2
Orkie
Member
 
Registered: Mar 2005
Distribution: Breezy Badger
Posts: 248

Rep: Reputation: 30
http://www.linuxquestions.org/questi...hreadid=347204 for the first one and the second one depends on which filesystem you use on you Linux installation.
 
Old 08-20-2005, 07:44 PM   #3
markw8500
Member
 
Registered: Jul 2005
Posts: 104

Original Poster
Rep: Reputation: 15
I am very new to Linux... How do I know which filesystem I have?
 
Old 08-21-2005, 04:42 AM   #4
webdevel
Member
 
Registered: Jan 2005
Location: Moldova
Distribution: Gentoo / Athlon 3200 / RAM 512
Posts: 60

Rep: Reputation: 15
Use next command:
dmesg | grep hd
or
dmesg | grep sd
to detect your hard disk drives devices.
For example original hard drive is /dev/hdc

You can check disk content:
mount /dev/hdc /mnt
ls /mnt
(do not forget to umount /mnt)

To make backup:
dd if=/dev/hdc of=/place/to/save/backup.iso bs=512k

To restore backup
dd if=/place/to/save/backup.iso of=/dev/hdc bs=512k

where
if - input file
of - output file
bs - block size
 
  


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
How to completely reset the hard drive Systemsy Debian 19 10-07-2005 11:43 PM
Easiest way to copy a boot drive to a new hard drive lsgko Linux - Software 3 05-24-2005 09:38 PM
copied hard drive install not completely recognized theFez Linux - Hardware 2 05-14-2005 10:41 AM
How to copy ext2fs from failed hard drive to good drive? DogWalker Linux - Hardware 2 08-30-2004 10:52 PM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:11 PM.

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