Showing posts with label Hard Disk Drive. Show all posts
Showing posts with label Hard Disk Drive. Show all posts



00_burning_hard_disk
When you delete a file in Windows, only the reference to the file is removed from the file
system table. The file still exists on disk until other data overwrites it, leaving it vulnerable to recovery.
There are many tools available out there that allow you to securely delete files so they
cannot be recovered. This article provides a summary of some of the free tools available out
there, many of which are portable, allowing you to securely delete files you may temporarily
 save to public computers.

Eraser

Eraser makes it very easy to securely delete files, folders, or both. It overwrites the files
being deleted with random data. There are several options for the number of times the files
being deleted are overwritten with random data, including two versions of the US DoD 5220.22-M standard (3-pass and 7-pass) and the Gutmann method, which overwrites the file with random data 35 times.
You can immediately delete files and folders using the On-Demand interface or schedule files
and folders to be securely deleted at a specific time using the Scheduler.
Eraser comes in a version you can install, which also allows you to add an option to the
Windows Explorer context menu to securely erase files within Explorer. You can also download
a portable version of Eraser you can take with you on a USB flash drive to delete files you save
on other computers.
Download the installable version of Eraser from eraser.heidi.ie or the portable version fromPortableApps.com.
01_eraser_main_window

Freeraser

Freeraser is a free, portable tool that allows you to securely delete files using drag-and-drop.
You can select to delete your files using a Fast method of filling the space with random data
with one pass, using a Forced method that utilizes the DoD 5220.22M, 3-pass standard, or
using the Ultimate, or Gutmann, method, deleting files by overwriting them with random data
35 times. Right-clicking on the Freeraser trash can displays a menu allowing you to manually
select a file for deletion and to change the options for the program.
Download Freeraser from pendriveapps.com.
02_dragging_file_to_freeraser

Blank And Secure

Blank And Secure is another portable drag-and-drop secure file deletion tool. Simply, drag-and-drop files or folders to be deleted onto the middle box on the Blank And Secure window. You can specify how many times the files are to be overwritten by zeros by clicking the Overwrite X times button and selecting an option. The deletion operation can be delayed up to 9 seconds using the Delete Delay X sec. button.
Download Blank And Secure from pendriveapps.com.
03_blank_and_secure_main_window

DP Shredder

DP Shredder is a portable, small program that allows you to securely delete files or directories
and to overwrite the free space on a hard drive so files that were deleted previously without
using secure methods cannot be recovered. You can easily select the method for deletion,
which includes two US DoD-approved methods and the Gutmann method, and how many
times (Rounds) the method will be applied.
Download DP Shredder from portablefreeware.com.
04_dp_shredder_main_window

SDelete

SDelete is a command line tool allowing you to overwrite the free space on your hard disk so
any previously deleted data becomes unrecoverable. It is portable and can be run from a USB
flash drive in a command prompt window. To get help with how to use the command, type “sdelete” (without the quotes) at the command prompt and press Enter.
Download SDelete from technet.microsoft.com.
05_sdelete_commands_listing

CCleaner

CCleaner is a program that removes unused, temporary files from your system, cleans up your internet history and cookies, contains a tool for cleaning the registry, and even allows you to
clean up files from applications installed on your computer. The latest version offers a tool for wiping the free space on your hard drive. You can wipe the free space on a hard drive or the
entire drive, securely deleting all data on the drive. There are four options for specifying how
many times the data will be overwritten.
Download the installable version or the portable version of CCleaner from piriform.com.
05_ccleaner_drive_wiper
A program for secure deletion of files is a useful addition to your software toolbox, especially
if you use different computers, some of which may be public machines.



    htg hardware upgrade
    It’s recession economics 101—you can’t always afford to shell out for a whole new PC! HTG is here to help you repair and upgrade the parts that are in desperate need. Today’s topic: how to upgrade your hard drive.
    In this first of a new series of “Hardware Upgrade” posts, we’ll cover the basics for buying new drives, backing up old system disks, and opening up your PC to swap out drives. It’s great geeky fun, and it can help you put off a new PC purchase for just a little bit longer. Check it out!

    What You’ll Need

    Installing a hard drive is a fairly simple—although intimidating—affair. Here’s the lowdown on what you’re going to need to upgrade your storage.
    DSC_0021 copyPhillips Head Screwdriver: The most important tool in a PC geek’s toolkit—a regular Phillips head screwdriver. Almost all the screws you’re going to run into are going to be Phillips head.
    While your author has never had any trouble with magnetized screwdrivers, considering we’re going to be working with hard disks today, they probably aren’t the best of ideas. Find yourself an ordinary, non-magnetized screwdriver just to be on the safe side.
    DSC_0014 copyA “Tower” Style PC: Unfortunately, we aren’t going to talk about how to install a hard drive in a laptop today. Some day!
    Hopefully your PC is in reasonable shape and isn’t incredibly ancient, and you know, runs. If your hard disk is dead, you can follow these directions to install a new one, but having a functional hard drive with a running OS can save you a lot of time and heartache.
    DSC_0013A Shiny New Hard Drive: Depending on how old your PC is, you might be installing a shiny old hard drive.
    There are two basic types of drives we’ll be concerning ourselves with today: SATA and IDE. More detail on those later, as well as some guidelines for buying a drive.
    You’re going to need a form factor of 3.5 inch. Any other size will most likely not fit inside your case.
    DSC_0041A USB HDD Enclosure: Optional, but very very helpful if you intend to back up your existing drive. More on this later.

    How Does Your Drive Connect: IDE or SATA?

    SATA_ports Ata_20070127_002
    Most standard internal hard drives have a form factor of 3.5 inches, and come in one of two major connection styles. Neither are cutting edge new, so most PCs you upgrade should have the capability of one or the other. Pictured above, the left cable is a SATA cable, which is a newer standard, and easier to work with. The older connection is called IDE, and the drives are sometimes called PATA. While there’s nothing wrong with IDE hard drives, you’ll want to check if you have the capacity to use SATA before buying a IDE drive.
    SATA_ports ATA_on_mainboard
    Not all PCs will have the connections to read a SATA drive. If your machine is older, you may wish to open up your case first, and see if your mother board has the connections for SATA. In most situations, you’re going to want to opt for SATA, because the setup is easier and the transfer rate is faster than IDE.
    The red connectors like the ones on the left connect up to SATA cables—you can even see the beginning of “SATA” behind the right side of the connector. Most motherboards (that aren’t terribly old) should support it. If you don’t see these connectors, you’ll have to use the IDE connectors, like those pictured on the right.
    There are, of course, loads of other ways to connect hard disks to a PC. For today, and for the sake simplicity, we’ll stick with what’s most likely to be inside most PC cases.

    Buying A New Hard Disk

    sshot-463
    When you buy a drive, you buy based on several different factors. The first is usually “can my system handle it?”
    Older systems have drive capacity limits and will struggle to recognize large disks. Systemsolder than 1998 will be limited to 8.4 GB, while systems older than 2002 may have a drive capacity limit of 137 GB imposed by the motherboard’s BIOS. You’ll require a PC that supports 48 Bit LBA (Logical Block Address), at the very least by the OS, if not the BIOS as well. If your machine is running XP with Service Pack 1, Windows Vista, or Windows 7, your machine likely supports these large drives over 137 GB, and you shouldn’t have to worry about this. If you’re running Windows 98, or something just as old, you’re likely to have some trouble with this upgrade—maybe more than it’s worth.
    Once you’ve determined the size disk your PC can support, and found out what kind of of drives you can connect to your motherboard (IDE or SATA) you can start to answer the other big questions that go into buying a drive. Here’s a short list of the three main criteria you should go over before shelling out your hard earned cash for a drive.
    • Capacity (Size, measured in MB, GB, and TB)
    • Performance (Disk read speed, measured in RPM)
    • Price (What fits your budget?)
    There are lots of other factors that go into buying a drive, although these are the major ones. If you can determine what kind of drive your PC can handle, you’ll be able to pick a drive based on these criteria. You might be able to get a high capacity drive (1TB +) for very cheap, but you’ll likely be sacrificing performance, and end up with a slow drive. High performance drives are often expensive, no matter the capacity, but can be worth it if you’re replacing your system disk.
    Once you’re satisfied with your HDD purchase, you’re ready for the next steps.

    Backup The Old Drive

    clonezilla
    Before you open up your PC and start ripping out hardware, it might behoove you to make a copy of the disk you’re planning to remove. This is where the aforementioned (see above, in tools) hard drive enclosure can come in handy. There are several ways to make a perfect, bootable copy of your system disk, like PINGDriveImage XML and FOG Project, as well asClonezilla, which we covered in an extensive hard drive-saving how-to.
    DSC_0026
    If you’re simply adding a second drive for storage, you don’t need to back up your system disk. But many of you may want to replace it with a newer, larger, faster drive and keep your OS and files intact. If that’s the case, check out some of the many imaging programs listed above, or read our how-to on cloning your disk.

    Upgrading A System Disk: Removing the Old Drive

    DSC_0025 copy
    With your prep out of the way, you’re finally ready to start ripping out hardware. A couple of warnings—removing hardware from a PC is done at your own risk and at the risk of your own hardware, so only do it if you’re prepared to learn some potentially expensive lessons!
    Step one is always removing these screws that hold on the case sides. Notice how the PC is also unplugged, and make sure that yours is, as well.
    DSC_0047 copy DSC_0039 copy
    If the sides of your case don’t come off the way the red arrows are directing, you’ll likely find more screws holding them in place. Double-check and try them again. If this doesn’t work, your case may be built differently—look to see what catches or releases might be holding the sides in place.
    If you’re unfamiliar with the innerworkings of a PC, here’s a rundown of the parts we will be working with today, and the parts we’ll need to avoid. Notice that the optical drive and the hard disk are in roughly the same place, and may even be connected with the same cables. Make sure you remove the right one!
    DSC_0064 copy
    Remove the cables from the old hard drive as shown. You’ll need to remove two cables from each disk—one for power, and one for data. The cables above are IDE data cables, the more difficult of the two to remove. SATA cables are fairly easy to remove from a drive, while IDE cables are wide and firmly seated on a large row of pins. You may struggle when removing them—be firm, but careful not to warp the pins, break any part of the cable, or yank to hard on any part that is connected to the motherboard.
    DSC_0083 copy
    There are typically four screws holding a HDD in place. Look for this cage in the front of your PC case and undo the screws as shown.
    DSC_0088 copy
    The opposite side of the PC case should also have screws holding the drives in place. You’ll have to remove them from the hole illustrated here to get the drive out.
    DSC_0099 copy
    Depending on how tight the inside of your case is, you may have to remove other hardware. In this case, the easiest part to remove would be the power supply, shown top left, rather than the processor fan and heatsink, shown bottom left. Pull the drive out as shown, and you’ll be ready to connect up your new drive. You can expect to install the new drive the same way you removed this one, but backwards—but for more detailed directions and solutions to common problems, check back next Monday for part 2.

    Next: Connecting and Troubleshooting Your New Drive

    sshot-464
    Installing a new hard drive can get complicated if something goes wrong, and we’re already getting into tl;dr territory. Check back next week, when we’ll cover common problems with installing new hard drives, how to get your system to recognize your new disk, and some tips for fresh installs of an OS.


    clonezilla


    March 31st, 2011 is “World Backup Day”—celebrate it by using free software Clonezilla to clone an exact copy of your OS system disk, regardless if you use Windows, Mac OS, or Linux!
    In the event of tragic hardware failure, a backup image or completely cloned disk can save you from loads of worry, and get you back on your feet effortlessly. Get in the spirit of the day—keep reading to see how to resurrect that machine with bootable copy of your OS.

    What You’ll Need to Clone Your Disk

    DSC_0001A copy of Clonezilla Live CD or a CD-R to burn it on. If you find CD-Rs old fashioned, you can also put the Live Environment on a USB flash drive.
    You can go directly and download Clonezillanow, or jump ahead to the directions for which version to download and burn.
    If you’ve ever heard of Norton Ghost, Clonezilla is an excellent, feature rich alternative available for free download. Clonezilla can copy data, partitions, bootloaders, and system information—creating a copy so accurate your computer won’t know the cloned disk from the original.
    DSC_0013A spare internal hard disk to clone your existing system disk on. One of Clonezilla’s listed “Limitations” is that the target disk must be equal size or larger than the source, so make sure that the drive (or partition) you’re cloning is smaller than the drive you’re cloning it to.
    Make sure your spare disk is one you can install in your computer before cloning, or you’ll find yourself cloning it again and again, which can be time consuming.
    Don’t bother formatting the drive, either, as Clonezilla will retain the formats and partitions of any drive you clone.
    DSC_0041An external USB hard drive enclosure to use to write your disk clone to. You can work from one internally installed drive to another, but this involves a lot opening up your machine and installing a second drive, when a USB enclosure does it in seconds.
    (Author’s note: USB HDD enclosures have saved me from more that one mishap, including one with a drive that only started up one time out of twenty. The enclosure made it much easier to restart, restart, restart and then clone the disk. I would recommend every geek own one!)
    In addition to this, you’ll need a working PC capable of booting from your optical (DVD & CD) drive, and your system disk will have to be capable of running at least long enough to clone your data. It is possible to clone disks with bad sectors or problems starting up—but healthy disks are the best ones to work with and clone, so ensure you have a backup before it is too late.
    Download Clonezilla Live
    Clonezilla.org is the home to the Clonezilla project, where you can learn a bit about it, or simply download it. For most HTG readers, you can expect to use a x86 Live CD to clone, image, or restore your system disk. This will work with all Intel Macs, and likely any machine running Windows, and many distros of Linux.
    sshot-468
    As stated above, download the Clonezilla Live CD. If you navigate to Clonezilla.org, you’ll find there are a lot of options to sort through.
    sshot-469
    We’ll be using the ISO version of the Live CD…
    sshot-470
    As well as the latest stable release. Cut out the middleman, and download the x86 Live CD Stable Release ISO of Clonezilla by going here.
    sshot-474
    Once your ISO file is done downloading, the simplest thing to do is to burn it to a CD-R. One great program for burning ISO files is ImgBurn, although many other exist, including a solution built into Windows 7, if you happen to be running it.
    Boot The Clonezilla Live CD
    banner
    Many computers will automatically boot from a bootable CD like the Clonezilla Live Disc. However, if you have trouble booting from a CD, you’ll have to change your boot order in your BIOS, most of which can be reached by pressing Tab, Delete, or F8 immediately as you hear the machine beeps or chimes to let you know it is turning on.
    Intel Mac users can boot from a CD by holding down the “C” key or the Alt/Option key on the keyboard immediately after you hear the trademark Mac startup noise.
    DSC_0003
    Clonezilla should boot up on nearly any PC without a hitch. Default settings on most screens will work for most readers, like this one, which requests which environment to boot. Press enter at the default choice to load Clonezilla in an 800 x 600 pixel environment.
    DSC_0004
    Assuming you’re reading this, you can select the default language of English.
    DSC_0005
    Again, choosing the default of “Don’t Touch Keymap” will suffice. If you want to pick your keyboard, do so, but Clonezilla mostly uses the Enter and Arrow keys.

    Start Clonezilla, and Start Cloning

    DSC_0006
    Clonezilla gives you the opportunity to use the command prompt to clone or image your disks, although we’ll consider that an option for expert users. Press enter to begin using Clonezilla.
    DSC_0007
    This is the major branch within the program. Do you want to create an image file to restore multiple copies of later, or simply clone a system disk to another hard drive to begin using immediately?
    Here’s a breakdown of the two methods, and how to navigate through the prompts in Clonezilla to do them:
    Create a Backup Image of Your System DiskCreate a Perfect Copy of Your System Disk
    1. 1. Device-image
    2. 2. Local-dev
    3. 3. Select “home/partimg”
    4. 4. Beginner Mode
    5. 5. Save Disk/Save Parts
    6. 6. Select Source
    7. 7. Check Image on completion?
    8. 8. Create Image!
    1. 1. Device-device
    2. 2. Beginner Mode
    3. 3. Disk to Local Disk
    4. 4. Select Source
    5. 5. Select Destination
    6. 6. Clone Device!
    Notes: When you reach #2, you’re selecting to use a local device, like your internal disk or a USB drive. Clonezilla supports cloning drives over network, or LAN, as well. #3 is where you select the destination of your image file—both on what device, which partition, and what folder, assuming it is formatted and can be written to. #5 allows you to choose to use an entire disk or partitions within the disk. You call which one to do there. When you get to #6, you’ll choose which drive you want to create an image of, and #7 allows you to decide if you want to verify your image once it has been written.Notes: Device to device copy is easier for beginners, and is covered with screenshots in this how-to. We’ll be working exclusively with local disks (#3) with the option to clone single partitions, then  carefully going over picking our Source and destination drives.
    Refer back to this chart to help demystify Clonezilla as you navigate through its options and menus, particularly if you choose to create image files over cloning your entire disk.
    Local Device to Local Device Cloning
    DSC_0015
    Select “Device-device” to clone one drive onto another and not work with images. This will allow you to create a perfect clone of your system disk on a USB disk—but let’s not get ahead of ourselves.
    DSC_0016
    Beginner mode is fine for almost all purposes. There is no need to venture into “Expert Mode” territory unless you’re feeling brave (or already know what you’re doing).
    DSC_0017
    Here you can elect to use local disks (drives hooked into your machine, either internally or via USB) or remote disks (LAN or SSH drives, for more advanced users). If you wish to only clone partitions, you can also do that here with the two “Part to Part” options. For our purposes, we’ll use “Disk to Local Disk.”
    (Author’s Note: If you’re not familiar with Linux or OS X’s more elaborate partitions, you probably shouldn’t clone just one of them. You may end up missing a key partition or a swap your OS might be looking for. To be safe, clone your entire disk, unless you’re absolutely certain you know what you’re doing!)
    DSC_0018
    If you have many drives installed, including your USB drive, you may have trouble locating your source drive. This is the drive you want to clone, so make sure you pick it out correctly. Keep in mind that Clonezilla is based on GNU/Linux, so its drive naming structures may be unfamiliar to those of us that aren’t Linux users. (In other words, don’t go looking for your C:/ drive!)
    Likely you’ll have to rely on the size and brand name of your hard disk. In the example above, this PC’s system disk was a 300GB Samsung disk, which Clonezilla identifies as sda. Pick the disk that you want to clone, and press enter.
    DSC_0019
    The second choice is your destination, or target disk. On this PC, the choice was obvious, because the drive was 10x larger, and connected by USB. Depending on how you’ve got your drives connected, it may be more or less obvious. Simply keep in mind you choose thesource first, then the destination.
    DSC_0020
    With your Source and Destination drives sorted out, Clonezilla has enough information from you to clone your disk. Clonezilla will expect you to press Enter to continue and then print a lot of information to the screen.
    DSC_0023
    You’ll be given two opportunities to stop it from writing to your destination disk if you think you’ve chosen the wrong one. You should see the information listed above the Y/N prompt for the drive you’re writing your clone to, so double check it and hit Y for yes.
    DSC_0024
    Here, you’re given the opportunity to clone the boot loader, which boots your operating system. If you’re plan to ever replace your system drive with this new one, you won’t want to deal with setting up a bootloader, so clone your existing one by selecting y for yes.
    DSC_0025
    You’re given one final opportunity to back out before your target disk is formatted and written to, erasing all data on it and replacing it with a clone of your system drive. Y for yes to continue!
    DSC_0026
    And Clonezilla begins to work its magic.
    DSC_0027
    And continues.
    DSC_0029
    And still continues. Don’t expect it to happen quickly, as creating a perfect clone of your operating system and all your partitions can take quite a long time, particularly over USB speeds. Be prepared to walk away, and come back after an hour, or two or three, depending on the size of your drive.
    DSC_0030
    Once your cloning is complete, you can expect more “Enter to Continue” prompts. From there, you can restart Clonezilla for more cloning action, or power down, or reboot.
    Booting Up Your New (Old) Machine
    DSC_0032
    Excited to test your clone? Install your new system disk, and set your BIOS to use it as your primary master drive. If everything has gone without a hitch, your computer (at least your operating system) won’t even realize it has a different disk inside it. You may find a big grin on your face—even the most minor details have been cloned, like this bootloader looking for the “Earlier Version of Windows.”
    DSC_0034
    And your Operating System, be it Linux, OS X, or Windows, will load like normal, without any issues. Again, this is providing that everything has gone smoothly and Clonezilla has been allowed to do its job correctly. So congrats! You’ve created a perfect backup of your system disk to keep for a rainy day—or a day when your hard drive breaks. All of your programs, personalizations, and installs will be complete—it’s almost too good to be true!
    So happy World Backup Day, everyone, and keep your data safe!