Open main menu

CDOT Wiki β

ICT USB Sticks

Revision as of 16:55, 21 October 2016 by Andrew (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Important.png
No longer maintained
Due to low demand for this image I am no longer able to keep the ICT USB Stick project up to date. Effectively that means it's obsolete and no longer usable. Sorry!

Description

This is a USB stick used for some courses at Seneca. It boots very quickly (as little as 35 seconds) and comes with preinstalled software that we need.

The system image is read-only, so even if it's screwed up with bad commands run as root - it will return to a working state once the computer is rebooted. But the home directory is read-write so any files you save there will persist after a reboot.

Download and Install

  1. You'll need an ADATA UV128/32GB USB stick. You can use a different one with comparable read/write performance (a more expensive one isn't necessarily better) but it has to be at least 31,037,849,600 bytes in size. A USB3 stick is highly recommended, even if you're using it in a USB2 port (the flash inside is faster).
    •  
    • Write your name and email on it! It really does happen that someone will find your stick and will try to return it, but only if they know who it belongs to!
  2. The process of downloading, extracting, and writing the image may take a long time depending on the speed of your network, computer, and USB port.
  3. Once you have the stick, insert it into your computer, preferably into a USB3 port (it's either blue in colour or has SS writen on it, short for SuperSpeed).
  4. Download the compressed image from here:
  5. Then unzip it. You'll obviously need enough disk space for that, a total of probably 36GB (one compressed + one uncompressed file). Note that in the open lab you should use 7zip to extract the archive, the Windows built-in zip extractor doesn't seem to work for this large file.
  6. Write the image to your USB stick:
    • If you're currently using linux - you can use the dd command to write to the USB stick. Make sure you write to the device file (e.g. /dev/sdb) and not any existing partition (e.g. /dev/sdb1). You'll need root permissions to be able to write to that device file.
      • e.g. dd bs=4K if=linuxmint-18-cinnamon-64bit-seneca-ict-2016-v2.adata32.img of=/dev/sdb
    • On windows you'll need to use Win32 Disk Imager. It's a free program.
  7. Once it's done writing - it's ready to use!

User Accounts

The automatic login will log you in as the user student, the password for that user is also student. The student user doesn't have sudo privileges but you can use su to run commands as the administrator. The root password is seneca99.

There is no security to speak of on these sticks (have you seen a lot of USB sticks with protected data?). So unless you want to set up an encrypted directory - your can keep your data secure by not giving the stick to other people. No remote access (ssh, etc.) is enabled by default.

Remember that you cannot damage the root filesystem even running bad commands as root. The worst you can do is delete your home directory (don't do that :)).

  • Well, I guess if you manage to mount or erase the first partition on the USB stick - that will break it. But that's trying really hard :)

Problems

Please go to bugzilla to see existing problems and file a bug (feature and requests are very welcome). Or if you can't be bothered to register there, send Andrew an email.

Changelog and Older Versions