Wednesday, August 10, 2011

Article: Tutorial: How to create a Windows rescue USB stick

Tutorial: How to create a Windows rescue USB stick
http://da.feedsportal.com/c/669/f/9809/s/170a2f6d/l/0L0Stechradar0N0Cnews0Cpc0Ccomputing0Coperating0Esystems0Csoftware0Chow0Eto0Ecreate0Ea0Ewindows0Erescue0Eusb0Estick0E9847260Dsrc0Frss0Gattr0Fall/ia1.htm


How to create a Windows rescue USB stick

Tutorial: Avert PC disaster with a bootable system recovery USB stick

By James Stables
how-to-create-a-windows-rescue-usb-stick

By default, Windows 7 gives you the option to create a system repair disc

<>

Anyone who's been on the receiving end of a PC disaster can testify to the pain that they can cause, and recovering from a major crash can be a long and difficult process.

The beauty of Windows is that it can be fixed with an installation disc, which can work all kind of wonders with your PC - just stick it in your optical drive and reboot your machine.

There's a problem, though - PC manufacturers don't generally like giving away copies of Windows with their machines, so if a shop-fresh system goes wrong, you're not only stuck up a proverbial creek without a paddle, but you're going to have to spend an enormous amount of effort getting out of it.

Rescue discs

Windows has a function that lets you make a rescue disc, which performs the wonders of the installation CD when things go wrong.

The default way to do this is to use a blank CD, which is all well and good, but copied CDs are pretty open to getting scratched and not reading properly, and you'll need to fork out for a spindle for them, which will clutter up your home or office.

Fortunately, as with most parts of Windows, there's a workaround. You can use a USB flash drive to act as a system restore disc in Windows 7, making part of an armoury of tools that you can call upon in times of need.

To start making your recovery USB tool, you first need to create a recovery disc. You can go about this in two ways. The first is to actually burn a disc using the tool in Windows. Click 'Start', type create a system repair disk in the Search box and insert a blank disc. When you start the process, your disc will be burned, which can take a few minutes. This isn't ideal, though - CDs are slow and sometimes fiddly to make. With this in mind, we'd always opt for making a USB recovery key instead.

Download ISO image

diskpart

Whichever method you choose, you'll need to download an ISO disc image. To begin, go to here and download the appropriate image for your system. You'll need to use a torrent program to download the ISO, but it's fast and legal.

It's now time to start turning your CD image into a USB repair tool. First, you need a USB flash drive that you're prepared to format. The ISO file is only 100MB, so an ordinary 512MB stick will be fine.

Connect it to your PC, then click 'Start' and type cmd into the Search box. Right-click on the icon and select 'Run as administrator'. Once the command prompt has opened, you can use its partitioning tool to turn your bog standard USB drive into a powerful rescue disk.

First, type diskpart into the prompt and press [Enter], which will enable the process.

Next, type list disk to get a list of all available disks. They will be listed in numerical order, showing every partition, CD, USB connection and eSATA currently connected.

Being DOS, it will neglect to call these partitions by their assigned name, so put your detective cap on and choose the disk that's the right size.

Next, select the USB key by typing select disk #, where the hash is the appropriate number for your USB drive. The next step is to format the USB key so that Windows will recognise it as a bootable recovery disc.

To do this, first type clean into the command prompt, then press [Enter] and your USB stick will be prepared for use. Next, type create partition primary, hit [Enter] and type select partition 1, followed by active. This process slowly readies your USB stick for action, but there's a little way to go yet.

Type the command format fs=ntfs to finalise the filesystem on your USB drive so that it can be read by Windows when it boots. This process can take a few seconds to complete, and you'll be returned to the prompt when it's done.

Now type ASSIGN and EXIT to complete the process. When the USB stick is prepared, if you burned your disc using the built-in tool, insert it into the drive and explore the contents when prompted.

ISO files

There will be three folders on the CD. Drag these from the CD onto the USB drive, and then safely eject it. If you opted to download the ISO file, then you need to extract the file. You can use 7-Zip or WinRAR to extract the folders, and save them into a new folder on your machine.

When it's extracted, navigate to the folder and drop them onto your USB drive to finish the process.

Enable USB booting

Run as admin

Now that your USB rescue disc is set up, you can breathe a sigh of relief - almost. There's still one more task left.

Your PC has a pre-defined boot priority, which tells it which devices to read from when it starts up. Normally, the first will the CD-ROM drive, so that an installation disc can be found before the hard drive, where the BIOS will expect to find your installed operating system. USB booting is normally disabled, or last on the list.

The upshot is that if your PC suffers a huge crash, then your shiny new USB rescue disc will be as useful as a chocolate fireguard.

There's a simple workaround though. Restart your PC with the USB stick connected and enter the BIOS menu. This is traditionally done by hitting the [Delete] key as soon as your PC starts, but manufacturers like to make life difficult and it could be [F1], [F2] or even [F12].

The key to access your BIOS should be labelled, but you can search Google for your PC brand if you're having trouble.

When the BIOS has loaded, you need to find the boot menu, which is normally to the right of the screen. Check if there's an option for USB booting, which might be labelled 'External device'. Scroll down to this option using the arrow keys, then hit [Enter] and choose 'Enabled' if it isn't already selected.

Next, you need to promote your USB drive to the top of your boot list. Every BIOS works differently, but you need to change the boot order to promote your stick above the optical drive and hard disc drive. When you've finished, go to 'Exit' and make sure you save your changes.

There is a downside to enabling USB booting, which can become tiresome. While non-operating CDs won't affect the boot when the optical drive is chief of the boot list, USB sticks that are plugged in will often confuse your PC, making it fail to boot, citing an unrecognised partition.

It's easy to fix though (just remove the offending stick) and you can recover your PC using your rescue kit if things go wrong.

Rescue package

Extract iso

Now that you've made your USB rescue disc and your PC is primed to recognise it, you will be protected if your machine goes wrong.

In the event of a crash, just plug your USB stick into a spare port and boot your system from cold. The BIOS will see a bootable disc and present you with a host of diagnostic options, which you can use to fix the problem.

When your PC reboots, you can choose the right tool to fix it. The options are Startup Repair, which scans your PC for any issues that might be preventing it from booting up, or System Restore.

System Restore is the most useful of these two. It lets you roll back your entire setup to a previous point in time, eliminating most problems at a stroke. Windows 7 is especially good a setting restore points when the slightest changes are made to the operating system, which means you can resurrect your system with a minimum of fuss.

If you use the advanced features, you can also run Memory Diagnostics, or use System Image Recovery so that a complete system recovery can take place.

Finally, you can boot to the command prompt and remedy problems like it's 1999. Having the option to recover your PC from USB is extremely handy, and it can make up part of a larger USB recovery toolkit together with Linux distros, which can keep your data totally safe.

Of course, it's still essential to maintain regular backups of your files, and to take advantage of tools like System Restore and images of Windows, so that when you do recover your PC, getting back on track is as easy and painless as possible.

——————————————————————————————————————————————————-

First published in PC Plus Issue 310

Liked this? Then check out PC won't boot up? How to find out why

Sign up for TechRadar's free Week in Tech newsletter
Get the hottest tech stories of the week, plus the most popular reviews delivered straight to your inbox. Sign up at http://www.techradar.com/register

Follow TechRadar on Twitter * Find us on Facebook

 

(via Instapaper)



Brief message sent from a handheld device.

No comments: