drive imaging joe cicero northeast wisconsin technical college

14
Drive Imaging Drive Imaging Joe Cicero Joe Cicero Northeast Wisconsin Technical Northeast Wisconsin Technical College College

Upload: alicia-reeves

Post on 11-Jan-2016

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Drive ImagingDrive Imaging

Joe CiceroJoe CiceroNortheast Wisconsin Technical CollegeNortheast Wisconsin Technical College

Page 2: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

What is drive imaging?What is drive imaging?

Also called a disk clone, an exact copy of a Also called a disk clone, an exact copy of a computer’s hard drive. The copy includes all the computer’s hard drive. The copy includes all the partition information, boot sectors, the file partition information, boot sectors, the file allocation table, operating system installation allocation table, operating system installation and application software. and application software.

The process of creating a disk image is called The process of creating a disk image is called disk imagine or disk cloning. Typically, special disk imagine or disk cloning. Typically, special disk imaging software is required to copy the disk imaging software is required to copy the hard drive data. hard drive data.

Page 3: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Why image a hard drive?Why image a hard drive?

How long does it take to build (1) pc’s OS including How long does it take to build (1) pc’s OS including application software? – How about 10? 50? 100?application software? – How about 10? 50? 100?What is required to do a typical restore from backup What is required to do a typical restore from backup media?media?How long will it take to do a typical restore from backup How long will it take to do a typical restore from backup media?media?Disk images are used to transfer a hard drive’s contents Disk images are used to transfer a hard drive’s contents during a hardware upgrade, to restore a hard drive’s during a hardware upgrade, to restore a hard drive’s contents during disaster recovery or when a hard drive is contents during disaster recovery or when a hard drive is erased, and to transfer the contents of a hard drive from erased, and to transfer the contents of a hard drive from one computer to another.one computer to another.

Page 4: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Who would want to image a drive?Who would want to image a drive?

Companies who sell pre-configured systems.Companies who sell pre-configured systems.

Small businesses who sell pre-configured Small businesses who sell pre-configured systems.systems.

System Administrators who have to build System Administrators who have to build multiple systems.multiple systems.

Computer Technicians who need to restore Computer Technicians who need to restore corrupted systems.corrupted systems.

Tech savvy home users who want quick Tech savvy home users who want quick restoration of their home system.restoration of their home system.

Page 5: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

What are the pro’s and cons?What are the pro’s and cons?

Pro’sPro’s FastFast EasyEasy ReliableReliable Flexible (media writeable)Flexible (media writeable)

Con’sCon’s Partial Restore? Partial Restore?

Some newer additions of this type of software will Some newer additions of this type of software will allow for restore points.allow for restore points.

Page 6: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Disk image products?Disk image products?

Pay ProductsPay Products Norton GhostNorton Ghost R-Drive Image 3.0R-Drive Image 3.0 WinImage WinImage

Free ProductsFree Products Dd (Any Linux Distro Has Disk Dupe)Dd (Any Linux Distro Has Disk Dupe) EaseUs Disk Copy (snap files)EaseUs Disk Copy (snap files) PC Inspector Clone MaxxPC Inspector Clone Maxx

Page 7: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

What are some requirements?What are some requirements?

You’ll need a place to put your “image”.You’ll need a place to put your “image”.

This can be:This can be: Second Partition (large enough)Second Partition (large enough) Second Hard DriveSecond Hard Drive External Hard DriveExternal Hard Drive CD-R / DVD-RCD-R / DVD-R Of a readable format for your programOf a readable format for your program

FAT, NTFS, EXT3FAT, NTFS, EXT3

Page 8: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Norton Ghost (7.5) InstallNorton Ghost (7.5) Install

For purposes of this class we will discuss For purposes of this class we will discuss local image creation only… to create a local image creation only… to create a ghost diskette using Norton Ghost 7.5 ghost diskette using Norton Ghost 7.5 follow these directions:follow these directions: Install Symantic Ghost Corporate EditionInstall Symantic Ghost Corporate Edition Accept the termsAccept the terms Check “read and understood”Check “read and understood” Select Standard Tools OnlySelect Standard Tools Only Next, Next, Next, Install, FinishNext, Next, Next, Install, Finish

Page 9: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Norton Ghost Boot Disk CreationNorton Ghost Boot Disk Creation

Run the Ghost Boot WizardRun the Ghost Boot Wizard Select Boot Disk with CD-R/RW LPT and USB Select Boot Disk with CD-R/RW LPT and USB

SupportSupport Click Next, Next, Next, Next, Next, Start, OK, Click Next, Next, Next, Next, Next, Start, OK,

OK, Close, (Wait until files are written to disk), OK, Close, (Wait until files are written to disk), Click Finish.Click Finish.

Page 10: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Creating the Image.Creating the Image.

Boot of the diskette you created.Boot of the diskette you created. Click OKClick OK Select Local Partition… To Image… Ok… Select Local Partition… To Image… Ok…

Select Part 1… Ok… Select C: Local Drive: Select Part 1… Ok… Select C: Local Drive: Type some file name “Backup.gho” etc.Type some file name “Backup.gho” etc.

Click Save… High… YesClick Save… High… Yes

Page 11: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Restoring from image…Restoring from image…

Boot of the diskette you created.Boot of the diskette you created. Click OKClick OK Select Local Partition… From Image… Select Select Local Partition… From Image… Select

C: Local Drive: Some file name “Backup.gho” C: Local Drive: Some file name “Backup.gho” etc.etc.

Select Part 1… OK, OK, OK, YesSelect Part 1… OK, OK, OK, Yes

Page 12: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Using Disk Dupe (dd)Using Disk Dupe (dd)Creating the backup partition.Creating the backup partition.

Boot from your Knoppix CDBoot from your Knoppix CDSelect “K”... “System”… “QTParted”Select “K”... “System”… “QTParted”

Maximize this screenMaximize this screen

Select “/dev/hda1”Select “/dev/hda1” Located on left side pane of windowLocated on left side pane of window

Select “/dev/hda-1 free”Select “/dev/hda-1 free” Located on right side pane of windowLocated on right side pane of window

Right Click “/dev/hda-1 free” and Select “Create”Right Click “/dev/hda-1 free” and Select “Create” Create As Primary PartitionCreate As Primary Partition No LabelNo Label Size Size

(2 times the size of the partition you are backing up if possible)(2 times the size of the partition you are backing up if possible)(must be at least the same size of the partition you’re backing up)(must be at least the same size of the partition you’re backing up)

Click “OK””Click “OK””

Select “Device” from the menu bar… then Select “Commit”Select “Device” from the menu bar… then Select “Commit”Click “Yes”Click “Yes”Click “OK”Click “OK”Close the windowClose the windowSelect “K”…”Logout”…”Turn off computer”Select “K”…”Logout”…”Turn off computer”Verify your system boots normallyVerify your system boots normally

Page 13: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Creating your image with ddCreating your image with dd

Boot from the Auditor CDBoot from the Auditor CD

Open a “Root” terminal windowOpen a “Root” terminal window Black window icon on task barBlack window icon on task bar

Mount the partition you created aboveMount the partition you created above At terminal window type the following commandAt terminal window type the following command mount /dev/hda2 /mnt/hda2mount /dev/hda2 /mnt/hda2

Create the backup image using disk dupeCreate the backup image using disk dupe dd if=/dev/hda1 of=/mnt/hda2/image.dddd if=/dev/hda1 of=/mnt/hda2/image.dd

Page 14: Drive Imaging Joe Cicero Northeast Wisconsin Technical College

Restoring from an Image with ddRestoring from an Image with dd

Boot from the Auditor CDBoot from the Auditor CD

Open a “Root” terminal windowOpen a “Root” terminal window Black window icon on task barBlack window icon on task bar

Mount the partition you created aboveMount the partition you created above At terminal window type the following commandAt terminal window type the following command mount /dev/hda2 /mnt/hda2mount /dev/hda2 /mnt/hda2

Create the backup image using disk dupeCreate the backup image using disk dupe dd if=/mnt/hda2/image.dd of=/dev/hda1dd if=/mnt/hda2/image.dd of=/dev/hda1