posted on Apr, 5 2015 @ 11:49 PM
Installing Linux on a USB Drive
Download:
Universal USB Installer
Download your favorite Linux distribution in ISO format. For me this is
Fedora w/KDE.
Step 1 plug in a USB stick that is at least 1-2GB. Preferably a 32GB thumb drive or larger. If you don’t plug in the USB stick before starting the
program, it may not detect your drive.
Run the program and choose “Agree.” Select the distribution from the first drop down list.
Then in step two select the ISO file that we downloaded. If you don’t see your file in downloads you may have to type in the filename text box
“*.*” and press enter to get it to display your files.
Make sure you backup your files from your thumb drive to your desktop or some other safe place.
Now make sure the check box for “Format” is selected. I recommend doing this just in case the wrong file system is installed and leaves the drive
unbootable.
Now choose “Create” and select “Yes.” In about two or three minutes your bootable Linux drive will be ready.
What can I use this for? I’ll give you a few examples. Ever wanted to get some files off a computer that has a user account and password? If the
BIOS doesn’t have a password set it to boot from the USB drive first then reboot and start Linux. Navigate to the drive and you can copy the files
. What if your school computers are very restrictive? Use Linux from USB drive to bypass their blocks. It doesn’t work in all cases, but usually
it does.
I’ll give you another example. When I deployed to Iraq we stopped and acclimatized ourselves for two weeks in Kuwait. We lived in tents. There was a
particular tent that we could go to and pay per hour to surf the internet. I would just boot off of my USB thumb drive, which completely bypassed
their application to charge for internet.
You can also use Linux to recover files from damaged hard drives. Use the DD command. Learn the DD command it is your friend. So here’s the command
“dd if=/location/of/file/to/copy of=/location/of/where/to/save/copy conv=sync, noerror”. The "sync" tells DD to pad damaged areas of the file
with nulls to preserve the file size. The file size needs to be preserved when recovering things like access files. The "noerror" tells DD not stop
when it encounters an error with the file. See normal copy commands will stop and delete what they have copied the minute they detect an error. Making
you screwed. Not with DD!
Hope this helps someone.