The Blackfin Development Live CD isn't really a CD image (its too big, but can fit on a DVD if you really want), but that is what we will call it for lack of a better name (for now).
Live CDs provide a highly portable, secure, dependable and familiar environment that is easy to use on almost any machine.
However, LiveCd sessions become even more useful when a persistent image can retain data and settings (even installed programs and packages) when the machine gets switched off. All the data can be easily pocketed and kept safe, perhaps to be physically carried to another machine. The advantages over Cloud Computing are; that it does not require a working internet connection, it gives better privacy and security as it does not place your data in other peoples possession.
This persistent image can be done via a “LiveUSB” session, where the persistent image is kept on a USB-stick maximizing on the usefulness of the LiveCd session. Any USB stick over 8Gig can be used for this example. The larger the stick, the more applications you can install, but you will find most standard applications are already on the image.
There are a few simple steps to do:
uclinux@ubuntu:~$ sudo strace usb-creator-gtk &
There are some minor differences between the Blackfin Development Live CD, and the standard “Live/Install Ubuntu” CD. To get the standard version, check out the Ubuntu Download page. Out of the chroot:
ubuntuuser, and set the
uclinuxuser to automatically log in via instructions here
./scripts/casper(change username to
./etc/casper.conf(change username to
./scripts/casper-bottom/10adduser(don't add password (if out debconf-communicate))
./scripts/casper-bottom/25configure_init(turn off virtual consoles)
In the chroot:
uclinux” user (password is ”
addgroup --gid 999 uclinux
adduser --home /home/uclinux --shell /bin/bash --ingroup uclinux --uid 999 uclinux
Live session user”
usermod -G admin,dialout,cdrom,floppy,audio,video,plugdev,users,games uclinux
apt-get install eclipse ddd anjuta gnuplot linphone cscope liblua5.1-0-dev python-all-dev manpages-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsdl1.2debian-all libsdl-net1.2-dev libcurl4-openssl-dev gtkterm libcurl4-gnutls-dev sysstat gkrellm htop audacity
apt-get purge mono-runtime evolution evolution-common bogofilter-common bogofilter bogofilter-bdb
/home/uclinux/blackfindirectory with svn checkouts of the most recent release branch. (uClinux-dist, and U-Boot, and bare metal examples, blackfin wiki, blackfin hrms, anomalies, datasheets, prm)
/etc/inputrcto enable history-search-backward and history-search-forward
sudo chmod +x /etc/init.d/ssh” to add it back, but remember to change the passwords first)
ondemandsince it causes problems on some machines (just ”
sudo chmod +x /etc/init.d/ondemand” to add it back)