From within Windows
Note: This guide assumes that your USB Flash Drive is "F:". Please replace "F" with the correct drive letter. There are two methods. For either method, you will need:
[
edit]
Method I
- Format your flash drive, from cmd.exe (the "DOS" window) type:FORMAT F: /fs:FAT32
- Unzip "dsl-embedded.zip" to your flash drive (you could use the "Extract all files" built into XP with the destination as "F:\")
- Download Syslinux - Syslinux can also be used by various other platforms, such as Unix.
- Go to a command prompt and run syslinux for your drive from \win32\syslinux.exe typing:SYSLINUX -ma F:
- If you are running Windows Vista, remember to start cmd.exe as Administrator, otherwise the normal cmd.exe won't be able to access the MBR of your USB drive.
- reboot.
Note: Booting from USB may or may not work on your computer, mostly dependent on its age and bios setup. Some systems may have problems booting from USB drives formatted as FAT32. Changing the format step to
FORMAT F: /fs:FATmay allow DSL to boot.
(**) YMMV. Some report this does not work. Some report it does:
- (Tested 9/27/07 on Hp T5515 thinclient, worked without issue. Generic 512mb drive, fat32, DSL embedded 3.4.3)
- (Tested 10/16/07 on Custom built dual core PC, Worked Without issue. Adata JOGr 2 gig drive, FAT32, DSL embedded 3.4.4)
- (Tested 11/25/07 on Asus EEEpc, worked without issue. Generic 128MB drive, FAT32, DSL embedded 4.0)
- (Tested 12/12/07 on Memorex Traveldrive, worked without issue. 1GB drive, FAT32)
- Starts booting but stops showing an insmod error (?) on Packard Bell Easynote XS20-005, booted from a Apacer Handy Steno AH123 (1Gb, FAT32) with dsl-4.2.5-embedded, boot parameter "dsl vga=normal", xvesa 800x600x32.
- Doesnt boot from generic 256Mb usb stick on Packard Bell Easynote XS20-005, tried both FAT and FAT32
[
edit]
Method II
NOTE: HP USB Key Utility will only run on vista if you run the installation in compatibility mode. To apply this, rightclick on the installation file and go to "Properties". Open the tab "Compatibility" and choose "Windows XP Service Pack 2". Apply and then it's working on vista too. Note: You don't need to run the installed program in this mode.
For this method, you will need "HP USB Key Utility for Windows", from
http://h20000.www2.hp.com/bizsuppor...=us&mode=3&taskId=135&swItem=MTX-UNITY-I23839
- Install "HP USB Key Utility for Windows"
- Plug in the flash disk and let windows find it (check the letter assigned to your flash disk e.g. F

- Run Start Menu-> Programs -> HP System Tools -> HP Drive Key Boot Utility
- On Welcome Screen - click Next
- Select your flash drive letter (in my case F
- click Next
- Choose Create New or Replace Existing Configuration - click Next
- Choose Hard Drive - click Next
- Choose Create New Filesystem - click Next
- Wait until the drive is formated...
- Choose HP Firmware Flash Package - click Next, click Finish.
- Now extract the content of the dsl-embedded.zip file directly onto your flash disk (F: in my case) overwriting all files(!!).
- Done! Your DamnSmallLinux on USB is ready
Reboot and try it!!
NOTE: This method did not work for me using DSL v3.3 with a Sandisk Cruzer Titanium USB drive.
User Tested: This method worked perfectly using HP Utility and dsl-4.2.1-embedded.zip
[
edit]
Convert .iso to USB installation
With the guide from
[1] you can install the .iso contents non-destructively onto a USB partition. Leave out all the partitioning or formating stuff to prepare an existing and used USB drive for DSL booting:
Note: All path names are examples! Please adapt or you may corrupt existing partitions or files.
- Mount USB drive, with e.g. mount /dev/sdx1 /flash - can be either FAT16 or FAT32!
- Mount ISO image, with e.g. mount /tmp/dsl-3.2.iso /tmp/iso -o loop
- Copy all contents from ISO to USB drive: cp -vr /tmp/iso/* /flash/
- Rename and move syslinux files to root directory: mv /flash/boot/isolinux/* /flash/
- Rename isolinux.cfg: mv /flash/isolinux.cfg /flash/syslinux.cfg
- Unmount USB drive: umount /flash
- Install syslinux: syslinux /dev/sdx1 and eventually set the MBR boot flag for this partition (with fdisk).