How to Boot PUD Linux Off a Flash Drive




This instructable teaches you how to install PUD, a 260MB OS, on your flash drive. This is my first instructable so please, be hard on me.
It is persistent, so it will save its settings on exit. I am not responsible for anything happening to your computer, but if you follow the instructions exactly, you will be able to run Linux in no time.  :  )

PUD is a distro of linux that is pretty small, (not as small as DSL at 51MB) but is pretty cool to have. If you boot it at school, try not to have it attract attention, or you may get in trouble!

You will need:
A Windows computer that supports usb booting.
A usb flash drive, a CD will not work.
The Internet (duh!)
7-Zip, WinRAR, or other archive software.
You cannot:
Have U3 software installed.
Install it to your hard drive, this will ruin your hard drive, making it impossible to start windows! Do not attempt!

Step 1: Download the Necessary Files...

You are going to need to download the operating system before you use it, obviously.

You can get the files from here:
Pud Linux:
Download PUD Linux
Pud Linux Correct Install Batch file( ! required ! ) I cannot seem to upload a valid link so I will just have you save it later:

Once you have the  files downloaded, continue to the next step.

Step 2: Extract...

Next, once you have downloaded the necessary files, extract them to the root of your flash drive (normally F or G).
When I extracted it using the windows extraction wizard, It froze every time. So I used 7-zip.

Step 3: Edit the Config File(to Change the Language)

The next step is to change the config file so it doesn't boot in Taiwanese, but if you also speak that language, then that's okay too. Start by going to the root of your drive, there should be a file called "syslinux.cfg", but Microsoft outlook will recognize the file type. Right click it and open it with notepad or wordpad.
There should be 2 parts that looks like this:
kernel boot/vmlinuz
append initrd=boot/initrd.gz root=/dev/ram rw boot=casper showmounts wm=tw init=/sbin/finit-mdv

Where it says wm=tw, change it to say wm=en
Then your config file should look like this:
default normal
prompt 1
timeout 150

label linux
kernel boot/vmlinuz
append initrd=boot/initrd.gz root=/dev/ram rw boot=casper showmounts

label normal
kernel boot/vmlinuz
append initrd=boot/initrd.gz root=/dev/ram rw boot=casper showmounts wm=en init=/sbin/initng

label fast
kernel boot/vmlinuz
append initrd=boot/initrd.gz root=/dev/ram rw boot=casper showmounts wm=en init=/sbin/finit-mdv

If it doesnt, change it so it does. But if it does look like this, your ready for the next step, making it bootable!

Step 4: Making It Bootable

So far you should have done the following:
Downloaded the zip file
Extracted the contents of to your flash drive
Edited the config file so it doesn't boot linux into Taiwanese

Next you need to replace the batch file with the text I will give you.
Right click the "intall.bat" and select "open with" and choose either notepad or wordpad.
Select all of the text and hit delete.
You should have a completely blank file.
Copy the following text into the file:

@echo off
set DISK=none
set BOOTFLAG=boot666s.tmp
echo This file is used to determine current drive letter. It should be deleted. >%BOOTFLAG%
if not exist %BOOTFLAG% goto readOnly
echo Wait please, searching for current drive letter.
for %%d in ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do if exist %%d:%BOOTFLAG% set DISK=%%d
if %DISK% == none goto DiskNotFound
echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
echo                      Welcome to the LiveUSB Installer
echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
echo This installer will setup disk %DISK%: to boot only the installed linux OS.
echo Warning! Master Boot Record (MBR) of the device %DISK%: will be overwritten.
echo If %DISK%: is a partition on the same disk drive like your Windows installation,
echo then your Windows will not boot anymore. Be careful!
echo Press any key to continue, or kill this window [x] to abort...
pause > nul
echo Setting up boot record for %DISK%:, wait please...
if %OS% == Windows_NT goto setupNT
goto setup95
bootsyslinux.exe -ma %DISK%:
goto setupDone
:setup95 -ma %DISK%:
echo Disk %DISK%: should be bootable now. Installation finished.
goto pauseit
echo You're starting the installer from a read-only media, this will not work.
goto pauseit
echo Error: can't find out current drive letter
echo Read the information above and then press any key to exit...
pause > nul

Next, save the document in the root of your flash drive. It should be saved as "install.bat"

Next you are going to need to make it bootable. You need to be an admin for this step.
Go to the root of your flash drive and double click "install.bat"
For vista users, right click it and select "Run as Administrator"

It should confirm that it will make your flash drive bootable.

Check to see if it is the right drive letter! You don't want to screw it up!
For the last time, do NOT try it on your hard drive, it will make windows UNBOOTABLE!

Press any key to make it bootable, it should take less than 3 seconds.
It should display a completed screen. If not, something went wrong. Make sure you are an admin, or it will say "Access Denied" or some other error.

To check if the flash drive is bootable, go to "Tools > Folder Options > View tab > Show hidden folders and files" should be enabled.
"Tools > Folder Options > View tab > Hide protected Operating system files" should be disabled.
Hit apply, then look at your flash drive, there should be a file called "ldlinux.sys". If not, try making it bootable again. If you still cant get it to work, you probably did something wrong. Reread the steps and try again.

If it is bootable, its time to boot!

Step 5: Check It Out!

Next you are going to need to do the following:
1. Turn your computer off, completely.
2. Insert your bootable flash drive
3. Turn the computer on
4. Hold F12 until the computer beeps
5. Select "Boot from flash device"
6. When it says "boot_", just press enter, sit back and wait for it to load.
7. You are a Linux user!
8. When you are done being a linux computer, turn the computer off, then turn it back on, It will boot up normally, with Windows. You have a completely portable OS!



    • Tape Contest

      Tape Contest
    • Trash to Treasure

      Trash to Treasure
    • Arduino Contest 2019

      Arduino Contest 2019

    11 Discussions


    9 years ago on Introduction

    Fun little OS,  But , I take issue with
    "You will need:
    A Windows computer that supports usb booting."

    There is NO WAY I want to install Windows, just to create a linux boot drive!
    Linux is to get AWAY FROM windows :-)

    Aside from the bootsyslinux.exe, I don't really see the need for windows at all. or even mac OS!

    well, on further research, syslinux can be done in dos, windows, or linux(dunno about osx) so there goes that argument.

    You did say to be hard on you :-)

    Nicely done overall.


    8 years ago on Introduction

    well. after a 7 hour download it wont let me extract the files. and before i restart this project would this OS open on a laptop with no hard drive?

    2 replies

    Reply 8 years ago on Introduction

    Yes, It will work without a HD but I dont know why it wouldnt let you extract the files...what happens when you try to extract them?


    Reply 8 years ago on Introduction

    error: unknown filesystem
    grub rescue>

    It is booting SOMETHING...I think its the kernel or something. Did you change the syslinux CFG correctly?


    8 years ago on Introduction

    whenever i boot off the usb it says

    error: unknown filesystem
    grub rescue>



    Actually, you press F12 during start up, it doesn't (and I believe can't) have a password on it. Setup (F2) is the wrong way to go with usb booting, because it can have a password in it.


    9 years ago on Introduction

    In order to boot the OS of the flash drive, you would generally need an administrative password in order to access the BIOS, which is something that most students in school would not have.

    Other than that, good instructable.