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


Why Choose RIP Linux and SYSLINUX?

There are several compelling reasons why I recommend the RIP Linux rescue system. Here are the ones I consider most compelling:

  • Ultra-compact design: Because RIP Linux takes up only 33 MB, it can be used on older 64-MB USB key drives and still leave plenty of headroom.
  • Flexible format: Unlike CD and DVD discs, USB key drives use a file system format that Windows and Linux can easily recognize and use without additional hardware or software.
  • Scalable structure: Vendor-specific and general-purpose recovery utilities can easily be added to the RIP Linux menu using the SYSLINUX boot loader.
  • Current applications: RIP uses current applications, and you can include your own as you see fit.
  • Quick build time: Creating the USB version of RIP Linux completes within minutes.
  • Easily adapted and modified: SYSLINUX permits easy boot-loading capability for a variety of recovery utilities and applications.

While other software choices exist for this task, I consider these solutions overly complicated. For example, Feather and Damn Small Linux (DSL) are two lightweight (50 MB) live-CD distributions. Both distros are designed to fit on small business-card size CDs for promotions and presentations, and they can be easily modified into a respectable rescue system. But they both lack the specialization you'll find in the equally small RIP Linux.

Here are the three distinct advantages to the USB key method:

  • Storage space is writable: You can store data from any computer without specialty hardware and software, unlike a read-only CD-ROM image (or writable CD-ROM image without a CD burner!), and with much greater capacity than a typical floppy.
  • Smaller, more compact, and less fragile than CD/DVD: A USB key drives storage medium will never scratch, and it is much more rigid than CD/DVD discs. Finally, USB key drives are tiny yet capacious: the smallest are just a tad over two inches long, yet they can store as much as 2 GB of data.

  • Easily expanded, updated and modified for custom use: You can resize, reformat and repopulate any applications, drivers or utilities necessary to recover any PC.

To be fair, there are a few drawbacks to the USB approach. Here are three of the worst problems I've spotted:

  1. Not all USB devices boot.
  2. Not all BIOSes boot USB devices.
  3. Not all USB devices that should boot, will boot.

Also, not all USB storage devices—flash or otherwise—are considered the same for rescue and recovery purposes. For example, among the products I tested, neither the Link Depot SD-to-USB adapter with a 1 GB storage card inside, nor the simple Z-Cyber USB 2.0 iDrive worked as a boot device. The Link Depot adapter was unrecognized by the BIOS during boot-up. And the iDrive prevented the BIOS from proceeding through the power-on, self-test (POST) startup sequence. For a system builder seeking to troubleshoot an existing rescue or recovery problem, either device would only complicate matters.

Another issue: Drive labels for USB devices, which are used to distinguish one storage volume from another, vary from one BIOS manufacturer and version to another. Some popular BIOS versions, such as Phoenix Award, identify the first attached USB device as USB-HDD (hard drive). Others see only USB-FDD (floppy drive) or USB-ZIP (ZIP drive) devices.

If the drive label is unclear for a particular BIOS, even with the key plugged in, try setting the boot priority—and first boot device, if applicable—to any available USB device name. Remember, not all BIOSes support bootable USB devices.

That said, the File Allocation Table 16-bit (FAT16) file system format, originally developed for MS-DOS, is used in this Recipe for compatibility with most BIOS makes and models. This will identify either a bootable USB-HDD or USB-FDD device. It is essential for an all-purpose bootable USB recovery solution.

Other Uses For a Bootable USB Key Drive

With a little research and testing, you'll find your transformed key drive can also perform the following tasks:

  • Diagnose disk drives, memory modules, and other hardware.
  • Obtain detailed hardware reports.
  • Identify and benchmark CPUs.
  • Copy partitions to local or network-attached disks.
  • Reset Windows or CMOS passwords.
  • Run specialized rescue disks.
  • Run virus and malware scanners.

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.