The Complete Guide to Saving Your Windows System with a Thumb Drive [System Recovery]

By Kevin Purdy, LifehackerMarch 30, 2010 at 12:00PM

The Complete Guide to Saving Your Windows System with a Thumb DriveWhen Windows goes wrong, it can go really wrong. Worse: Often it’s extremely difficult to save your system from Windows itself. Here’s how to use a simple USB drive to free space, remove viruses, rescue passwords, and more from crunked Windows setups.

Photo by *manci*.

What You Can Fix with this Method

If you or your in-need friends or relatives can’t boot into your Windows desktop, or you can’t actually do anything once you’re into it, booting up a live Ubuntu system from a USB thumb drive, or off a burned CD, can save your system, recover files, and pull off other miracles. Here’s the short list of things we’ll cover here:

  • Clean a virus with a Linux-based anti-virus app.
  • Recover files and save them onto that same thumb drive, to a web storage spot like Dropbox, or to another USB drive.
  • Change your login password if you’ve forgotten it, or someone’s changed it on you.
  • Analyze your hard drive to figure out what’s filled it, and resize partitions if you’re dual booting and need to free up more space.

What you’ll need

The Complete Guide to Saving Your Windows System with a Thumb Drive

  • Empty USB drive: Sometimes called a “thumb” drive, a “flash” drive, or a USB “stick.” It’s a tiny little piece of plastic that usually holds at least 1 GB, and that’s the minimum size you’ll need. If you’re looking to recover files, you’ll need to use a separate USB drive, blank CDs or DVDs, or an online backup service. The drive you intend to install Ubuntu on should be empty, because it will get cleared out when we make it boot-able. Photo by robertnelson.

    Alternate: CD-R Using a USB drive gives you faster performance when booting a system like Ubuntu without installing it. If you don’t have a large enough drive to spare, or you’d like to save your USB drive space for backing up your much-needed files, you can still grab a recordable CD and create a “Live CD” to boot from. If that’s the case, skip the section about making a USB stick and head right to the “Boot Up and Get Started” section.

  • A working Windows computer with a decent net connection Because you’ll need to download a 700 MB file to install onto your USB stick, and a 4.3 MB application to make it work. That application, though, doesn’t have to be installed, so you can easily clean up after yourself if you’re using a friend’s computer.

    Alternate: Mac options: You can create an Ubuntu USB stick from a Mac, but it requires both tricky, theoretically harmful Terminal commands and administrator access. If that’s not your thing, you can simply burn a live CD from a Mac.

Make Your Live CD or USB Stick

Turn on your working Windows computer, make sure it’s connected to the internet, and open up a browser. Head to UNetbootin’s home page. Click on the Windows icon at the top to download the latest version of UNetbootin—here’s a direct link for those following this guide on their monitor.

Once you’ve downloaded the file (unetbootin-windows-latest.exe), find it and double-click it. Windows will likely confirm that you want to do that, and you should say it’s “OK.” You’ll see this when UNetbootin opens:

The Complete Guide to Saving Your Windows System with a Thumb Drive

What UNetbootin was made to do was automate the process of downloading an Ubuntu CD image, convert it for your USB thumb drive, find that drive, and install that image on there, without you having to do much of anything. It does this job well, and doesn’t make you worry about accidentally wiping out some other drive. Still, when you’re about to run UNetbootin, you should make sure no other USB drives are plugged in, except the one you want to turn into a system rescue stick. That said, make sure your USB stick is plugged in, and soldier on.

Click on the drop-down menu in the “Distribution” category at the top, which should also have a filled-in point to the left to indicate it’s selected. Scroll down in that menu and click on “Ubuntu.” To the right of that menu, there’s another where you can choose the version of Ubuntu you want to download. At the time of this post, 9.10 Desktop is the latest stable version of Ubuntu that’s released, just above “Daily Build” options for 10.04. In any case, you should select the “Desktop” version that’s highest in number, without choosing a “Daily Build” that will likely have missing features or unfamiliar aspects. With that distribution and version selected, UNetbootin will get to work downloading, right after we’ve confirmed the USB drive and hit OK.

Alternate option: BitTorrent: If you’re savvy in the ways of torrent downloading, you can likely get a faster download, and relieve Ubuntu’s servers, by grabbing a desktop ISO file over an official torrent, then setting UNetbootin to use that ISO file by selecting the radio button next to “Disk Image,” hitting the “…”/browse button to the right of that option, and pointing at the ISO file when it’s finished downloading.

Before you click OK and let UNetbootin set up your USB drive, triple-check that it knows which drive to transform. You’ll see which drive it wants to format to the right of “Drive:” at the bottom of UNetbootin’s window. Hit your Start menu, click Computer in the right-hand menu, and ensure that the letter your computer has given your temporary USB drive is the same letter that UNetbootin wants to use. If the two are matched up, you can head back to UNetbootin and click OK.

The Complete Guide to Saving Your Windows System with a Thumb DriveAlternate: Usbuntu Live Creator: Usbuntu is a similarly easy to grasp USB creator, made particularly for Ubuntu USB creation, and lets you create USB disks with persistent storage—meaning you can keep files on your system that stick around the next time you boot up, so you can use a very large USB drive as an actual backup location.

Nine times out of 10, UNetbootin won’t need any help or spit any errors. If it does, it’s likely because a download connection isn’t available, the file that did download became corrupted, or your USB drive has a quirky boot/format problem. I’ve covered at least one common fix for USB stick booting issues under the “Fix booting problems” header in a previous Linux-on-USB feature. If your error falls outside of that, try searching out the specific text in the error message on Google.

Once it’s done, UNetbootin will ask you to restart your system. You don’t really need to do that—you want to save your non-booting or crippled computer, not this one.

Boot Up and Set Up Ubuntu

Assuming all went well with UNetbootin’s USB formatting, you can pull out the USB stick (or CD-R) from the working computer, load it into the busted computer, and fire it up. If you’re lucky, the system was set up to automatically look for bootable USB devices and load them up, and you’ll see a screen that asks you, in old-school, lo-res computer graphics, if you want to boot “Default” or otherwise. Go ahead and hit Enter, and you’ll start booting into the Ubuntu desktop.

Nothing happening? Does your system just roll right into its busted Windows desktop? You’ll likely need to head into your BIOS settings and ensure that USB booting is enabled, and/or “ranked” above the hard drive as a boot option. When your computer boots up, there will likely be text on the screen stating that hitting F2, the Delete key, or another button will let you enter “system setup,” BIOS, or something similar. Hit that key when you first boot up, dig around in the menus, and change your setup so that your computer searches out USB drives before heading to the hard drive.

Your system should boot into an Ubuntu desktop, where you’ll see one or two icons, two toolbars, and not much else. The first thing you want to do is give Ubuntu an internet connection, so we can grab programs and files we need for our fixes. If you’re using a physical ethernet cable, or even most cellular 3G modems, ensure they are plugged into your laptop or desktop, and you should be good to go. If you’re using a wireless network, click on the tower/broadcast-looking icon in the upper-right corner.

The Complete Guide to Saving Your Windows System with a Thumb Drive

Choose your Wi-Fi network, enter your password, if there is one, and you should see your system connect. If you’ve got a hidden network that doesn’t broadcast its name, there’s an option for accessing that, too, below your neighbor’s Wi-Fi names.

The Complete Guide to Saving Your Windows System with a Thumb Drive

One last thing you must do before venturing forth is tell Ubuntu that it’s okay to download applications that aren’t entirely “free” in the software/copyright sense. Annoying, yes, but that’s how a free-as-in-speech desktop works. Click on the System menu in the upper-left corner, mouse down to the Administration section, and then mouse over and down to the “Software Sources” option.

The Complete Guide to Saving Your Windows System with a Thumb Drive

When it opens up, you’ll see that all the options in the first tab, Software Sources, aren’t checked. Go ahead and check them, then hit the Close button. You’ll be prompted to Reload your sources, so go ahead and hit the button to do so. Ubuntu now has access to a lot more software, including some applications we’ll want access to.

Now you’re ready to get started backing up, scanning, freeing up space, and resizing your Windows installation.

Make Your Fixes

The Complete Guide to Saving Your Windows System with a Thumb DriveRetrieve and back up files: We’ve hit on the idea of Ubuntu as a Windows file saver before, in a guide to fixing your relatives’ terrible computer, and the practice remains the same. With Ubuntu loaded as a “live” system, you should see your Windows partition listed under the “Places” menu—perhaps as “120 GB system,” but it’s still there. Click on it, and Ubuntu will load up access to that drive, and you should see a window with the usual Windows files—Program Files, Windows, Users, etc. Plug in a USB drive, or load in a blank CD or DVD, and it’s a simple drag-and-drop matter to get your files onto those backup mediums. Be sure to hit the “Burn to Disc” button when you’re done backing up to physical discs.

The Complete Guide to Saving Your Windows System with a Thumb DriveWant to use an online service like Dropbox? You can do that, but make sure you’ve got a broadband connection—uploading on most residential accounts can be a long wait, especially with big batches of files. You can upload files to Dropbox’s web interface using the Firefox browser built into Ubuntu, but without Flash installed, you can only do one file at a time. To get around that, you can click-and-hold to select multiple files on your Windows system with the mouse, or hold the Control key to click and select folders and files. When you’ve got them all picked out, right-click on any one of the selected files and select “Compress.” Click the file type selector to the right in the dialog box that pops up, and change the compression from a .tar.gz file to .zip, and save it to the Desktop. Now you can select the “Basic Uploader” in Dropbox, or most other online sites, and upload those files as one big, slightly smaller package, to be unpacked back into Windows later.

Scan and fix viruses: Ubuntu doesn’t have a built-in tool for scanning Windows drives for viruses—and why would it, really?—but they are available for installing. Since we’re running a live session of Ubuntu, “installing” just means downloading and saving to temporary space on our USB drive, leaving your Windows drive untouched, and preventing viruses from interfering with the scan-and-fix process.

The Complete Guide to Saving Your Windows System with a Thumb DriveHead to your System menu, mouse down to Administration, and select the Synaptic Package Manager. Hit the Search button on the far right, type in clamtk, and then check the box to the left of the result that comes up. This is the Linux version of Clam AntiVirus, or ClamAV, that’s a popular, free virus scanner, and clamtk puts a graphical face on ClamAV, rather than making you learn how to use it from the command line. Even if Clam can’t fix your particular Windows virus from Ubuntu, it will at least identify it, and give you the means to Google that specific bug and see if there’s a fix.

Hit the Apply button after confirming that you want to install clamtk and all its “dependencies.” Close down Synaptic when it’s done installing, then head to your Applications menu in the upper-right corner of your Ubuntu desktop. Mouse down to the System Tools menu, where Clam should appear as an option. When it first starts, it will ask you how you want to apply signature updates—ignore the complexity of all that text, hit “Single User,” then hit Quit to move on.

The Complete Guide to Saving Your Windows System with a Thumb Drive
When Clam loads, you’ll see options for scanning a File or Directory. Check the box to the left of the “Recursive” option, so that Clam will dig into all the sub-folders of your Windows drive. Now hit the Directory button. In the file chooser that pops up, look for your Windows system in the left-hand sidebar and click it. If you see your familiar Windows folders in the right-hand pane, you’ve got the right one. Hit “Open,” and, honestly, expect your system to hang for a bit.

The Complete Guide to Saving Your Windows System with a Thumb Drive
Your system will hang because, basically, an operating system running off a thumb drive is using all its might to scan your entire Windows hard drive space and figure out what needs to be scanned. The freeze-out and lag should only last a few minutes on a modern system—if you see error messages, or nothing’s happened for 20 minutes, you might have to give it another go, or try a different anti-virus app—the gHacks blog has a few recommendations, including Avira. Otherwise, you can make yourself a sandwich, and probably crack a beer/soda, as Clam runs through your Windows files and checks for viruses. As mentioned above, it might not always be able to fix or properly quarantine your files, but you’ll at least know exactly which virus you’re dealing with, and can Google steps on fixing it manually—right from Ubuntu, actually.

The Complete Guide to Saving Your Windows System with a Thumb DriveChange or wipe a Windows password: Just like you installed Clam to scan for viruses, you can install a little open-source utility, chntpw (as in Change NT Password) to clear out a Windows password you can’t remember, or change a password you feel is insecure. After searching and installing chntpw from Synaptic, open up the Places menu from your left-hand menus. Head into Windows, and navigate to Windows\System32\config—where the SAM file is kept. Hold down your Shift key and right-click somewhere inside that config folder, then select “Open Terminal Here.” From that terminal, you can type in this command to change the main administrator’s password:

sudo chntpw SAM

If you’re looking to change Samantha’s password instead, type something like:

sudo chntpw -u Samantha SAM

You’ll see some options you can type in, from 1-4, but you’ll generally want to stick with “clearing” the password, then changing it when you head back into Windows. It’s been reported to work with XP and Vista, and I tested it out on Windows 7 and had success clearing a standard user’s password.

Shrink or create new partitions: Gina’s already covered the ins and outs of GParted, which you can get to in your live Ubuntu system by hitting up the System menu, the Administration option, and then clicking “Partition Editor.” Adam’s also shown his GParted skills, using a similar live CD, in his guide to dual-booting Windows 7 with XP or Vista. Don’t commit anything you’re not sure of, but know that you can pull off most anything you need from GParted.

The Complete Guide to Saving Your Windows System with a Thumb DriveVisualize your hard drive and clean it out: Under the Accessories menu, beneath Applications, you’ll find Disk Usage Analyzer, an awesome program that you can use to see where all the space on your Windows drive is being taken up. I needed this tool recently when Windows 7 had become so stuffed (with a failed DVD rip) that it was almost inoperable. To use it on a Windows installation, click the “directory” button in the middle row, and in the file browser that pops up, click on your Windows drive/partition in the left-hand column and hit “Open.” Give it a few minutes, and you’ll get both a spiral chart and nested lists of what’s taking up space. Right-clicking any folder or files gives you the opportunity to open them up in a file browser, or delete them directly. As you might guess, you should be careful with Windows and Program Files stuff, but the rest is up to you.

All done? Simply shut down your system from the “ubuntu” user menu in the upper-right corner. Nothing was actually touched on your system, unless you specifically deleted or changed files, and when you reboot, you’ll have a chance to get reacquainted with your hopefully fixed system. Remember to remove your USB drive from its port before rebooting.


Those are our tips on what can be done with a live Ubuntu stick. Got your own? We’d love to hear them in the comments.

Wealth Is Defined By More Than Just Money

By Mike Masnick, Techdirt.March 30, 2010 at 11:37AM

One of the hallmarks of a bad economist is when they define things in terms of actual money, rather than marginal benefit or marginal utility. You hear it every so often, where people claim that the “rational person” will always take a higher paying job or will always “want something for free,” when the reality is quite different. Economics really looks at marginal benefit or marginal utility, and even though it’s often defined in monetary terms, that doesn’t mean that it just counts actual money. After all, money is just one way of measuring and/or transferring value. That’s why it’s always interesting to see stories that demonstrate the difference between marginal benefit and direct money, such as this post by Peter Friedman, which highlights the situation where law firms — that asked law students they hired to take a temporary “fun” job to wait out the recession (while having the law firm pay part of their salary) before joining the law firm for their “real” job — are discovering many of those students are no longer interested in law firm jobs:


But as newly barred lawyers have taken this public interest option, many have found jobs they like and enjoy. They picked up some ethical sense in school and enjoy doing work that connects with their values. They sympathize with their classmates who ended up at firms and are working long hours doing work they dislike, but they don’t want their jobs. They calculate how much they are making per hour, and find that they are better paid — at least at first — than those at firms.

Law firms wanted a reserve workforce committed to them to be on call and ready to go should the market pick back up. What they may be getting, however, is quite different. A lot of these associates are trying to find a way to stay in their public interests jobs, or at least a related field, and may have given up on law firm work forever.

These new lawyers have found that their new jobs are more fulfilling and more interesting, and — more importantly — they’ve seen that they can live on a smaller salary. As one of my classmates put it, “Add up the hours I worked this week and add up the hours my friends at law firms worked. Divide our salaries by the amount of hours and you’ll see — I’m rich.”

And that, right there, is a perfect example of the difference between money and marginal benefit. Some will argue, incorrectly, that these associates are making a non-rational decision, but that’s not correct at all. The marginal benefit to these recent law grads is much higher at the public interest jobs, and, as that one classmate notes, he’s “rich.”

Permalink | Comments | Email This Story


Use Boiling Water for Easy Stove Top Cleaning [Kitchen]

By Jason Fitzpatrick, LifehackerMarch 30, 2010 at 11:30AM

Use Boiling Water for Easy Stove Top CleaningStoves are magnets for all manner of grease, splashes, and burnt on food. Before you power through the crust with a scouring pad, soften up gunk with this simple trick.

Photo by Attempts at Photography.

Over at Re-Nest, the home-centric blog, they highlight a great way to get your stove top sparkling without using potent chemical cleaners or wearing your elbow out scrubbing:

This is what I do when my stove gets a little crusty and thick with burnt-on stuff (hey, sometimes in the thick of things I just don’t wipe it all up!). I boil water in the kettle, then dribble a very shallow layer of water over the entire stovetop. I let it sit for about five minutes to do its work and to cool off a bit. Then I go at the stove with a soft scrub pad or steel wool if necessary. The crusty stuff comes right off, and I finish up with just a bit of soap and a final rinse. Result: Sparkling clean stovetop!

You’ll need to modify your approach for different kinds of stove tops. If you have a glass induction stove top, for example, you could place a rag on top of the burnt on crust and then pour a little boiling water on the rag to keep the moisture and heat on the grime.

Have a cleaning tip to share? Let’s hear about it in the comments.

An Introduction to Smoke Photography

By Guest Contributor, Digital Photography SchoolMarch 30, 2010 at 10:11AM

In this post Amar Ramesh introduces us to the mystical world of smoke photography.

After I got hooked to smoke photography, the one question that has been constantly running through my mind these past few months has been ‘What else can I do with smoke?’. Smoke, otherwise an unwanted by-product of combustion, is actually a great subject for photography.

smoke-photography-4.jpg

The fact that the subject is not totally under your control is what makes smoke photography such a challenging job but at the same time, the challenges posed have only fueled my creativity. Finding subjects that fit the smoke pattern or trying to come up with a smoke pattern that matches the subject that you already have is a fascinating challenge.

smoke-photography-3.jpg

This limitation to create a combination improves the creativity to a larger extent. You can almost call it ‘the art of seeing hidden images’. 

On a very high level the idea behind these pictures is very simple. It is made of two pictures.

First, a picture of the smoke. Depending on the shape and form of the smoke, find an object that would fit the shape and form of the smoke.

Now merge these two pictures in photoshop. I’ll not go in detail on how to shoot the objects here as there are hundreds of tutorials out there online. From a small box setup to a studio setup there are so many ways to do that. You can select what fits your style.

Below I’m going to concentrate on the taking of smoke pictures. 

smoke-photography-1.jpg

Smoke Photography: Setup

The setup for smoke photography is relatively simple. Here’s what you need:

  • a power controllable flash (in my case, it was an 580 EX II)
  • a DSLR with any good lens, though a macro lens would make things a lot easier.
  • Although you can get smoke from various sources, I feel incense sticks fit our needs best because they not only give out smoke with a good form and texture, they are also harmless.
  • A tripod is required if you are not comfortable at setting the focus and changing the composition. I always focus on the edge of the incense stick and recompose my frame for the smoke.
  • A table lamp pointed on the smoke helps in focussing.
  • A black cloth for the backdrop. Two small black sheets that can form a rectangular snoot and last but not least, a wireless trigger. 

smoke-photography-2.jpg

Smoke Photography: Procedure

Start by fixing the black back drop to the wall. Place the incense stick a foot away from the back drop. Do not light it yet.

Now position the table lamp such that it points at the tip of the incense stick. It can be placed either to the left or right side (at either the 3′o clock or the 9′o clock angle) of the incense stick.

Now place the strobe on the opposite side (of the table lamp) at half a foot distance from the incense stick. Adjust the flash to 1/16th of the power and depending on the output image, you can reduce or increase it.

Now you can place the black cards on either side of the strobe so that light from the strobe does not spill out to the back drop.

Now light the incense stick and start the smoke. If possible place the entire setup in a place where you have good ventilation so that your room is not smoked out.

Switch on the table lamp.

Set your camera to manual focus and start the aperture at f8.0 and shutter speed at 1/200th of a second (below your sync speed).

Shoot in RAW format. Start clicking and get some great smoke pictures.

Gently blow the smoke to get different forms and shapes. Once you are done with this, you can let your imagination run wild by placing 2 or 3 incense sticks that in turn should produce smoke of completely different shapes.

Once you are done with shooting the smoke pictures, it is time to proceed to the post-processing part of this fun exercise.

smoke-photography-5.jpg

Smoke Photography: Post Processing

Open the picture in adobe RAW. You increase the black a little bit if you feel there is some spill light in the picture. Adjust contrast and exposure until you are satisfied.

Open the image in photoshop and make a duplicate layer. Select paintbrush and set your foreground to black and paint out the unwanted smoke in the picture.

That’s it. You have a smoke picture. If you want to color it try Hue & Saturation adjustment layer.

Also try to play with colorize option under the same adjustment layer.

If you want to make the background white, Go to Image > Adjustments > Inverse. This will make the background white.

Again like any other photography, you can always break the rules and still come up with extraordinary pictures. Play around until you are satisfied.

I hope this post has been helpful and good luck with your smoke photography.

smoke-photography-6.jpg

smoke-photography-7.jpg

smoke-photography-8.jpg

Amar Ramesh is an emerging photographer from Redmond WA, USA. Photography, to him is a passion with infinite opportunities and he loves to share the lessons and tips that he learned with others. Portfolio | Twitter | Facebook Fan Page | Flickr

Post from: Digital Photography School – Photography Tips.

dpsbook.png

An Introduction to Smoke Photography

Wearable motion capture MIDI controller

By (author unknown), MAKEFebruary 19, 2006 at 11:11AM

X9
Make music as you walk, dance, run around – “…a unique performance instrument for motion-capture midi control, featuring extensive customization to enable a wide range of musical and visual applications. Setup and operation is simple, intuitive and quick. The suit is modeled on the human skeletal form using rotational sensors placed on the joints. The GypsyMIDI simply plugs into a MIDI interface and arm movements are converted into a real-time stream of MIDI data.” Link.
[Read More]
[Comments]

MIDI Motion Capture

By (author unknown), GizmodoJanuary 31, 2006 at 11:28AM

gypsy.jpg

Wild and just a little unsettling, this GypsyMIDI from Sonalog is a motion capture MIDI controller—giving you hours and hours of really weird fun. Actually, it’s made mainly for animation companies for high-end motion capture, but if you go to the website and check out these videos, you may want to drop the cash for one yourself. One arm’ll cost you about $850 and both will gut you a whopping $2200. So maybe watching those videos should be as far as you go with this project.

MIDI-control rave exoskeletons for all! [Musicthing]

 
Comment on this post

Related: Anal-less Thermometer, Hooray!
Related: Chocolate Thongs—Need We Say More?
Related: Hover Scooter=Class Action Lawsuit

The GypsyMIDI controller

By Ryan Block, Engadget RSS FeedJanuary 27, 2006 at 04:48AM

We’re not really in the business of
asking why, but exactly how would one go about translating movement to MIDI? Well, the GypsyMIDI by Sonalog is one
solution — beside making you look like robo-exoskeletally assisted (and that’s never a bad thing), it actually
translates your body movement into MIDI input via Sonalog’s “eXo-software.” One arm will set you back $855,
the whole suit dinging your bankbook for $1,675. Hurry, you’ve only got seven months to save and buy yours before
Burning Man.

[Via Gizmag]

Read | Permalink | Email this | Linking Blogs | Comments

DiggersList Catalogs Local Construction Materials for Sale [Home Improvement]

By Jason Fitzpatrick, LifehackerJuly 06, 2010 at 04:30PM

DiggersList Catalogs Local Construction Materials for SaleDiggersList catalogs local hardware, construction materials, and construction site and demolition remnants for sale. You can find everything from overage lumber sold on the cheap to cabinet sets on their way out for a new kitchen.

Whether you need some crushed concrete as fill for a project, cabinets for your garage, or a a full-size rooftop ventilator for your workshop, you can find all sorts of new, used, and cast-off goodies on DiggersList. Designed for the contractor and DIYer alike, DiggersList catalogs local building materials, tools and hardware, home and garden materials—everything from refrigerators to sprinkler systems—and professional services for when you want to hire out the work.

DiggersList is currently available in metropolitan areas in 20 states. Visit the link below to see if your state and city are currently available. Have a favorite place—Craigslist aside!—for finding materials for your favorite projects? Let’s hear about it in the comments.

How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact [Upgrades]

By The How-To Geek, LifehackerApril 15, 2010 at 12:00PM

How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data IntactYou’re planning on upgrading your hard drive, but there’s one small problem: How do you get your data from the old hard drive to the new one, without reinstalling everything? Here’s a step-by-step guide to seamlessly transition to a new drive.

Photo by Jeff Kubina.

If you’ve bumped up against the limits of your small, old hard drive over and over, it may be time to upgrade. In some instances, all the desktop user may need to do is install a second (or third) hard drive for a little more space. But that’s not always an option, especially for laptop users. The solution: Clone your old drive—complete with your operating system and all your data—to a new, bigger drive.

How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact

For the purpose of this article, we’re going to start after the point at which you’ve physically installed the hard drive—there’s just a couple of screws and a cable, after all, but if you still need some help you can check out our guide to installing a hard drive for a primer on the basic technique.

Below, we’ll highlight a few tools that can help you clone your old hard drive to a new one (and choose a favorite we’ll use), detail a few of the finer points for getting started on a laptop or desktop computer, then guide you through the cloning and upgrading process.

Options for Cloning Your Drive

To upgrade your hard drive without reinstalling everything, you’ll need to use a utility to make an exact copy, or clone, from the old hard drive to the new one. A number of commercial tools will do this for you, and even some free Windows utilities can make a copy of your drive while your PC is running. For example, see our guide to using DriveImageXML to hot image your PC’s hard drive, which is an excellent tool for making a backup. The problem, however, is that it doesn’t create a true clone of the drive, since you’d still have to reinstall the Windows bootloader using a repair CD if you wanted to boot into your cloned drive.

The bigger problem, particularly if you’re upgrading a laptop, is that you need to have a copy of Windows already running for most of the free utilities to work; most laptops can only have one drive hooked up at a time. In this case, your best free option is the Linux-based Clonezilla Live CD, which streamlines the process of imaging your drive to an external drive or even a shared folder on another PC.

Upgrading a Desktop Hard Drive

When it comes to upgrades, desktops are always going to be easier to deal with since you can easily get in there and move cables around, and in this case, because you can hook both drives up at the same time, greatly simplifying the whole process.

What you’ll want to do is hook the new drive up—since we’ll be using a boot CD, you can save a step by plugging the new hard drive into the primary slot, and move the old one to the secondary—so once the cloning is done you won’t have to do anything else.

Upgrading a Laptop Hard Drive

Method One: While some laptops have the capability to swap out the optical drive and add another hard drive, it’s not common, so you’ll need to use an external USB hard drive, or potentially another PC with a shared folder, to save an image of the current drive. Once you’ve created the image, you can install the new drive, and then restore the image onto the new hard drive.

Method Two: Your other option is to install the new hard drive, use an external USB to SATA adapter to hook the old drive to the laptop, and then clone the drives that way. This eliminates the extra step of copying to a secondary device, but requires spending a little extra money for something you might not use very often—so you might want to borrow one from a geek friend that does PC repair (or just use the first method above).

How to Clone Your Drive with Clonezilla

Now we’re ready to clone our old drive to our new one. The first thing you’ll need to do is download a copy of the Clonezilla ISO image, and then use a software like ImgBurn to burn it to a CD. For best results, you should grab the Alternative Ubuntu-based version, which has better compatibility with modern hardware.

Once you’ve got the live CD burnt to a disc, restart your computer, boot off the CD, and accept all the default settings until you get to the screen where you can choose to create an image of the drive, or sync one drive directly to another drive. If you have both drives connected, you can simply use the device to device option, otherwise choose to create an image.
How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact

Assuming you chose to create an image, you will need to choose where the image will be stored, whether on an external drive, SSH server, or you can use the SAMBA option, which will allow you to connect to a Windows shared folder to store the image. Either of the latter two options will step you through a set of wizard screens to help you get hooked up to the server.
How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact

If you chose the local device option, you’ll be prompted to select the drive that you want to save the image on. Make sure that this drive is formatted with NTFS or a Linux filesystem—you should not use a drive with FAT32 since the 4GB maximum file size will probably cause the cloning to fail.
How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact

At this point you’ll be prompted to either save or restore a disk or partition—you should always use the disk image option here, and not single partitions, as you need the bootloader to stay intact on the new drive to make sure Windows is bootable. Since we’re making an image file here, choose the first option, and follow through the wizard to select the drive and give it a name.
How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact

Creating the cloned drive image will take a while, but at the end you should see the option to shutdown or restart your PC. Laptop users, it’s time to swap out the old hard drive with the new one, so we can restore the cloned image. If you did a direct disk to disk copy (which you probably did if you’re on a desktop), you can skip the next step (“Finishing Up”).

Restoring the Cloned Image

Now that you have the new hard drive installed in the PC, boot off Clonezilla again, follow through all of the same prompts until you get to the screen where you have to choose to save or restore the image. Choose the restoredisk option, choose the image to restore from (it’s the one we just created above), and then choose the new disk that you want to overwrite.
How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact

You’ll be prompted twice to make sure that you really want to overwrite the drive (make sure you’ve got the right drive installed—that is, the new, big, empty one), and the restore process will take a while. Once it’s all done, you can remove the CD and reboot the PC from your new drive, directly into Windows.

Bonus: The Expert Linux Method

If you’re a little more comfortable with Linux, there’s any number of command-line tools like partimage or dd that can get the job done easily from an Linux Live CD. For instance, to copy one drive to another using dd, simply use the following command, substituting sda and sdb for your source and destination device names.

dd if=/dev/sda of=/dev/sdb

To create an image file instead, you can use a command similar to the following one suggested by reader @zarekthenerd, substituting sda for your source drive name, and modifying the path to your external hard drive:

dd if=/dev/sda of=/media/EXTERNAL/backup.img bs=4096

Once you’ve created the image, you can swap out your hard drive, boot from the live CD again, and then reverse the command:

dd if=/media/EXTERNAL/backup.img of=/dev/sda bs=4096

Finishing Up: Boot Up and Expand the Partition

Now that we’re all done cloning the drive, all you need to do is boot up your PC, wait for Windows to finish figuring out that you have a new drive and installing the device drivers, and then we’re ready to fix the one remaining problem—the current drive partition is the same size as the old drive.

If you’re using Windows 7 or Vista, open up Windows Disk Management through the Start menu search box, or by right-clicking on Computer and choosing the Manage option. Once there, right-click the partition and choose Extend Volume to make the partition fill the entire disk.

How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact

At this point you should be able to head into Computer and see that your new hard drive is now nice and spacious.

How to Upgrade Your Tiny Hard Drive to a Spacious New One and Keep Your Data Intact

If you’re using Windows XP, you’re going to have to take another route (it doesn’t have a robust, built-in partition manager); you could choose to create another partition, or if you want to resize your primary partition, you can boot from the GParted Live CD and make the changes in there by clicking on the partition and using the Resize/Move button.


So have you ever upgraded from one hard drive to another one? Did you do the full reinstall, or use a cloning software? Share your experience in the comments.

The How-To Geek uses the SystemRescueCD and partimage to clone drives from the command-line . His geeky articles can be found daily here on Lifehacker, How-To Geek, and Twitter.

QSynergy makes cross-platform Synergy configuration a snap

By Jason Clarke, Download SquadApril 14, 2010 at 02:01PM

Filed under: , , , ,

QSynergyLast month, I wrote about the Synergy+ project, which is an update to the original Synergy project. Synergy is a cross-platform tool that allows multiple computers to be controlled with a single keyboard and mouse. While Synergy+ has a lot going for it, one area where it is still lacking is configuration tools for non-Windows machines.

Luckily, there’s a new Synergy configuration tool in town, and it’s called QSynergy. The big selling point of QSynergy is ease of use. It offers a graphical interface for configuring the server machine on any of the three OSes that Synergy supports: Windows, Mac, and Linux.

QSynergy is not a complete Synergy distribution — you still need to download Synergy itself from Sourceforge and install it, but once you’ve done that, you can do all the configuration tasks in QSynergy. As a Mac user this is a huge plus, since otherwise I’m stuck manually editing text-based configuration files. In contrast to previous attempts to use Synergy, I was up and running using my Mac as the server and my Windows PC as a client within about three minutes.

If you’ve ever wondered how to easily reduce the number of keyboards and mice you need to switch between in order to control multiple computers, particularly if your computers run different operating systems, Synergy with QSynergy is your ticket to a tidier desk.

[via Lifehacker]

QSynergy makes cross-platform Synergy configuration a snap originally appeared on Download Squad on Wed, 14 Apr 2010 13:01:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments

Add to digg
Add to del.icio.us
Add to Google
Add to StumbleUpon
Add to Facebook
Add to Reddit
Add to Technorati



LinuxOperating systemWindowsSynergy+Microsoft Windows