LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-08-2005, 10:09 PM   #1
crxgames
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Making image of harddrive


What is a good free tool to make an image of my harddrive and allow me to restore it if my new install of windows messes it up?

My plan is to make the image of my harddrive with just SuSE on it, then install windows and fix the bootloader via rescue cd. So if my the XP install trashes my linux partition, I can just overwrite the harddrive with the image of how it was before I installed windows.


~Thanks
 
Old 04-09-2005, 05:03 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
"dd" or "dd-rescue" or "cp" or "cat" will work, you should compress the image also.

Code:
cat /dev/hda1 >> partition_image
that creates the image of partition 1 of the primary drive., but you really should compress it, unless you have that much spare space.
 
Old 04-11-2005, 07:13 AM   #3
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Devuan, Suse, Slackware
Posts: 130

Rep: Reputation: 21
I did use dd with gzip

dd if=/dev/hda1 | gzip -9 > /image.gz

or in a shell script:

#!/bin/sh
date
printf "Creating image, please wait"
dd if=/dev/hda1 | gzip -9 > /image.gz
date
sleep 500
 
  


Reply


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
Loop-mount image of harddrive addy86 Linux - General 6 06-14-2005 06:06 AM
making boot cd for mandrake on usb harddrive jensm Mandriva 5 12-20-2004 07:20 PM
HardDrive to HD image copy gerrymatbeacon Linux - Newbie 1 08-13-2004 03:18 PM
Making space on harddrive (its full!) robson8112 Linux - General 4 01-20-2004 11:52 AM
making patitions bigger than one harddrive saavik Linux - Software 3 11-10-2001 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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