The method I have uptil now used to have Linux (Ubuntu) on my Windows Laptop was to create a Linux partition on Hard Drive, and install Ubuntu alongwith Windows as “Dual Boot”.
I have now tried to find a method where no installation is done on Laptop’s Hard Drive. I tried following 3 methods, and finally succeded in method 3:
METHOD -1 (FAILURE)
Burned Ubuntu Live Cd iso to USB flash stick. Pluged in the USB stick into laptop, and at boot chose to boot from the USB stick.
This method gives very restricted “apt-get update” and “apt-get upgrade”, and fails to install lot of packages required for installation of dump1090-mut/dump1090-fa and Piaware. Also even those few packages which could be installed, disappeared at reboot.
METHOD -2 (FAILURE)
Burned Ubuntu Live CD iso to USB flash, but in persistant mode using tool makeusb
sudo add-apt-repository universe
sudo add-apt-repository ppa:mkusb/ppa
sudo apt-get update
sudo apt-get install mkusb usb-pack-efi
#follow the instructions in dialog box
This method creates an extra partition to store files. It is claimed that by this method installed software can be retained. However since it also has same restricted “apt-get update” and “apt-get upgrade”, installation of dump1090 and Piaware fails.
METHOD -3 (SUCCESS)
Full installation of Ubuntu on USB flash stick as follows:
Downloaded Ubuntu 16.0.3 iso, and wrote it to a DVD. Pluged in a blank formatted 32 Gb USB flash stick in laptop. Now iplaced Ubuntu DVD in the DVD drive of Windows laptop, restarted laptop, and booted from DVD into Ubuntu, which at startup gave two options “try” and “install”. Chose “install”. Next it again gave two options “install alongwith Windows” and “Remove windows and install only Ubuntu”. I chose “alongwith Windows”. It again showed Hard Drive and USB flash and asked on which one. I chose USB flash, and installation started, and took a while to complete.
After installtion completed, I removed DVD, but left USB flash stick pluged in. Re started laptop, and at boot chose option to boot from USB flash. Ubuntu started, and I could successfully do “apt-get update” and “apt-get upgrade”,and could indtall all required packages (tools & dependencies), and finally could successfully install dump1090-fa and Piawsre data feeder.
To test persistance of adsb software installed on USB flash, I shutdown laptop, then again booted from the USB flash stick, and found both dump1090-fa and Piaware data feede existing and working normally.