Welcome!

Linux Containers Authors: Elizabeth White, XebiaLabs Blog, Aater Suleman, Dan Blacharski, Yeshim Deniz

Related Topics: Linux Containers

Linux Containers: Article

Knoppix makes a great GUI installer for Debian

Can Knoppix make the dreaded Debian install such a piece of cake that even a doddering old journalist can put it on his laptop?

(LinuxWorld) — I've gotten in trouble with some readers lately. I would prefer to think it is just age and the curmudgeonhood that often accompanies it. But the truth is sometimes I just blow it. I don't mean the angry Windows users who were in denial about Linux being a better install. Nor am I talking about the gamesters (and game resellers) who felt it unfair of me to speculate on the reasons for Epic Games' stealth release of Unreal Tournament 2003 for Linux. I'm talking about someone who was dead right to call me on what I said.

His name is Klaus Knopper. He took me to task for having referred to Knoppix as a "demo distribution." Knoppix, of course, is wildly popular for demonstrating Linux. The Austin LUG, for example, recently gave away 400 Knoppix CDs from their booth at a local computer show.

As Knopper told me, "Knoppix is a real Debian system." I've seen mention of it being used as a rescue CD, as a secure firewall, as a portable network monitor and as a traveling companion that allows you to read e-mail away from home without leaving tell-tale traces on someone else's hard drive. Others have been interested in experimenting with it as a secure Apache server. Knopper has said he is working on a project that will allow it to be used as a terminal server.

Knoppix as a Debian installer

This week, I take a closer look at Knoppix in a different role: as a GUI installer for Debian. I first heard about this use for Knoppix when Knopper mentioned it on a private news server. Then Bill Eastman, a Knoppix user in the Austin LUG, brought the subject up on the LUG's mailing list. The idea intrigued me. What if Knoppix made the dreaded Debian install such a piece of cake that even a doddering old journalist could put it on his laptop?

I scribbled down the instructions from Knopper's post (sudo /usr/local/bin/knx-hdinstall) and went off to boot my trusty Sony Vaio laptop from the Knoppix CD I had just burned from the KNOPPIX-3.1-23-10-2002-EN.iso.

I entered the knoppix desktop-gnome command at the boot prompt to get me to my preferred desktop environment and, sure enough, that is what appeared. After opening an Xterm window, I entered the sudo command noted above, and I was off to the races.

The very first thing to appear was a warning that the hard-disk installation process is very much "under development." You need to be aware that bad things might happen as a result. Do not proceed with the installation if you are at all worried about the contents of your hard drives.

Next the install script launched cfdisk to handle partitioning chores. I selected the only choice I had for the hard disk, then left the partition table as it had been under Red Hat 8. That gave me a smallish partition I could use for boot, a swap partition, and everything else to root.

After exiting cfdisk, I was asked if I wanted a swap partition. I said yes and it asked me if the 256-megabyte partition was the one I wanted to use. I said yes again.

The installer asked me which partition to use as root and showed me the small partition used as boot by Red Hat and the large partition. I chose the large one and the install script created a file system on it.

Then it was time to start copying files. I was warned that it would take 30 or 40 minutes, but in fact it only took about 15. A series of interactive questions and answers followed.

  • Start a mail server (smail) at boot? (No)
  • Start sshd at boot? (Yes)
  • Start Samba at boot? (No)
  • Start kdm at boot? (No)

Then I was asked for a host name and to select the network device. The only option for the device was eth0 so that's what I chose. I said Yes to DHCP.

Next came my Unix and user password. The default user, by the way, was Knoppix. Did I want LILO on the MBR? Yep, but skip the boot diskette if you don't mind. That was it. It took 27 minutes from booting from the CD to complete the basic installation.

I powered the Sony down, removed the CD from the drive, and powered it back up. Amazing! There was a full blown (and configured) Debian system with Internet access! However, there were also a couple of "gotchas." For one thing, everything was in German. By everything, I mean keyboard layout as well as language. For another, Gnome had been replaced with KDE.

I found Bill Eastman on the #knoppix channel on irc.openprojects.net and asked for guidance. He walked me through the language localization change. It's easy if you know where it is. I simply right-clicked on the DE in the bottom right hand corner of the screen and a menu appeared. I chose English and applied it. When I restarted X, I could read the menus and use a familiar keyboard layout again. Eastman later informed me that if I had entered Lang=us at boot time, the language/locale would not have reverted to German.

Eastman doesn't use Gnome so he couldn't help me get my favorite environment back. A quick visit to the #debian channel on the same IRC gave me an easy way to fix that. All I needed to do was apt-get install gdm and restart X. Now I was cooking.

Easy updates too

I decided I would do one more thing before calling it an install. Just as I had done with the Windows and Red Hat installs, I decided to bring the new installation up-to-date with all the latest security patches. I got help again on the #debian channel on how to accomplish this.

Pretty easy, really. I added deb http://security.debian.org stable/updates main contrib non-free to my /etc/apt/sources.list, then ran apt-get update and apt-get upgrade. The whole process took me about 10 minutes.

That means the entire process took less than 40 minutes. Of course, it doesn't include configuring the USB IBM PC Camera that the other installations did, but it does include everything else, including OpenOffice 1.0. Color me impressed.

I don't know whether Knoppix made the Debian installation any faster than a knowledgeable Debian user could have done it, but it certainly saved me a lot of time. The configuration process on a normal Debian installation can be daunting. What Knoppix did was to automagically identify and configure everything for me.

I don't recommend using Knoppix this way for a complete newbie, but if you are halfway familiar with Linux and your PC, I wouldn't hesitate to recommend using Knoppix as a Debian installer. One more use of a truly amazing (and a very real) Linux distribution. My apologies to Knopper and the Knoppix project sponsors at the LinuxTag association for ever saying otherwise.

More Stories By Joe Barr

Joe Barr is a freelance journalist covering Linux, open source and network security. His 'Version Control' column has been a regular feature of Linux.SYS-CON.com since its inception. As far as we know, he is the only living journalist whose works have appeared both in phrack, the legendary underground zine, and IBM Personal Systems Magazine.

Comments (1) 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
bgfay 03/23/04 08:05:19 PM EST

The installer is great but has a couple bugs. First, it would be great if someone would make Knoppix for US English. Most of it is easy to switch but OpenOffice installs in German. The only way I was able to fix it was to remove that version and install another. Not exactly convenient. There are also some issues with dual booting that were fixable, but not easy to someone like me who has a year or so of experience running GNU/Linux.

I've also got to figure out now how to get the rest of the pieces of the system installed. I have a RedHat 8.0 install at home and it has a whole lot more of the command line stuff installed by default. I know that I can do this with apt-get but I haven't done any of it yet.

All in all, the install was really good and these are just minor issues. As a point of comparison, I couldn't get Fedora to make the network connection on the same machine that Knoppix found immediately and the Mandrake install hung hard every time it tried to read from the CDROM. How Knoppix is so good at detecting hardware, I don't know, but I wish that every distro would copy it.

I can't wait to see the next iteration of Knoppix and I'm hoping that by then I'll understand more of what's going on in Debian. Thanks to the Knoppix crew and to Joe for the article. Because of you folks and a little bit of work on my part, we now have our first working Linux system at school. The kids are intrigued and asking when we can install it on the other nine computers. Cool.

@ThingsExpo Stories
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm.
Cybersecurity is a critical component of software development in many industries including medical devices. However, code is not always written to be robust or secure from the unknown or the unexpected. This gap can make medical devices susceptible to cybersecurity attacks ranging from compromised personal health information to life-sustaining treatment. In his session at @ThingsExpo, Clark Fortney, Software Engineer at Battelle, will discuss how programming oversight using key methods can incre...
Most technology leaders, contemporary and from the hardware era, are reshaping their businesses to do software in the hope of capturing value in IoT. Although IoT is relatively new in the market, it has already gone through many promotional terms such as IoE, IoX, SDX, Edge/Fog, Mist Compute, etc. Ultimately, irrespective of the name, it is about deriving value from independent software assets participating in an ecosystem as one comprehensive solution.
The 20th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held June 6-8, 2017, at the Javits Center in New York City, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Containers, Microservices and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportunity. Submit your speaking proposal ...
New competitors, disruptive technologies, and growing expectations are pushing every business to both adopt and deliver new digital services. This ‘Digital Transformation’ demands rapid delivery and continuous iteration of new competitive services via multiple channels, which in turn demands new service delivery techniques – including DevOps. In this power panel at @DevOpsSummit 20th Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, panelists will examine how DevOps helps to meet th...
SYS-CON Events announced today that Juniper Networks (NYSE: JNPR), an industry leader in automated, scalable and secure networks, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Juniper Networks challenges the status quo with products, solutions and services that transform the economics of networking. The company co-innovates with customers and partners to deliver automated, scalable and secure network...
SYS-CON Events announced today that Hitachi, the leading provider the Internet of Things and Digital Transformation, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Hitachi Data Systems, a wholly owned subsidiary of Hitachi, Ltd., offers an integrated portfolio of services and solutions that enable digital transformation through enhanced data management, governance, mobility and analytics. We help globa...
SYS-CON Events announced today that T-Mobile will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. As America's Un-carrier, T-Mobile US, Inc., is redefining the way consumers and businesses buy wireless services through leading product and service innovation. The Company's advanced nationwide 4G LTE network delivers outstanding wireless experiences to 67.4 million customers who are unwilling to compromise on ...
Five years ago development was seen as a dead-end career, now it’s anything but – with an explosion in mobile and IoT initiatives increasing the demand for skilled engineers. But apart from having a ready supply of great coders, what constitutes true ‘DevOps Royalty’? It’ll be the ability to craft resilient architectures, supportability, security everywhere across the software lifecycle. In his keynote at @DevOpsSummit at 20th Cloud Expo, Jeffrey Scheaffer, GM and SVP, Continuous Delivery Busine...
20th Cloud Expo, taking place June 6-8, 2017, at the Javits Center in New York City, NY, 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 strategy.
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo 2016 in New York. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place June 6-8, 2017, at the Javits Center in New York City, New York, is co-located with 20th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry p...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend @CloudExpo | @ThingsExpo, June 6-8, 2017, at the Javits Center in New York City, NY and October 31 - November 2, 2017, Santa Clara Convention Center, CA. Learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
SYS-CON Events announced today that SoftLayer, an IBM Company, has been named “Gold Sponsor” of SYS-CON's 18th Cloud Expo, which will take place on June 7-9, 2016, at the Javits Center in New York, New York. SoftLayer, an IBM Company, provides cloud infrastructure as a service from a growing number of data centers and network points of presence around the world. SoftLayer’s customers range from Web startups to global enterprises.
SYS-CON Events announced today that Hitachi, the leading provider the Internet of Things and Digital Transformation, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Hitachi Data Systems, a wholly owned subsidiary of Hitachi, Ltd., offers an integrated portfolio of services and solutions that enable digital transformation through enhanced data management, governance, mobility and analytics. We help globa...
NHK, Japan Broadcasting, will feature the upcoming @ThingsExpo Silicon Valley in a special 'Internet of Things' and smart technology documentary that will be filmed on the expo floor between November 3 to 5, 2015, in Santa Clara. NHK is the sole public TV network in Japan equivalent to the BBC in the UK and the largest in Asia with many award-winning science and technology programs. Japanese TV is producing a documentary about IoT and Smart technology and will be covering @ThingsExpo Silicon Val...
The age of Digital Disruption is evolving into the next era – Digital Cohesion, an age in which applications securely self-assemble and deliver predictive services that continuously adapt to user behavior. Information from devices, sensors and applications around us will drive services seamlessly across mobile and fixed devices/infrastructure. This evolution is happening now in software defined services and secure networking. Four key drivers – Performance, Economics, Interoperability and Trust ...
SYS-CON Events announced today that Hitachi Data Systems, a wholly owned subsidiary of Hitachi LTD., will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City. Hitachi Data Systems (HDS) will be featuring the Hitachi Content Platform (HCP) portfolio. This is the industry’s only offering that allows organizations to bring together object storage, file sync and share, cloud storage gateways, and sophisticated search an...
SYS-CON Events announced today that CollabNet, a global leader in enterprise software development, release automation and DevOps solutions, will be a Bronze Sponsor of SYS-CON's 20th International Cloud Expo®, taking place from June 6-8, 2017, at the Javits Center in New York City, NY. CollabNet offers a broad range of solutions with the mission of helping modern organizations deliver quality software at speed. The company’s latest innovation, the DevOps Lifecycle Manager (DLM), supports Value S...
@GonzalezCarmen has been ranked the Number One Influencer and @ThingsExpo has been named the Number One Brand in the “M2M 2016: Top 100 Influencers and Brands” by Analytic. Onalytica analyzed tweets over the last 6 months mentioning the keywords M2M OR “Machine to Machine.” They then identified the top 100 most influential brands and individuals leading the discussion on Twitter.
SYS-CON Events announced today that Super Micro Computer, Inc., a global leader in compute, storage and networking technologies, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Supermicro (NASDAQ: SMCI), the leading innovator in high-performance, high-efficiency server technology, is a premier provider of advanced server Building Block Solutions® for Data Center, Cloud Computing, Enterprise IT, Hadoop/...