Welcome!

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

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
When growing capacity and power in the data center, the architectural trade-offs between server scale-up vs. scale-out continue to be debated. Both approaches are valid: scale-out adds multiple, smaller servers running in a distributed computing model, while scale-up adds fewer, more powerful servers that are capable of running larger workloads. It’s worth noting that there are additional, unique advantages that scale-up architectures offer. One big advantage is large memory and compute capacity...
Artificial intelligence, machine learning, neural networks. We’re in the midst of a wave of excitement around AI such as hasn’t been seen for a few decades. But those previous periods of inflated expectations led to troughs of disappointment. Will this time be different? Most likely. Applications of AI such as predictive analytics are already decreasing costs and improving reliability of industrial machinery. Furthermore, the funding and research going into AI now comes from a wide range of com...
No hype cycles or predictions of zillions of things here. IoT is big. 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, Associate Partner at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He discussed the evaluation of communication standards and IoT messaging protocols, data analytics considerations, edge-to-cloud tec...
"When we talk about cloud without compromise what we're talking about is that when people think about 'I need the flexibility of the cloud' - it's the ability to create applications and run them in a cloud environment that's far more flexible,” explained Matthew Finnie, CTO of Interoute, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
We build IoT infrastructure products - when you have to integrate different devices, different systems and cloud you have to build an application to do that but we eliminate the need to build an application. Our products can integrate any device, any system, any cloud regardless of protocol," explained Peter Jung, Chief Product Officer at Pulzze Systems, in this SYS-CON.tv interview at @ThingsExpo, held November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend 21st Cloud Expo October 31 - November 2, 2017, at the Santa Clara Convention Center, CA, and June 12-14, 2018, at the Javits Center in New York City, NY, and learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
In his session at @ThingsExpo, Eric Lachapelle, CEO of the Professional Evaluation and Certification Board (PECB), provided an overview of various initiatives to certify the security of connected devices and future trends in ensuring public trust of IoT. Eric Lachapelle is the Chief Executive Officer of the Professional Evaluation and Certification Board (PECB), an international certification body. His role is to help companies and individuals to achieve professional, accredited and worldwide re...
The Internet giants are fully embracing AI. All the services they offer to their customers are aimed at drawing a map of the world with the data they get. The AIs from these companies are used to build disruptive approaches that cannot be used by established enterprises, which are threatened by these disruptions. However, most leaders underestimate the effect this will have on their businesses. In his session at 21st Cloud Expo, Rene Buest, Director Market Research & Technology Evangelism at Ara...
SYS-CON Events announced today that Enzu will exhibit at SYS-CON's 21st Int\ernational Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Enzu’s mission is to be the leading provider of enterprise cloud solutions worldwide. Enzu enables online businesses to use its IT infrastructure to their competitive advantage. By offering a suite of proven hosting and management services, Enzu wants companies to focus on the core of their ...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
Amazon started as an online bookseller 20 years ago. Since then, it has evolved into a technology juggernaut that has disrupted multiple markets and industries and touches many aspects of our lives. It is a relentless technology and business model innovator driving disruption throughout numerous ecosystems. Amazon’s AWS revenues alone are approaching $16B a year making it one of the largest IT companies in the world. With dominant offerings in Cloud, IoT, eCommerce, Big Data, AI, Digital Assista...
SYS-CON Events announced today that Cloud Academy named "Bronze Sponsor" of 21st International Cloud Expo which will take place October 31 - November 2, 2017 at the Santa Clara Convention Center in Santa Clara, CA. Cloud Academy is the industry’s most innovative, vendor-neutral cloud technology training platform. Cloud Academy provides continuous learning solutions for individuals and enterprise teams for Amazon Web Services, Microsoft Azure, Google Cloud Platform, and the most popular cloud com...
SYS-CON Events announced today that MobiDev, a client-oriented software development company, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. MobiDev is a software company that develops and delivers turn-key mobile apps, websites, web services, and complex software systems for startups and enterprises. Since 2009 it has grown from a small group of passionate engineers and business...
SYS-CON Events announced today that GrapeUp, the leading provider of rapid product development at the speed of business, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Grape Up is a software company, specialized in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market acr...
SYS-CON Events announced today that Ayehu will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on October 31 - November 2, 2017 at the Santa Clara Convention Center in Santa Clara California. Ayehu provides IT Process Automation & Orchestration solutions for IT and Security professionals to identify and resolve critical incidents and enable rapid containment, eradication, and recovery from cyber security breaches. Ayehu provides customers greater control over IT infras...
With the introduction of IoT and Smart Living in every aspect of our lives, one question has become relevant: What are the security implications? To answer this, first we have to look and explore the security models of the technologies that IoT is founded upon. In his session at @ThingsExpo, Nevi Kaja, a Research Engineer at Ford Motor Company, discussed some of the security challenges of the IoT infrastructure and related how these aspects impact Smart Living. The material was delivered interac...
In his session at Cloud Expo, Alan Winters, an entertainment executive/TV producer turned serial entrepreneur, presented a success story of an entrepreneur who has both suffered through and benefited from offshore development across multiple businesses: The smart choice, or how to select the right offshore development partner Warning signs, or how to minimize chances of making the wrong choice Collaboration, or how to establish the most effective work processes Budget control, or how to ma...
IoT solutions exploit operational data generated by Internet-connected smart “things” for the purpose of gaining operational insight and producing “better outcomes” (for example, create new business models, eliminate unscheduled maintenance, etc.). The explosive proliferation of IoT solutions will result in an exponential growth in the volume of IoT data, precipitating significant Information Governance issues: who owns the IoT data, what are the rights/duties of IoT solutions adopters towards t...
SYS-CON Events announced today that CA Technologies has been named "Platinum Sponsor" of SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business - from apparel to energy - is being rewritten by software. From planning to development to management to security, CA creates software that fuels transformation for companies in the applic...
SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.