Slashdot Mirror


Good, Portable "Virtual" Linux Distro?

Prof. Nix writes "I have been given the opportunity to redesign the Linux course for the community college I work for. This course will be taking students from the 'What's Lee-nux?' stage to (hopefully) Linux+ Certifiable in about three to four months. However, one issue I haven't solved is finding a semi-stable, highly portable, and readily accessible platform the students may pound on, and have root access, independently of their peers. The powers-that-be have already vetoed any sort of server environment accessible from off campus. We've already tried live USB drives, but we ran into many issues with non-supported hardware on students' home computers. So I'm left with the idea of virtual machines run from flash drives. My ultimate goal is to have some sort of portable system that students can use with equal ease on lab systems and personal laptops — regardless of hardware. Preferably this system would be installable on a 4GB flash drive and run an Ubuntu- or Fedora-derived OS. So I ask the people who have been in the trenches a lot longer than I — what distros should I look at?"

10 of 261 comments (clear)

  1. Slackware by vikingpower · · Score: 3, Informative

    You can fully "undress" it, down to the bare basics, and it is incredibly stable. You'll definitely run it from a 4 Gb USB stick - and your students, most importantly, will LEARN from it.

    --
    Religous speak to God. Insane are spoken to by God. When all shut up, one can finally hear Shostakovich in peace
  2. Virtual Box by bsDaemon · · Score: 4, Informative

    Can't you put the virtual disk image for as a regular file on a USB stick, then load it into Virtual Box from there? That way, no purchase necessary with regards to software to run the VM, and you can issue a standardized appliance image to start with. Of course, you need to make sure that everyone has a thumb drive of sufficient size.

    1. Re:Virtual Box by hausen · · Score: 5, Informative

      I ran across almost the same problem this week: needed to have a live USB, but also the ability to run inside a virtualized machine in the case the physical machine wouldn't boot it. I second the parent's opinion: VirtualBox is the way to go. It even has a "portable edition," so you don't have to ask users to install any software, neither you need to ask the lab administrator to install any software.

      I seearched a little bit and found this nice gem: http://www.linuxliveusb.com/ (notice: this is not a slashvertizement; I have no links whatsoever with the development group. Just a really satisfied user.) You just have to:

      1) install the live CD iso of the distribution of your choice (I have chosen Ubuntu, since I am familiar with it)
      2) download Linux Live USB Creator - Full Pack (w/ Virtualbox)
      3) run it, point it to the iso file, mark the persistency option (I have setup 2GB for it) and click the "lighning bolt" icon to create your live USB with a portable VirtualBox
      4) profit!

      You can either boot it as a USB hard drive, or you can run your virtualized OS under Windows clicking the "Virtualize this Key" executable! That's it! No messing with settings in grub, no modprobe, no nothing! Just use an easy GUI.

    2. Re:Virtual Box by nabsltd · · Score: 3, Informative

      There's actually no need to buy anything to use VMware, as Player is free and allows you to create VMs...it just doesn't have some of the better features (snapshot control, etc.) of VMware Workstation.

      VMware Server is also free, and has a lot of great features. For bare-metal, ESXi is also free.

      With all that plus VirtualBox, Xen, KVM, various Microsoft offerings, etc., there really is no need to pay anything for a hypervisor.

  3. Portable Virtualbox. by sxeraverx · · Score: 4, Informative

    Look at Virtualbox: http://www.virtualbox.org/ and there are portable (current) versions out there. On there, you can install Ubuntu, Fedora, what-have-you.

  4. SUSE Studio? by sznupi · · Score: 4, Informative

    Easy customisation to your needs, has few virtual machines as targets.

    http://susestudio.com/
    http://en.wikipedia.org/wiki/SUSE_Studio

    --
    One that hath name thou can not otter
  5. Here are two. by zero_out · · Score: 5, Informative

    DSL works well. It's 50 MB, can boot off a USB flash stick, and comes with its own virtual environment for running within MS Windows. It's probably missing a few features you will want for teaching a course in Linux, though.

    I also like Puppy Linux. I was able to make an MP3 player out of a small thin client computer and this OS. I just had to modify a few shell scripts, and plug the TC into my home stereo.

  6. Make your own by houghi · · Score: 4, Informative

    http://susestudio.com/ allows you to make your own. This can then be done as USB stick, CD/DVD, VMware and what not. You can decide if you want it to be installable or not, add your own specific software and almost anything else you like.

    How far you go to make things special is up to you.

    However, you will always have non-supported hardware. Happens with any OS, except for the one that was pre-installed and then hope people have not added hardware.

    --
    Don't fight for your country, if your country does not fight for you.
  7. Re:Virtualbox images... by IANAAC · · Score: 3, Informative

    Of course, it's a bit slower than running from a disk, but it's not unbearable, at least for my needs. Other than speed, no issues whatsoever. All hardware works, but that's because it's virtualized (sound, network, etc). Recognizes all USB peripherals I attach as well.

  8. A couple recommendations by CAIMLAS · · Score: 4, Informative

    I'm a strong believer in immersion as the best way to instruct people how to do things.

    Probably the best way to go about it would be a VM disk image file sitting on the flash drive itself. Dealing with the actual flash drive might be problematic due to compatibility.

    For the virtualization, I'd probably just go with the Open Source version of Virtualbox. It can be run as a server for the lab (if need be - though not advised),

    The biggest problems with going with USB flash drives are speed and compatibility, in that order. Flash drives are still very, very slow compared to a hard disk: it will jade their opinion of the operating system due to very sluggish writes (particularly due to the virtual disk allocation on top of the flash). There are also a number of limitations with the flash drive standardization themselves, as many are utter crap. Best to verify the make/model of flash drive you pick works. (Caveat: note that vendors -very frequently- change the underlying chips in the flash drives within a single model. Expect to have to buy them in lots.)

    Honestly, given the cost of external hard disks, the lack of flash drive consistency, and your stated apparent requirements of them being able to use their own systems as well as the school lab, you might want to make a USB hard disk a class requirement instead of a flash drive.

    But: why stop there? Honestly. When I was in school, we had a lab. I had a laptop. I brought my laptop and did almost everything on my laptop in the lab - and this was way before virtualization became commonplace (VMWare existed, but just barely). There were very few classes where I needed to have anything other than what was on the laptop - Debian Linux. Students could come and use the labs at any time (though most did not, as they had their own computers which were better).

    Seriously. This is 2010, not 1998. Assuming you're not offering this as an entry-level course (you shouldn't) and you'll have at least 2nd-semester CS students taking it, there's no reason to coddle them. Just set up a CentOS or Debian system and allow students to connect to it from the campus.

    On top of that, encourage them to install Linux themselves and configure it from scratch. It'll be good for them. Make obscene recommendations, like Gentoo or (god forbid) Slackware. A certification isn't going to mean jack shit in the long run (except for maybe taking a job from someone more qualified who doesn't have the cert) if they're not intimately familiar with the material.

    This, like the virtualization question the other day, is yet another instance of "virtualization is cool so I want to apply it". It's not appropriate for every scenario (and I'd argue this is one of them, due to the added complexity and potential for outside cases).

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers