Joined: Dec. 2007
||Posted: Feb. 02 2008,18:13
I hope I am at the right place to post this. What I want to do is to make my DSL installation on a USB permanent with all the applications (mainly java apps, but also from MyDSL and apt-get command) I installed. The applications are related to geomatics. Here are the procedures I followed so far:
1°Partitionning and formating of my 4 Gb Flash drive. I copied from Windows the DSL 4.2 iso on the frist 500 Mb FAT 32 partition (/dev/sdb1), leaving the second 3500 Mb FAT 32 free (/dev/sdb2).
2°Setting my keyboard to "cf" from the control panel, restarting X.
3°Upgrading to GNU utils and enabling apt.
4°Changing the default repository in sources.list to "http://mirrors.usc.edu/pub/linux/distributions/debian oldstable main contrib non-free". The GRASS and QGIS geomatics apps are not available in the other repos.
5°Installing jre1_5_0 from MyDSL-System so I can install jar apps.
6°Downloading OpenJUMP (http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/s/si/sigle/OJ_ViatorisLinuxInstaller.jar)
wich is a geomatics software. There are others like Landserf, but the install procedure is the same.
7°Opening a terminal and typing PATH="$PATH:/opt/jre1_5_0/bin" so I can use the java -jar application.jar command.
8°Changing directory to where the downloaded file is. Installing the software with: java -jar OJ_ViatorisLinuxInstaller.jar successfully. The executable OpenJUMP-unix.sh file has been put in the /usr/local/OpenJUMP/bin directory.
9°In a terminal, changing directory to /usr/local/OpenJUMP/bin and typing again PATH="$PATH:/opt/jre1_5_0/bin" otherwise the software won't open.
10°Opening up the software with the command ./OpenJUMP-unix.sh.
There. Everything is set up properly, I can use the GRASS and QGIS softwares, and the OpenJUMP java software as well. My question is "How can I make all these installations permanent" so when I reboot my DSL stick everything will appear without having to reinstall?
1°the keyboard setting
2°the enabled apt
3°the installed apps (GRASS and QGIS) from apt-get
4°the jre1_5_0 java app from MyDSL (I have tried to modify the /etc/profile file without success)
5°the installed java apps (OpenJUMP)
Damnsmall is perfect for USB stick because it leaves lots of free space on the drive compared to other distros. I have been searching a lot to make averything working so far. I would appreciate a lot if someone could give the answers I am looking for.