Instructions on installing Linux distributions on a USB Flash drive.
Table of Contents
Explain the procedures for installing Linux on a USB drive.
Difficulty Level: Advanced
Install from within Windows
Note: This article assumes that the USB Drive is D:
- Format the USB drive to Fat32
- Download syslinux (syslinux-x.xx.zip)
- Extract the zip archive and navigate to the win32 folder
- Copy/paste syslinux.exe to the root of the USB drive.
- Open command prompt (start > run > cmd)
- Type "d:" to navigate to the USB drive.
- Type "dir" and verify that "syslinux.exe" is there
- Type "syslinux -ma d:" to make the drive bootable (Note: if installing to an external usb harddisk type "syslinux -maf d:")
- Download the ISO of the Linux distribution you wish to install.
- Extract the contents of the ISO and copy them to the USB drive (make sure to leave the directory structure intact)
- Rename the directory "isolinux" to "syslinux"
- Within the "isolinux" directory (now called "syslinux"), rename "isolinux.cfg" to "syslinux.cfg"
- Reboot and select to boot from your USB device.
Sources and Relevant Links