20 December 2009 View Comments

How to Install Damn Small Linux On a USB


This how to explains a step by step procedure to install Damn Small Linux (DSL) onto a memory stick (USB Card, "Thumb" or "Pen" drive) in Microsoft DOS or FreeDOS.


Open the DOS Command Prompt.

  1. Click on the "Start" button, on the Windows taskbar.
  2. Click on "Run" and place your cursor in the text box.
  3. Type in cmd.exe and press Enter on your keyboard.

Save any files you might need from the USB drive, either through windows or the command-line:

xcopy /e /i X: \tempbackup

Note: for here and in the steps below, replace X: with the actual drive letter of your USB drive.

Format your USB Card as FAT32:

FORMAT X: /fs:FAT32

Download a zipped archive called syslinux from kernel.org.

Unzip the archive to a directory.

Run Syslinux

Run Syslinux by typing syslinux -ma X:. (Make sure to be in the correct directory on command prompt. It would be C:\win32 if you extracted the files to C:.)

Download the latest archive (dsl-embedded.zip) from a Damn Small Linux mirror site.

Unzip the archive to a directory.

Copy all the files from the DSL directory to the root of your USB drive.

Restore any files you saved from the first step

xcopy /s \tempbackup X:

rmdir /s \tempbackup

Restart and boot from your USB drive.

 

Tips

To save any configuration changes, such as your shared keys, make sure to run the Backup utility from the System menu, obtained by right-clicking anywhere on the desktop. When prompted for a device name, leave off the /dev part, that is, you’d normally just type sda1. It will automatically restore the backup on your next boot.

blog comments powered by Disqus