Microsoft said:
Could anyone tell me if it is possible to make and exact copy of my primary
(C) drive so that if I need to I have it available?
Perhaps, is it possible to use the File Settings & Transfer wizard to copy
the drive to the other internal drive and then boot from that drive if
possible?
A method I use, which is free -
1) Download and burn a Ubuntu CD (ubuntu.com). Cost to you - one CD,
plus the download time.
2) Boot Ubuntu. Open a terminal window. Locate the hard drive.
ls /dev
3) You may see entries like hda1, hda2, which might be your hard drive.
Perhaps sda is your external USB drive and so on.
4) Linux understands NTFS and FAT32. For this job, the backup file will
be huge, so the external backup drive should be formatted NTFS. You
can format the drive in Windows first, to make it easier to do.
5) In Linux, use the file manager, and click on the external drive. That
will mount the file system for you. It helps, if you have "labels"
applied in Windows to each of your partitions. For example, the label
on my C: drive is "WinXP", the label on my backup partition is "Dumping"
and so on. Using labels in Windows, those labels show up in Ubuntu.
6) Once the external drive is mounted, you can copy C:
dd if=/dev/hda1 of=/media/dumping/winxp_Jul_31_2010.dd
The dev syntax, is a raw device (i.e. working at the sector level).
hda1 means use disk "hda", and copy partition 1 from it. The
entire partition is going to be copied, sector by sector.
The output in this case, is going to be one *huge* file, containing
an *exact* snapshot of my C: drive. For example, I do this process
regularly, and it puts a 76GB file on my NTFS dumping partition.
7) Now, say one day, I get a virus on C:, or my hard drive craps out or
whatever. As long as the new drive is partitioned *exactly* like the
old one, I can boot Ubuntu again, and reverse the process, putting the
contents of C: back.
dd if=/media/dumping/winxp_Jul_31_2010.dd of=/dev/hda1
Using PTEDIT32, free for download, I can get info on the original
partitioning scheme. (Example picture here.) In this example, the
C: drive would be partition 2, perhaps "hda2" when copying it.
http://www.vistax64.com/attachments...n-partiton-recovery-dell-xps-420-dell-tbl.gif
( ftp://ftp.symantec.com/public/english_us_canada/tools/pq/utilities/PTEDIT32.zip )
8) Another thing you can back up from the original drive, is the MBR.
The MBR has the primary partition table. Saving a copy of that,
means you'd taking a snapshot of how the disk was set up (at least,
for the primary partitions). Note that this is not a complete
specification - if you have an extended partition, with logical
partitions inside, you'd need to snapshot some other things as well.
This is effectively saving the stuff shown in the previous picture.
dd if=/dev/hda of=/media/dumping/MBR_Jul_31_2010.dd bs=512 count=1
That backs up a single sector and gives a 512 byte output file.
So it is possible to do backups, for the cost of a burned CD, plus
the cost of your external USB hard drive. The main reason for
wanting to boot Ubuntu to do this, is Windows is shut down, and
the C: drive is not "busy". That allows an exact copy to be made
without corruption.
If you have the money for backup software (which I don't), then
that software is going to be easier to use than the above procedure.
The nice thing about the above method, is it copies everything
*exactly*, because it works at the sector level, rather than the
file level. It is wasteful of disk space (using another backup
method, I might be able to save C: in only 30-40GB of space), but
it is an exact copy, copying all the "blank" space as well.
And when your Windows won't boot, having that CD to boot is
comforting. At least you have some way to run the computer,
prove the hardware is OK and so on.
Paul