Best of ECT News

BEST OF ECT NEWS

Conquering Your Fear of Linux Failure

This story was originally published on Aug. 21, 2012, and is brought to you today as part of our Best of ECT News series.

The fear of failure factor is one reason why potential newcomers to the Linux operating system never complete the switch. After all, when was the last time you saw a sign in a big-box computer store identifying the aisle labeled “Linux Loaded?”

Most desktops and laptops come out of the box with Microsoft Windows pre-installed. Don’t even think about asking about Linux in an Apple goodies store. Linux options in most storefronts are limited at best.

Buying Linux-loaded computers online can be a safe but often pricey option. A better strategy is buying a Windows PC off the shelf and installing a Linux distro in a separate partition on the hard drive yourself. The Linux installer will automatically create a dual boot GRUB 2 startup screen. Since the Linux OS is free, why not have both available even if you never need to boot into Windows?

If you do not buy smart, however, you could spend hours troubleshooting, trying to figure out why Linux won’t boot or why some key component won’t work. That leaves you with several daunting options, such as a trip to return the computer or spending a ton of money for a store computer tech — if you can find one who actually knows Linux — to force a possible fix.

Even if you know Linux, buying a desktop or laptop computer and installing a Linux distro on it may be glitch-free or trouble-ridden. You have no guarantees that what you buy will run what you want. It depends on the internal components and whether your distro of choice will fully support the underlying hardware ands peripheral devices.

I often service friends, associates and clients who want to migrate to Linux. So I spend considerable time installing various distros on legacy equipment as well as on new gear. I recently gave in to buying a new laptop to replace a favorite but aging model. Along the way I gained some valuable insights into making Linux work on computers old and new.

The Hardware Factor

When it comes to hardware power from processors, chipsets and system memory, Linux OSes have a much lower threshold than Microsoft’s Windows 7 and Windows 8 and Apples’s Mac OS X. So system resources are less of an issue than system compatibility. That means you can run the latest Linux OS without having to buy a more expensive new computer.

The trick is doing your homework before you walk into the store or click the buy button online. If you know the tripping points, you can step around them and eliminate any chance of hardware disconnect that prevents Linux from working.

More so than hardware incompatibility, system memory is usually not a critical factor. For example, Linux distros have a minimum RAM (random access memory) requirement of 128MB to at least run. But Linux works much better with at least 192MB.

The type of RAM isn’t usually important — the performance differences in RDRAM, SDRAM and DDR are barely noticeable.

Getting WiFi to Work

Once Linux is installed, the first thing you should verify is hardware compatibility. Often, the problem with Linux not running on a particular computer is caused not by the hardware itself. The culprit is the lack of an open source driver, or at least a proprietary driver provided by the device’s manufacturer and made available to the distro’s developer.

A good example of this phenomenon is a recent buying experience I suffered. I bought a well-endowed laptop from a well-known manufacturer’s website. It ran Windows 7 very well. I partitioned the hard drive and installed Linux Mint 13.

The wireless network card remained unrecognizable to the Linux OS. It did not matter that the wireless connection worked in Windows 7. The cabled Internet connection worked equally fine in Linux, though.

Adding insult to injury, Puppy Linux, which boots from a USB flash drive and runs in system RAM, also refused to make a wireless connection. But again, the hard-wired connection to my router connected without incident.

Swapping Success Story

Armed with a live session DVD of Linux Mint 13, I visited a local big-box electronics store and spied the same model with a nearly identical hardware configuration. The laptop instantly grabbed the store’s WiFi connection. That success cinched my purchase.

Why did the store’s nearly identical laptop make the connection while the other unit refused? Comparing the list of system components offered the solution. The failed unit had a Broadcom wireless network card installed. The store’s product had an Intel network card.

The Broadcom device requires a proprietary driver that the computer maker did not license to provide. Broadcom does not distribute open source drivers, and no substitute drivers are compatible with Broadcom network cards.

Luck Be a Linux

So never assume that hardware components within the same model lineage will be identical. It only takes a slight difference to adversely affect a Linux configuration.

Unless you buy Linux-certified computers from a specialty vendor, you have to do some homework or leave it up to luck when you buy online or off the shelf. That is the only way to avoid driver incompatibility issues with other hardware components when installing a Linux OS distribution on a computer that is not tested or certified for Linux.

Avoiding these situations can result in a successful installation. Keep these points in mind to make Linux work on a new or old computer.

Driver Me Nuts

Processor choice is generally not a problem. I have a collection of gear that runs various family lines of Intel and AMD chips and have never had a processor-related problem. That goes for Windows PCs that I converted to Linux boxes. You have no worries about needing special Linux kernels for the processor to run the OS. From a buying perspective, AMD is less costly.

Graphic card choice can present some issues, so this is an area that needs checking. The two most common graphic card makers are Nvidia and ATI. I have computers that use both. I have not seen any major issues. But I noticed an occasional glitch or two with ATI devices. I assume the fault lies with the ATI drivers.

For example, sometimes desktop effects are missing or just do not work properly. When that happens, I chalk it up to ATI gremlins. The same settings running the same distro on my computers that are Nvidia based do not replicate the issue.

Can You Hear Me Now?

Sound Cards can be tricky as they are often integrated onto the motherboard. This makes changing them impossible. Check the manufacturer’s website to see if Linux drivers are included for whatever sound components are installed.

A leader in Linux sound devices is the ALSA Project. I prevented trouble by checking the Sound Card Matrix before buying.

Linux settings include setup options for sound systems. Bring one or more live session disks to the computer store. Check out the sound performance as well as confirm that WiFi connects. I have seen situations where sound works on a music playback but not with a streaming video.

Driver Death

Printer and scanner issues by far outnumber other compatibility concerns. Some big-name manufacturers are notorious for not providing Linux drivers for some or all of their products.

For example, Dell (Lexmark) All-In-One models are not Linux compatible. Many of Epson’s and HP’s printers, on the other hand, are supported for Linux use.

If you have a printer or scanner that your Linux distro cannot handle, look for a solution on that community’s online forums. Also check for work-around solutions on the device maker’s website. Often, you can find substitute drivers from other printers that will get the device working in Linux.

Nothing is more disheartening than not getting full use out of a Linux installation because you can’t print or scan without buying compatible devices. Before you commit to a particular distro or a specific printer or scanner, make sure one is compatible with the other.

Helping Hands

A good source for printer compatibility information is Openprinting.org. This is a database of printers that work in Linux. So use it to find what works and what does not work.

A similar database for scanner compatibility is the SANE project. Another good source for Linux printer and scanner drivers is available at Linuxdrivers.org.

You will not always have a match for available printer drivers from CUPS (The Common Unix Printing System). Some Linux distros build in a printer setup link to CUPS. If yours does not, go there yourself by pointing your browser here.

Also check out the list of supported printers in this database maintained by Linuxprinting.org.

Jack M. Germain has been writing about computer technology since the early days of the Apple II and the PC. He still has his original IBM PC-Jr and a few other legacy DOS and Windows boxes. He left shareware programs behind for the open source world of the Linux desktop. He runs several versions of Windows and Linux OSes and often cannot decide whether to grab his tablet, netbook or Android smartphone instead of using his desktop or laptop gear.

1 Comment

  • "Sound Cards can be tricky as they are often integrated onto the motherboard."

    With respect, this is also a problem with Windows. The onboard sound cards are almost always from one manufacturer, whose products tend to suck. First thing I had to do on my brand spanking new "gaming" machine was to disable auto-detect of the sound connectors, and disable the front panel sound ports. Why? Because those two features are the single most common problems with having your machine constantly popping up messages about, "A device has become unplugged from your sound card.", or what ever it was. With those two settings enabled, on some systems, and they are enabled by default when you install the drivers, the damn "in-built" will continually lose track of the fact that you have speakers plugged in.

    Oh, and.. they often have serious latency problems, such that some programs can get popping, and other anomalies, in them. Which makes, for example, language learning software, kind of useless on them: "POP-chi wa" (konichi wa), "POP-ato" (gato), "POP-les vous Francais" (probably obvious), etc. Linux won’t fix that one for you. Unless its a laptop, and more specifically, a gaming laptop, onboard sound sucks eggs, and its pure chance if something isn’t wrong with it. That it works, usually, better in Linux, is purely a consequence of the irony that, usually, such things are "standard", so you don’t have a different proprietary interface for the bloody things, every single bloody one that comes out.

    Though, even with sound card, thanks to Microsoftism, that may not always be 100% true either, I mean, heck, just look at dialup modems, when they where still in major use. Why the frak would you *need* a proprietary driver for something that *has* to use AT commands, unless its just to prevent it working with something other than Windows? Stuff like that is just bloody idiotic, when externals all had the same features, and didn’t even have drivers (usually), and incomprehensible, but they did it anyway.

Leave a Comment

Please sign in to post or reply to a comment. New users create a free account.

LinuxInsider Channels