Linux Containers Authors: Elizabeth White, Liz McMillan, Vaibhaw Pandey, Pat Romanski, Yeshim Deniz

Related Topics: Linux Containers, Open Source Cloud

Linux Containers: Article

A Closer Look at Damn Small Linux

The take-along operating system

You can create a USB boot floppy with the pre-installed DSL floppy disk tools. Right-click in the DSL desktop to bring up the main DSL menu. Under "Apps | Tools | Make Boot Floppy" select "USB Boot Floppy" and follow the instructions using a blank 1.44MB floppy disk. Once you've created the floppy, leave it in the drive and reboot with the keydrive plugged in.

This new floppy will find the keydrive you've plugged into the USB port and try to boot DSL from it.

Genuine Install to Keydrive
(Still May Require Helper Floppy)
For this approach you have to be prepared to erase and reformat the contents of a keydrive for dedicated DSL use. A 256MB keydrive, which will do nicely, runs less than $20 new. To create a dedicated bootable copy of DSL on a keydrive, read on!

To get this to work you'll also have to know which USB boot standard is implemented in the BIOS of your computer. For computers that can boot from USB drives, the BIOS will support one of two formats. Bring up the BIOS setup utility again (as described above) to find out which, if any, your computer will support. With the setup utility try to put USB-HDD or USB-ZIP before CD-ROM and HDD in the boot order or your keydrive will be ignored when you reboot.

To proceed with the installation you'll need to boot back into DSL from the CD. With DSL running and your keydrive plugged in but not mounted (that just means don't do anything special with /mnt/sda1 after plugging it in) right-click in the DSL desktop to bring up the DSL main menu. Under "Apps | Tools | Install to USB Pendrive" you'll find two choices. These are "For USB-ZIP Pendrive" and "For USB-HDD Pendrive."

Choose whichever standard your computer recognizes and follow the instructions. When prompted for the device name for the installation use "sda." The program will proceed to partition and format the drive as /mnt/sda1 (with all of DSL) and /mnt/sda2 (an empty partition for your files using the remaining storage available on the keydrive).

In the case of my older test PC neither of the boot standards was supported by the BIOS so I created a USB-HDD install and combined that with a helper floppy. Many people have found getting a USB keydrive booting tricky even with a BIOS claiming to support it. If you get stuck making the keydrive boot on its own you can easily create a helper floppy using the instructions in the previous section. This helper floppy works for both forms of USB keydrive installation described in this article. Besides, having that helper floppy will all but guarantee an easy boot on an unfamiliar computer.

Getting on the Internet: Browse, Blog, E-Mail, Chat
By all accounts, DSL seems to do well with most LAN cards and adapters on desktops, many PCMCIA LAN cards on laptops, and with a smaller but growing number of PCMCIA wireless network cards. Both my test machines have PCMCIA adapters (one is a Gateway Tower desktop, the other an IBM Thinkpad laptop). With the Netgear FA411 10/100 Mbps network adapter card I used, DSL was able to recognize the card, configure it, and acquire an IP address automatically via DHCP through my router. I was on the Internet before I even realized it.

Your best bet getting started with DSL is to walk up to a PC that is already wired to a working LAN configured to give out IP addresses using DHCP. If the machine can boot into some version of Windows and get on the Internet, chances are good that DSL will boot and do the same. For those of you who have a different setup (maybe dial-up or a wireless setup with an unrecognized adapter) I have included some helpful configuration resources below.

Check Your Network Connection
If your machine boots right up and jumps onto a network with a direct "line" to the Internet you'll be able to browse right away using the "Dillo" browser. As a test, try to access www.google.com.

Assuming that works you can skip to the next section or read on and learn about some useful diagnostic tools included with DSL. If your first attempt to browse with Dillo didn't work, it could just mean that you're on a network with a proxy server. Check with an administrator or a working computer nearby to see if the browser needs to be configured with proxy settings. In Dillo you do this by clicking the "V" menu, select "Options," and click the "Network" tab to fill in your proxy settings.

To see if your machine can really communicate on a network right-click on the desktop to bring up the main DSL menu. Select System | Control Panel. Click the "System Stats" button and then click on the "Net" tab (see Figure 2). What you see here will be cryptic but informative. There should be a card and driver name followed by one or more "nameserver" entries, one per line. Name servers enable your machine to resolve names like "www.google.com" into real network addresses on the Internet. Further down you should see a section "eth0" containing your computer address listed under "inet addr" as a four-part number like "" Further along in the same section of text you should find some statistics on the number of bytes transferred by the card since it was booted. This is further evidence of a working network.

On the other hand, you may not find the information described above. In that case your next stop is the "Hardware" tab of the "System Stats" window. This is where your network card, if it was recognized, will be listed. On my test laptop, for example, I see two entries for the hardware:

NETCARD_FULLNAME=''NetGear FA411 Fast Ethernet''

If you see your card listed but it's not reported on the "Net" tab, you can try using either the "Netcardconfig" tool for a wired network card, or the "Wlanconfig" tool for a wireless networking card. Both are available from the Control Panel. Troubleshooting through these tools is beyond the scope of this article but see Resources for more information:

Fire Up Firefox
Having made a successful test of the Dillo browser (to http://www.google.com), try doing a couple of searches to convince yourself that you're really on the Internet. Before long you'll be ready for a more powerful browser. And you're in luck. Try clicking on the "Firefox" icon on the DSL desktop to bring up Firefox.

Figure 3 shows a screenshot of my DSL desktop running Firefox complete with RSS feeds and a favorite Web site.

You can see that I've been busy customizing the DSL "fluxbox" window manager with styles, applets, a background image, and extra applications. In the next section you'll learn how to do this, but - unless you're already too busy blogging - first why not check out a few more built-in applications for the Internet?

E-mail and Chat Programs
It seems like most people do e-mail with a browser at least part of the time. I use http://gmail.google.com, which has a rich user interface. This application is a good test since it really gives Firefox a workout. Try your favorite e-mail Web site. Or you can bring up and configure the built-in "Sylpheed" e-mail client program.

DSL includes text-based applications for doing text messaging. These support three popular protocols: AIM, IRC, and ICQ. Other more full-featured chat applications are available in the MyDSL application repositories.

Access the MyDSL Application Directory
The MyDSL package system for DSL really sets this little Linux distro apart. It comes to you packed with as many applications as will fit in 50MB. With MyDSL you can download and install (or set aside for later) as many applications as you want or need. These can be saved to a keydrive and brought along wherever your travels take you.

Access MyDSL by clicking the "MyDSL" icon on the DSL desktop. You're presented with a barebones window of buttons, each representing an application category (see Figure 4a). Click a button to get a list of applications in that category (see Figure 4b). Click an application to get a description. Click "Download" to put the application into a temporary (for now) directory and automatically install it in the "MyDSL" menu under the DSL main menu.

In the next section you'll learn how to keep these applications on a keydrive and even have them installed and ready to go the next time you boot up.

Saving for Next Time: Settings, Applications, Data
Accessing that Keydrive
When you insert a USB keydrive into a computer running DSL its contents will appear under the directory /mnt/sda1. The drive must be mounted before you can see your files so don't panic if /mnt/sda1 appears to be empty. Just use the mount tool on the DSL desktop. Click the button marked "fd0" until you see "sda1" and then click the red "unmounted" button once. It should turn green and read "mounted." That's all there is to it. Your keydrive is mounted read/write and ready to use.

Note: if you did create a bootable keydrive, yours will have /mnt/sda1 and /mnt/sda2. Use /mnt/sda2 to save your work and MyDSL extensions since it's created for that purpose.

Next, bring up Emelfm (or a terminal window) and create the following directories under /mnt/sda1 (or /mnt/sda2):

  • mydsl - DSL will look here automatically for MyDSL apps.
  • myfiles - I use this as a good place for other files I want to keep.
Installing Themes and Applications
To get interesting desktop and menu themes, you can visit the "Themes" area of MyDSL. When prompted for a place to save your theme use the full path to your "mydsl" directory you created above. Themes you download will become available under the menu: Desktop | Styles. Figure 4c shows a theme download to the writable storage of a bootable keydrive.

Installing applications works the same way only these will appear under the menu called MyDSL. If you want to download some applications but don't want them installed every time you reboot you can create a subdirectory under /mydsl called /optional. When you save MyDSL applications to the "optional" directory they appear in a separate sub-menu named "Install Optional Extensions" ready to install.

More Stories By Russ Ethington

Russ Ethington is an enterprise software architect and developer with 15 years of experience in numerous programming languages on Unix and other platforms. His technical interests include distributed computing, programming languages, and music synthesis.

Comments (4) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Most Recent Comments
manmathsahu 09/09/07 11:47:48 PM EDT

DSL is a good minimalist distro. If you are looking for a more usable distro you should try a lighter PCLinuxOS versionsuch as PCLinuxOS Junior or PCLinuxOS TinyMe.

charles 08/27/06 03:11:52 AM EDT

this is grait but what if you want to use a disk on chip?

Linux News Desk 07/11/06 03:01:15 PM EDT

In this article you will learn how to turn a blank CD and an inexpensive USB keydrive into a powerful, portable, take-along operating system complete with modern applications like Firefox, a Web server, and multimedia tools. All this can be done using free Open Source Linux software.

Linux News Desk 07/11/06 02:00:26 PM EDT

In this article you will learn how to turn a blank CD and an inexpensive USB keydrive into a powerful, portable, take-along operating system complete with modern applications like Firefox, a Web server, and multimedia tools. All this can be done using free Open Source Linux software.

@ThingsExpo Stories
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...