Welcome!

Linux Containers Authors: Liz McMillan, Pat Romanski, Elizabeth White, Yeshim Deniz, Roger Strukhoff

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 [email protected]:/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 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.
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 ...
SYS-CON Events announced today that Synametrics Technologies will exhibit at SYS-CON's 22nd International Cloud Expo®, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Synametrics Technologies is a privately held company based in Plainsboro, New Jersey that has been providing solutions for the developer community since 1997. Based on the success of its initial product offerings such as WinSQL, Xeams, SynaMan and Syncrify, Synametrics continues to create and hone inn...
"Evatronix provides design services to companies that need to integrate the IoT technology in their products but they don't necessarily have the expertise, knowledge and design team to do so," explained Adam Morawiec, VP of Business Development at Evatronix, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Recently, REAN Cloud built a digital concierge for a North Carolina hospital that had observed that most patient call button questions were repetitive. In addition, the paper-based process used to measure patient health metrics was laborious, not in real-time and sometimes error-prone. In their session at 21st Cloud Expo, Sean Finnerty, Executive Director, Practice Lead, Health Care & Life Science at REAN Cloud, and Dr. S.P.T. Krishnan, Principal Architect at REAN Cloud, discussed how they built...
No hype cycles or predictions of a gazillion things here. IoT is here. You get it. You know your business and have great ideas for a business transformation strategy. What comes next? Time to make it happen. In his session at @ThingsExpo, Jay Mason, an Associate Partner of Analytics, IoT & Cybersecurity at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He also discussed the evaluation of communication standards and IoT messaging protocols, data...
With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, examined the regulations and provided insight on how it affects technology, challenges the established rules and will usher in new levels of diligence arou...
Smart cities have the potential to change our lives at so many levels for citizens: less pollution, reduced parking obstacles, better health, education and more energy savings. Real-time data streaming and the Internet of Things (IoT) possess the power to turn this vision into a reality. However, most organizations today are building their data infrastructure to focus solely on addressing immediate business needs vs. a platform capable of quickly adapting emerging technologies to address future ...
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, led attendees through the exciting evolution of the cloud. He looked at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering m...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and B...
The 22nd International Cloud Expo | 1st DXWorld Expo has announced that its Call for Papers is open. Cloud Expo | DXWorld Expo, to be held June 5-7, 2018, at the Javits Center in New York, NY, brings together Cloud Computing, Digital Transformation, Big Data, Internet of Things, DevOps, Machine Learning 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 busin...
Nordstrom is transforming the way that they do business and the cloud is the key to enabling speed and hyper personalized customer experiences. In his session at 21st Cloud Expo, Ken Schow, VP of Engineering at Nordstrom, discussed some of the key learnings and common pitfalls of large enterprises moving to the cloud. This includes strategies around choosing a cloud provider(s), architecture, and lessons learned. In addition, he covered some of the best practices for structured team migration an...
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 ...
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 ...
DevOps at Cloud Expo – being held June 5-7, 2018, at the Javits Center in New York, NY – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real results. Among the proven benefits,...
@DevOpsSummit at Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, is co-located with 22nd Cloud Expo | 1st DXWorld Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait...
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...
SYS-CON Events announced today that T-Mobile exhibited 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 qua...
SYS-CON Events announced today that Cedexis 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. Cedexis is the leader in data-driven enterprise global traffic management. Whether optimizing traffic through datacenters, clouds, CDNs, or any combination, Cedexis solutions drive quality and cost-effectiveness. For more information, please visit https://www.cedexis.com.
SYS-CON Events announced today that Google Cloud has been named “Keynote 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. Companies come to Google Cloud to transform their businesses. Google Cloud’s comprehensive portfolio – from infrastructure to apps to devices – helps enterprises innovate faster, scale smarter, stay secure, and do more with data than ever before.