Linux Containers Authors: Elizabeth White, Pat Romanski, Yeshim Deniz, Roger Strukhoff, Flint Brenton

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)

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.

@ThingsExpo Stories
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
Predicting the future has never been more challenging - not because of the lack of data but because of the flood of ungoverned and risk laden information. Microsoft states that 2.5 exabytes of data are created every day. Expectations and reliance on data are being pushed to the limits, as demands around hybrid options continue to grow.
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
As IoT continues to increase momentum, so does the associated risk. Secure Device Lifecycle Management (DLM) is ranked as one of the most important technology areas of IoT. Driving this trend is the realization that secure support for IoT devices provides companies the ability to deliver high-quality, reliable, secure offerings faster, create new revenue streams, and reduce support costs, all while building a competitive advantage in their markets. In this session, we will use customer use cases...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City. Digital Transformation (DX) is a major focus with the introduction of DXWorldEXPO within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of bus...
With 10 simultaneous tracks, keynotes, general sessions and targeted breakout classes, @CloudEXPO and DXWorldEXPO are two of the most important technology events of the year. Since its launch over eight years ago, @CloudEXPO and DXWorldEXPO have presented a rock star faculty as well as showcased hundreds of sponsors and exhibitors! In this blog post, we provide 7 tips on how, as part of our world-class faculty, you can deliver one of the most popular sessions at our events. But before reading...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by FinTechEXPO. ICOHOLDER give you detailed information and help the community to invest in the trusty projects. Miami Blockchain Event by FinTechEXPO has opened its Call for Papers. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Miami Blockchain Event by FinTechEXPO also offers s...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.
The IoT Will Grow: In what might be the most obvious prediction of the decade, the IoT will continue to expand next year, with more and more devices coming online every single day. What isn’t so obvious about this prediction: where that growth will occur. The retail, healthcare, and industrial/supply chain industries will likely see the greatest growth. Forrester Research has predicted the IoT will become “the backbone” of customer value as it continues to grow. It is no surprise that retail is ...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
DXWorldEXPO LLC announced today that "Miami Blockchain Event by FinTechEXPO" has announced that its Call for Papers is now open. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Financial enterprises in New York City, London, Singapore, and other world financial capitals are embracing a new generation of smart, automated FinTech that eliminates many cumbersome, slow, and expe...
Cloud Expo | DXWorld Expo have announced the conference tracks for Cloud Expo 2018. Cloud Expo will be held June 5-7, 2018, at the Javits Center in New York City, and November 6-8, 2018, at the Santa Clara Convention Center, Santa Clara, CA. Digital Transformation (DX) is a major focus with the introduction of DX Expo within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive ov...