Welcome!

Linux Containers Authors: Liz McMillan, Pat Romanski, Yeshim Deniz, Elizabeth White, PagerDuty Blog

Related Topics: Linux Containers

Linux Containers: Article

Mandrake 9.1: Can installation get any easier?

Joe Barr had to work to make installing Mandrake 9.1 a challenge

(LinuxWorld) — I received a review copy of Mandrake Linux PowerPack 9.1 last week. I was happy to see it, but as I noted in the story about my frugal Red Hat 9 upgrade a couple of weeks ago, I'm a little hardware-challenged at the moment. Did I let that stop me? Of course not! When the going gets tough, I did what I usually do, I begged my long-suffering girlfriend, Susan, for help. Sure enough, she allowed me to use the well-traveled Sony laptop in her possession to replace the Red Hat 8 installation with Mandrake 9.1. Her only requirement was that I not lose any of her data. She wanted her e-mail, browser settings, and pictures intact. With warning bells ringing in my head, I assured her that her files were absolutely safe with me, and no possible harm could come to them.

Despite this outrageous fib, I avoided a Divine lightning strike and set to work. Last time I tried a distro transplant I used cp to back up my personal data files on another machine. However, that method created problems with file permissions and ownership. A clever reader advised I try rsync instead. First, I checked to see if I created a separate partition for /home in the current installation. Alas, I had not. A separate partition makes using rsync for back up and restoration easier.

Using rsync turned out to be very easy. Naturally, however, it took me several tries to get it right. Every time I entered the command rsync -av /home/directory-name warthawg@192.168.102.101:/home it shut down with an error message saying the connection had been refused. I stopped iptables on the desktop machine and tried again. No joy.

It was time for drastic measures. I decided to temporarily forego my manliness and ask for directions. I entered the Unix version of an SOS by typing man rsync. This is strange, I thought, as I noted that rsync could use either rsh or ssh as the transport. I read further and learned that rsync uses rsh by default, but that you can specify an alternative like ssh in the command line. I tried the rsync command again, this time including -e ssh as an option. It ran just fine. Wonderful stuff, documentation.

Installation No. 1

The PowerPack 9.1 distribution consists of seven CDs. My installation required but three. I booted the laptop from the first CD, accepted the licensing terms, selected standard security, and told the installer that it could erase and use the entire disk. The whole process took about 40 minutes, though a few of those minutes were due to me being elsewhere while the installer patiently waited for me to load the next CD.

I selected the Office Workstation, Games, Multimedia, Internet, Network Computer, and GNOME desktop packages. As they loaded, the installer asked for CD No. 2, and a few minutes later it wanted the International CD.

I accepted the default master boot record (MBR) location for the bootloader. I noticed in the Configuration Summary screen that X was not yet configured. It took less than a minute to set the resolution, select the video card, and select XFree 4.3. I ran the video test just to be safe, and all was well. The software update went by in less than a minute. I don't believe there were any fixes to apply, but it happened so quickly I'm not certain. After rebooting, I selected the Ocean Dream theme for desktop appearance. I skipped mail configuration since Evolution was already configured on the backup. Except for restoring Susan's home directory from backup, I was done.

Restoring data the hard way

I ran into a minor problem of my own making when I attempted to use rsync to move the data from its backup position on my desktop back onto the laptop. I couldn't get rsync to work. It took me a few minutes to figure out the problem: sshd had not been installed. That gave me the opportunity to use RpmDrake, the software component of the Mandrake Control Center. It was easy to use. I just entered sshd in the text window and it told me which CD to insert. Nothing to it.

After doing the reverse rsync, I logged in Susan's account to see what would happen. It's a good thing I did. My plan worked, but not perfectly. Several of the icons along the bottom on the screen were defaulted to the GNOME footprint that's used when the specific icon for an item isn't found. The good news is that it only took a minute to add the missing applications. In short order I had GQView, Galeon, Evolution, Gaim, Gnumeric, and a GNOME terminal on the panel. I noticed that the Mandrake Control Center wasn't there, so I added it.

The first moment of truth came when I clicked on Galeon. It came up and went to the Accuweather Web site, just as it was supposed to. Next, I checked Evolution to make sure that Susan's mail had not been lost. It was there, too. Finally I clicked GQView. Pictures of her pets appeared. I was out of the woods and home free. Everything was present and accounted for and there was not a hair out of place. Or so I thought.

I shut the laptop off and began writing a less eventful version of this story on my main computer. After awhile, I needed to check some facts on the Sony laptop and powered it back up. It booted alright, but then it placed me in an X jail cell that I couldn't break out of. Something about a GNOME Session Manager, but GNOME never started, it just sat there. The LinuxWorld editor opined that maybe my mucking had made KDM try to start with GDM configuration files, or vice-versa, but we'll never know.

My first attempt at recovery was simple. I rebooted and chose the "failsafe" option from the bootloader menu. That gave me a single-user session in a console, which given my recent confinement in X, was just fine with me. Obviously, my backup scheme was flawed. I had copied over all the GNOME 2.2 configuration files installed by Mandrake with the BlueCurve GNOME settings from Red Hat 8. I thought the fix would be to simply delete the user and then add a new one to get back in sync with Mandrake. But that didn't work, so I did a brute-force recovery by reinstalling Mandrake from scratch. As Susan recently told me after seeing the movie "A Mighty Wind," we only have one brain between us. I haven't seen the movie, but I am pretty sure she wasn't counting mine.

At this point, some of you may be howling at my reinstalling Mandrake when it is apparent the problem was my misconfiguring X Window System. In my view, however, reinstallation took 40 minutes, and my diagnosing the X configuration files could have taken hours.

Installation No. 2

For the second installation, I selected three items I hadn't chosen the first time around: the Configuration Center, Console tools, and Firewall/router packages. Everything else remained as before, and the second installation went as smoothly as the first. The image below shows the Mandrake 9.1 desktop with the Ocean Dream theme just as it looked after Installation No. 1. The Mandrake installation process was good in previous versions, but I believe the Mandrake wizards streamlined and improved it in version 9.1.

Taking a more finely grained approach to recovering Susan's data the second time, my first chore was to recover her e-mail. I did this by using rsync again. As before, I had to tell it to use ssh for the transport, but this time I didn't have to install ssh. It took just a second to bring the complete contents of the evolution directory across the LAN. I started Evolution and it was all there.

Next came the .galeon directory. It looked to me as if everything belonging to .galeon was copied, but after starting the browser for the first time, instead of going to Susan's normal homepage, it displayed a Mandrake information/help screen on the hard drive. Other bookmarks and her browser history appeared to be intact, so I am not sure what caused this. I changed the homepage manually and proceeded.

I needed to add GQView, but Gaim, the Swiss Army knife of instant message clients, was already in place. Then I grabbed the .gaim, .gaimrc, .gqview configuration files and all the pictures from the backup directory. When I added the programs to the panel, it looked like you see it below. As far as I can tell, everything on the laptop is complete and correct again. Of course, the real test won't occur until Susan gives it a whirl.

Mandrake 9.1 GNOME with Ocean Dream theme
Editor's note: The above image is reduced in size and color palette to allow it to load quickly. Click on this image to see the original.

Before I returned the laptop to Susan, I looked around a bit to see what was new in this release. At the risk of sounding blasé, Mandrake 9.1 is a pretty standard distribution, and consists of the latest KDE, GNOME, OpenOffice.org, Xine, Apache, MySQL, PHP, and PostgreSQL. The PowerPack version comes with 60-days of support via e-mail. The higher-priced ProSuite version of Mandrake comes with 60 days of telephone support and some additional server software.

One thing I hadn't noticed before was the icon on the far right hand side of the panel. It's called the "Show Desktop Button." Clicking it makes all active windows on your system disappear. You see nothing but the desktop. Clicking it again makes them reappear. It reminds me of something called the "boss key" back in the early days of Windows.

More interesting than that, however, was the fact that the software was written by Havoc Pennington and copyrighted by Red Hat. I don't see it anywhere on my Red Hat 9 desktop, but here it is by default on the latest Mandrake release. That got me thinking a bit more about what I had just accomplished. True, because of my own flawed plan I had had to install Mandrake twice, but in addition to doing an upgrade, I had also moved from one major Linux distribution to another without missing a beat. I think it is pretty cool that you can do that. Wait a minute. Maybe I better go shut the laptop off and then power on again, just to make sure.

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 (0)

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
SYS-CON Events announced today that B2Cloud 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. B2Cloud specializes in IoT devices for preventive and predictive maintenance in any kind of equipment retrieving data like Energy consumption, working time, temperature, humidity, pressure, etc.
SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" of 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. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
SYS-CON Events announced today that NetApp has been named “Bronze Sponsor” of 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. NetApp is the data authority for hybrid cloud. NetApp provides a full range of hybrid cloud data services that simplify management of applications and data across cloud and on-premises environments to accelerate digital transformation. Together with their partners, NetApp em...
SYS-CON Events announced today that Interface Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Interface Corporation is a company developing, manufacturing and marketing high quality and wide variety of industrial computers and interface modules such as PCIs and PCI express. For more information, visit http://www.i...
SYS-CON Events announced today that Mobile Create USA will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Mobile Create USA Inc. is an MVNO-based business model that uses portable communication devices and cellular-based infrastructure in the development, sales, operation and mobile communications systems incorporating GPS capabi...
SYS-CON Events announced today that Nihon Micron will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Nihon Micron Co., Ltd. strives for technological innovation to establish high-density, high-precision processing technology for providing printed circuit board and metal mount RFID tags used for communication devices. For more inf...
SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
SYS-CON Events announced today that SIGMA Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. uLaser flow inspection device from the Japanese top share to Global Standard! Then, make the best use of data to flip to next page. For more information, visit http://www.sigma-k.co.jp/en/.
SYS-CON Events announced today that Suzuki Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Suzuki Inc. is a semiconductor-related business, including sales of consuming parts, parts repair, and maintenance for semiconductor manufacturing machines, etc. It is also a health care business providing experimental research for...
While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads. In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, will discuss how data centers of the future will be managed, how th...
SYS-CON Events announced today that Ryobi Systems will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Ryobi Systems Co., Ltd., as an information service company, specialized in business support for local governments and medical industry. We are challenging to achive the precision farming with AI. For more information, visit http:...
SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
SYS-CON Events announced today that mruby Forum will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. mruby is the lightweight implementation of the Ruby language. We introduce mruby and the mruby IoT framework that enhances development productivity. For more information, visit http://forum.mruby.org/.
SYS-CON Events announced today that Fusic will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Fusic Co. provides mocks as virtual IoT devices. You can customize mocks, and get any amount of data at any time in your test. For more information, visit https://fusic.co.jp/english/.
In his session at @ThingsExpo, Greg Gorman is the Director, IoT Developer Ecosystem, Watson IoT, will provide a short tutorial on Node-RED, a Node.js-based programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using a wide range of nodes in the palette that can be deployed to its runtime in a single-click. There is a large library of contributed nodes that help so...
SYS-CON Events announced today that Enroute Lab will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Enroute Lab is an industrial design, research and development company of unmanned robotic vehicle system. For more information, please visit http://elab.co.jp/.
Agile has finally jumped the technology shark, expanding outside the software world. Enterprises are now increasingly adopting Agile practices across their organizations in order to successfully navigate the disruptive waters that threaten to drown them. In our quest for establishing change as a core competency in our organizations, this business-centric notion of Agile is an essential component of Agile Digital Transformation. In the years since the publication of the Agile Manifesto, the conn...
Real IoT production deployments running at scale are collecting sensor data from hundreds / thousands / millions of devices. The goal is to take business-critical actions on the real-time data and find insights from stored datasets. In his session at @ThingsExpo, John Walicki, Watson IoT Developer Advocate at IBM Cloud, will provide a fast-paced developer journey that follows the IoT sensor data from generation, to edge gateway, to edge analytics, to encryption, to the IBM Bluemix cloud, to Wa...
There is huge complexity in implementing a successful digital business that requires efficient on-premise and cloud back-end infrastructure, IT and Internet of Things (IoT) data, analytics, Machine Learning, Artificial Intelligence (AI) and Digital Applications. In the data center alone, there are physical and virtual infrastructures, multiple operating systems, multiple applications and new and emerging business and technological paradigms such as cloud computing and XaaS. And then there are pe...
SYS-CON Events announced today that Keisoku Research Consultant Co. will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. Keisoku Research Consultant, Co. offers research and consulting in a wide range of civil engineering-related fields from information construction to preservation of cultural properties. For more information, vi...