A couple days ago I installed Puppy Linux (Precise 5.4.3) to a USB Flashdrive without a CD. I couldn't find a decent guide for this anywhere, so I figured it out primarily with help from a DSL tutorial. I did the install using Ubuntu Linux (which has built in support for reading iso files). If you are on another operating system, you will need some software like WinCDEmu to read the files from the iso file. You will also need to have Syslinux software to install a bootloader on the device.
apt-get install syslinux
Puppy Linux is great because it will fit on those old 256MB, 512MB, and 1GB USB disks, giving them new life.
Here I will roughly list the steps required to install Puppy Linux to USB.
- Format the usb to fat32 file system.
- I don't think this is completely necessary, but if possible, mark the usb partition as bootable. (using a program like fdisk)
- Prepare (mount) the Puppy Linux iso file so that you can for read/extract the files from it.
- Copy all the files from the iso to the usb stick.
- Create an empty file on the USB drive named: USBFLASH
- On the USB, rename the file isolinux.cfg to syslinux.cfg.
- Edit syslinux.cfg and change "pmedia=cd" to "pmedia=usbflash". (Be aware, editing this file may prevent USB booting if your editor modifies carriage return on the line ends.)
- Install syslinux loader to the USB drive in Linux
syslinux -s /dev/sdb1
Install syslinux loader to the USB drive in Windows (assuming F: is your usb)
syslinux.exe -mas F:
Congratulations if you made it this far. You should now be able to reboot into your new Puppy Linux USB installation. Here is another great resource for installing syslinux, which may help on using with Windows- http://www.syslinux.org/wiki/index.php/HowTos
Puppy Linux pmedia options, and other flags.
quicklist: usbflash usbhd usbcd ideflash idehd idecd idezip satahd satacd scsihd
Comment or leave feedback sepero 111 @ gmx . com
usb stick pendrive flashdrive pen flash drive puppylinux