Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Open Source

Boot a Dead PC with Nothing but a Thumb Drive


When faced with a corrupted hard drive, system builders know well the aggravation involved in making the necessary fixes. Such problems usually require a big dig through the requisite floppy and/or CD system rescue and recovery media. Or worse, you may have to deal with handmade repair images and associated specialized recovery tools.

But with the advent of the tiny, lightweight, and portable USB key drive, system builders now have a new tool. I believe the USB key drive could alter—even usurp—our old rescue and recovery methodologies forever.

The USB key drive—also known as a flash or thumb drive—is most commonly deployed as a storage or backup utility. But with a few simple conversion steps, you can transform any key drive into a full-blown rescue and recovery tool. In this Recipe, I'll take you through those steps. I'll also outline the advantages, and a few disadvantages, of transforming the key drive into a bootable utility.

While there are a couple of software installations involved, both are freeware and easy to deal with. You'll also need another PC along for the ride when actually performing a full rescue and/or extensive data recovery—but more on that later. Also required are any boot floppy images necessary for the recovery process, which we'll also get into more detail about later. Finally, while the examples I provide were done on a Linux box, everything I discuss in this Recipe will work on Windows systems, too.

Ingredients

Here are the essential components you'll need for converting a USB key drive into a bootable utility:

  • USB key drive: Any kind or capability will do. In the tests I performed, an older Memorex TD 2B flash device fulfilled the requirement with 128 MB (119 MB formatted) of storage space.

  • Recovery Is Possible Linux: This specialized, minimal Linux distribution—best known as RIP Linux—provides recovery tools for both Windows and Linux installations. It can boot into a workable desktop on many types of hardware. I like RIP for its small size (35 MB) and because it contains applications designed for data recovery. RIP Linux weighs in at 72 MB, leaving 47 MB for additional rescue images (that's more than 30 1.44-MB floppies) and run-time storage.

  • SYSLINUX binaries and files: SYSLINUX provides a minimal boot loader environment for launching into other rescue, repair, or recovery images, including pared-down Linux or Windows operating systems. I used SYSLINUX to enable an easy-to-use boot menu for booting into any number of floppy-emulation images contained on the USB key drive. In some cases, SYSLINUX must be obtained separately, as not all Linux distributions may contain its files by default.

  • USB-compliant BIOS: This simply means the BIOS can recognize and boot from USB key drives. Many modern BIOS makes and models, including Phoenix Award BIOS, are USB-compliant.

  • Desired boot floppy images: You'll need any boot floppy images that are necessary for the recovery process, which will be determined on a case-by-case basis. Some vendors still issue rescue/recovery floppy images or driver installers for add-in cards; these make for great inclusions with this USB key drive solution. These images comprise drivers, utilities, and configuration data. It's all compressed into a single 1.44-MB floppy image used to boot a machine into some state to apply changes, updates, or recover a damaged installation.

  • An additional working PC: You'll need another (working) PC to create recovery images and modify the USB key drive contents.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.