LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   DamnSmallLinux (https://www.linuxquestions.org/questions/damnsmalllinux-42/)
-   -   Linux on 2GB (or 4GB) external USB Flash Drive (Stick) [Bootable / Expandable] (https://www.linuxquestions.org/questions/damnsmalllinux-42/linux-on-2gb-or-4gb-external-usb-flash-drive-stick-%5Bbootable-expandable%5D-537658/)

phi 03-15-2007 06:01 AM

Linux on 2GB (or 4GB) external USB Flash Drive (Stick) [Bootable / Expandable]
 
Hello

I want to install a linux on an external USB Stick.
The cheaper the hardware, the better.
(That means: better 2GB than 4GB; that means: something like Damn small linux [DSL]
could be handy, but this is not a must!)

Following features should be included:
  • Cheap hardware (External Stick or USB Harddrive)
  • Add/remove my own software to the initial state:
    eg: use standard DSL, but without software XYZ but add software ABC.
    Once configured, save as "initial-state-for-courses".
  • Restore the Stick to the intial state in "no time"
    (eg. >dd if=initial.raw of=/dev/xyz)
  • Must be bootable and not affect the internal boot record of our systems.
  • Access to the internet
  • Install software permanently to the Stick


Why do I need this?
I teach application developer students.
We want to suply all our students (about 10 People) with such a stick in the beginning of the course. Any stick has some initial software (like bash, editor, browser, ...) on it ("initial-state-for-courses").
The students must learn to install software (like apache, mysql, php, tomcat, eclipse, ....) on their sticks (but not all of them at the same time and not all of them in the same course). The installed software should then be used (like writing a LAMP or JSP application). The state should be stored on the stick for the next day.

After the course the users zip their data (programs, texts, ...) and send them home via email.

After a course
a) the sticks could be backuped but
b) will be restored to their initial states.


At the moment we use a standard Windows XP configuration which is buggy and gets buggier after each course :-(
Another problem are the WinXP security rules of our network, which do not allow students to write certain registry entries and forbid certain folders to be written to.

--

Another possibility will be a bootable CD or DVD (like Knoppix/Ubuntu, ...).
But important is that the state of installations should be backuped from one day to another (like backing up the RAM-Drive; is this easily possible?)

---

Thanks in advance for any suggestions and ideas to my above mentioned problem.

phi

oneandoneis2 03-15-2007 06:51 AM

DamnSmallLinux sell such a USB stick on their website, and you can download all the files to roll your own. And it's not hard to customize DSL to add/remove packages.

phi 03-15-2007 07:54 AM

1 GB enough?
 
Thanks

I have found your mentioned USB Pen (stick) at:
www.damnsmalllinux.org/usb.html.

The stick is 1GB which could be a bit small for my plans:
The biggest installation my students will perform contains the following components
(I hope I have not forgotten the giant part ...):
  • Eclipse (600 MB)
  • Openoffice (250MB)
  • JAVA 1.6 SDK (160 MB)
  • Tomcat (60MB)
  • MySQL (60MB)
  • Ant (30MB)
  • Apache (25MB)
  • Browser Firefox (20MB)

Totals to approx 1.2 GB.
Thats why I am looking for a 2GB (or 4GB) Stick.


Any experience?

Is it simply possible to copy everything from that DLS-Stick to a 2GB or 4GB stick?
Is it still fast enough to work with?

phi 04-17-2007 01:27 AM

ubuntu does the job
 
See http://ubuntuforums.org/showthread.php?t=400028
for a first project experience.


All times are GMT -5. The time now is 06:05 PM.