Getting Started With Linux (LiveCD or full installation)

Linux is currently one of the fastest growing operating systems. According to an IDC survey in early 2004, Linux had grabbed 25% of the market for new operating systems in servers since its introduction in the early 1990s (compared with 50% for Microsoft). When also including desktop machines, 5% of PCs shipped with Linux, according to Gartner.

The bad news is that Linux is harder to install than Windows, and it tends to require more configuration after installation. Furthermore, the large majority of PC peripherals have Linux drivers available, but not all. (See Hardware Compatibility.) Nevertheless, recent years have seen Linux become substantially easier to install and configure.

The good news, however, is that there is no need to install Linux just to try it out. With the recent explosion of LiveCDs, you can try out your favorite flavor of Linux just by inserting a LiveCD into your drive and re-booting. The LiveCD does not modify your disk drive, and it comes up automagically --- with no installation.


Some Reasons why People like Linux and Open Source Software

Free Open Source Applications and their correspondence to well-known commercial applications

See table of equivalents / replacements / analogs of Windows software in Linux for free, open source equivalents. Note that most of these open source applications are available both for Linux and for Windows. Of special note are:

Linux Resources

Hardware Compatibility

Some Popular Linux LiveCDs

LiveCDs are CDs that you can put into a PC and then re-boot. The PC runs the Linux O/S on the CD and never touches the disk. Many have options to save on memory keys, and most should be able to save to floppy. Most also allow you to mount the hard disk and read/write files on the hard disk. But the default is to not touch the hard disk.

Unless indicated otherwise, the CDs below are based on Debian.

Some Popular Linux Distributions

All "distros" have CDs available for free download with all or most of the O/S. See also the distrowatch review of major Linux distributions and LinuxQuestions.org ISOs for downloading the distribution CDs.

Installing Linux

You may be offered a choice of filesystem types at the time that you install. ext3 is a good, safe choice. Most other important choices can easily be made after installation.

Partitioning

A partition of a disk is like a virtual disk. Typically, a new PC has Windows occupying the whole disk. One splits it into multiple partitions (virtual disks). To do this, one must first resize the Windows partition (initially the whole disk) into something smaller. Windows uses the NTFS filesystem. Since the NTFS filesystem is complex, for extra insurance, it is recommended to first defragment Windows.

Recent versions of parted/ntfresize are now much quite robust. The FAQ for the free software, In case you use older software, beware. ntfsresize, states that it reliably resizes NTFS partitions if if it is version 1.9.0 or higher. (However, version 1.9.0 does nothing if the NTFS volume has no label. Version 1.9.1 fixes this.) See the list of Linux distributions and which version of parted they use. QtParted version 0.4.3 supports version 1.9.0. parted is text-oriented, and qtparted (available in many of the distributions) is a graphics-oriented version. I find using parted directly is not too hard. Parted 1.6.12 has sufficiently recent versions of ntfsresize. A good strategy is to burn the Knoppix LiveCD, and select the QtParted menu item there to resize your hard disk. This works because Knoppix itself doesn't use your hard disk, by default.

If in doubt, SystemRescueCD, a LiveCD based on GenToo. This has recent versions of everything.

Finally, assuming that you are able to resize the Windows NTFS partition, what should you create in the blank space? My own rule of thumb is 4 or 5 GB for a Linux root partition ("/"), 1 GB for a Linux swap partition, and the rest for a Linux home partition ("/home"). Having a separate home partition allows you to later overwrite the root partition with a completely different Linux, while saving the files in your home directory. When asked what type, a safe choice is an ext3 filesystem for root and home, and of course swap type for swap. Resizing Linux partitions is easy. So, don't worry about changing your mind later.

Traditional Installation

A traditional installation is usually in two steps. Assuming that one wishes a dual boot PC (Windows and Linux), one must partition the disk to create a second partition for Linux. After that, one puts the Linux installation disk in the PC, re-boots, and follows the instructions --- similarly to a Windows install.

Easy Installation via LiveCD

Most LiveCDs have a capability for install to hard disk. See the discussion of LiveCDs.

Installation without Re-Partitioning

Some Linux distributions have an option to create a very large, contiguous file in Windows, and then run Linux inside Windows. Presumably, this is less efficient than giving Linux its own partition, but it allows one to avoid the partitioning step above.

Cygwin

Cygwin provides many of the common UNIX programs, operating inside Windows. It translates requests to the Linux O/S into requests to the Windows O/S. However, it is not a full Linux.

GNUWin II

Free programs developed under Linux, compiled to run as Windows applications. Note free download available. Since the programs must fit on a single CD, some of the larger ones (e.g. OpenOffice and Cygwin have only a loader application, requiring a broadband connection. However some included packages are: the GNU compilers (C/C++/Java) as MinGW; Octave and Scilab: two Matlab-like languages; Maxima: a forerunner of Mathematica and Maple, does computer algebra including calculus as formulas.