I have provided you with an
You will notice that there are some very basic questions like keyboard language and time zone. It may seem almost too basic to include this type of information in your notebook. However, I speak from experience when I say that the more you write down, the less likely you are to make mistakes – even if the information is “basic”.
Further, if you write it down you give though to the process. I worked for a company Germany that used English on all of its servers to avoid problems with German characters, “English only” software and so forth. Typically, with newer employees when they installed servers they “knew what they were doing” so they didn’t follow the instruction guidelines step-by-step and blindly assumed German. When then got done, they had to start all over.
Before you start, you need to check out your system. The very first thing you need to do is check whether your hardware is supported. I’m sure a few of you out there are groaning, thinking this is an attempt to blow you off. I talked with many customers while I was in tech support who go ballistic when I even bring up the question of whether the hardware is supported.
With Linux, the word “support” typically has a completely
different tone than that for commercial operating systems. Companies that
produce a commercial OS usually have a list of supported hardware and platforms.
If your system doesn’t conform, they have the right to “blow you off.”
On the other hand, “support” under Linux means that there is a driver
for it. Whether there is a driver in the current
Note that there is a Linux Hardware Compatibility HOWTO that lists hardware that more or less is “known to work”. However, this is usually not the same thing as a hardware compatibility list from a commercial OS vendor which more or less “promises” the OS will work with that hardware. Also it typically takes longer for drivers to be developed for Linux than for commercial OSes or that the driver is available, but not widely known, so it isn’t in the list. Note also that commercial Linux vendors like Novell/SUSE and RedHat do have hardware compatibility lists.
Commercial distributions of Linux walk the razor’s edge between Linux’s philosophy and that of other OS vendors. So far, I have had nothing but good experiences with Linux vendors. If they don’t have a driver themselves, they often know where to get one. However, the reaction you get from them will often depend entirely on your attitude.
“It works under
DOS!” is a common response when people learn that some system component is not
supported. However, as I have said many times, all it really means is that
the hardware is probably not broken. I say “probably” because I have
seen defective hardware work under
Users have also commented that the driver works under another
version of Linux or even another dialect of
Does this mean that your no-name hardware won’t work? Not at all. I have one machine that is running a fair bit of “unsupported” hardware. Much of it is clones of supported hardware (which causes a lot of grief). However, it works. When I tried to install something that wasn’t supported and it didn’t work, I wasn’t frustrated because the unsupported hardware wasn’t guaranteed to work. (Well, I was a little frustrated, but I knew to expect it.)
There is also the
issue of conflicts. Linux is good about enabling you to install a wide number of
cards at their default. The common place for conflict is with multiple cards of
the same type, such as more than one SCSI
Once you have installed the
Note that modern drives typically The model number of hard disks can be read
with software and is usually shown when the system boots. This information can then
be displayed using
The manufacture of the hard disks is obvious and the size of the drive is easy enough to figure out. Although the manufacture of the CD/DVD drive isn’t as obvious.
You can install Linux in
several different ways, depending on the distribution you bought. If the Linux
distribution on the
An important thing
to consider for the installation is the installation media. If you want to
install Linux on an older laptop that has neither a
Author’s note: This was originally written at the end of the 1990’s. Currently (August, 2006) I have not seen a laptop, that does not have at least a CD-ROM drive, if not a CD-ROM burner or even DVD. I haven’t done a floppy install in many years, so it is highly unlikely you will have to. Consider you can get a basix CD-ROM drive for very little money, doing a floppy install is probably only necessary for people trying to do wrist exercises.
Normally, underneath the root directory of the installation media is a
In addition, at least one
You need to consider whether the version you have can install additional products with floppies once the initial installation was complete. I ran into this problem myself. I thought I would install the base product first and then install other components that I needed later on. However, once the installation was complete, I discovered that the only tool on the system that could read the package information on the floppies was the initial installation program. This meant that I had to either be satisfied with what I had or install again. (If the distribution supports rpm, then this is not so much of a problem.)
Even if you do have a
During the course of the installation, you may have the choice
of several different installation types, from fully automatic to fully
configurable, depending on the version. For the more advanced system
administrators, the fully configurable enables you to control many different
aspects of the install. Fully automatic basically does everything for you, that
is, it evaluates your system and essentially makes all the decisions itself. I
recommend that if you are a novice
Most versions enable you to select the components that you want to install. In many cases, you can select among several different “architectures” that have a set of predefined packages. If you want, you can choose a custom architecture in which you choose each package yourself. The Installation HOW-TO provides a list of the Slackware packages and what they contain.
Take notes during the entire process and include these in a notebook. Write down everything you input and what the prompt/question was. These notes will be helpful if things go wrong and you want to try a different approach. You will know what you input the last time; this time, you can try something different.
To install Linux (or any other OS for that matter), a hard disk must be divided into partitions. Each operating system may use from one to four partitions. (DOS logical partitions are actually subdivisions of extended partitions.) The partition table, which tells the number and location of the partitions, has been standard for years and is essentially impossible to escape, so the limit is four primary partitions. This means that a physical disk can have only four primary partitions and any operating sysem installed can used one or more of them.
Linux, unlike other UNIX dialects, can be installed on logical partitions, as well as the primary partitions. Therefore, it is possible to have three primary partitions and one extended partition, which then contains several logical partitions. For experiment’s sake, I created ten logical partitions once, although I have never had more than 3 or 4 on an active system.
Under Linux, file systems take up the entire
The more activity there is on a file system, the
greater the chance it will become corrupt if the system should
On the other hand, “small” hard disks today are on the order of 40 Gb. Therefore, you have plenty of space for multiple filesystems. Plus, there are several advantages to having multiple filesystems, such as keeping others safe when one crashes (as already mentioned).
Traditionally, the way to break it up is to have
It is also common to have
Also if the data is seperate from the operating system files, it makes upgrading a lot easier and safer. The filesystem containing the data can be unmount when the operating system is upgraded. It is then alot less likely that something will be overwritten.
It is also common to have temporary storage or “spool” directories on seperate partitions. The reason is that if your root filesystem fills-up (or one on which an important application is running), things might come to a stand-still if there is no space left on the partition. Therefore, directories that could fill up quickly are seperated from the rest of the system.
Also keep in mind that the larger the filesystem, the longer it takes for it to be checked and cleaned if the system were to crash. If the filesystems are different physical drives, the filesystem checker, fsck, can check them in parallel, which obviously makes it faster.
On any one system using the
In a nutshell here are some the basics of which directories are often mount:
/home – User home directories. Also a good choice to mount, particularly if
you do not have user quotas set up.
The size of your partitions needs to be based on how much software or data you will have. You need to consider the growth of your system. If you put your data on a second disks, it would be easier to backup the data, add a larger disk, and then restore the data.
If you have a larger disk, you need to be aware of the 1,024
How many partitions or filesystems you should have, is best decided before the system is installed. However, because of the way Linux works it is not a requirement. You could install the system and then add hard disks later, moving some of your files to the new hard disk. This is primary because Linux does not have the concept of drive letters like Windows. When you install your Windows system, all of the system file go on the system “drive”, which is related to a single drive letter. Although it is theorectically possible to have your system files spread out on multiple drives, it is neither recommended nor supported by Microsoft. With Linux, you can put things anywhere you need to (or simply want to).
At a very minimum, you must have two partitions: one for your root filesystem
and one for
Even if you do not create separate filesystems for these directories when the
system is installed, you can add them later. This entails booting into single
user mode, mounting the new filesystems to different directories and then
copying files into the new directory. You then make the necessary
changes to
Regardless of how many filesystems you want to have, it is a good idea to plan everything on paper before you start. You could change things once the system is running, such as moving directories to separate filesystems. However, you can avoid some work by planning it in advance.
Here are a number of things to consider before you start installing Linux:
- Will this distribution run on my hardware? If you are not sure check out the Hardware compatibility HOWTO.
- Which languages do you want? Linux can be installed to support multiple so you can have more than one.
- What kind of keyboard do you have? Here you need to consider the number of keys, and layout. A good place to check for things to look for is The Linux keyboard and console HOWTO.
- What kind of mouse do you have? Is it serial, parallel or USB? How many buttons does it have? Most newer distributions will be able to automatically recognize the kind of mouse. If you have trouble, you might want to take a look at the The 3 Button Serial Mouse mini-HOWTO.
- How much memory do you have? (How many megabytes?)
- How much hard disk space do you have? Is it enough for the packages you want to install? Unless you have a very old system, computers today come with hard disks that are large enough to handle mutliple Linux distributions.
- Are you going to install a workstation or server? Do you want to select the packages yourself? Many distributions come with pre-defined sets of packages. For example, a workstation, internet server, development system and so forth. Which packages are installed depend on the type of system you are installing.
- Do you want to install other operating systems on this system, for example Windows or even a different Linux distribution? If so, you need to make sure that you have partitions the disk correctly. In general, Linux with be able to boot most any operating system you install.
- What partitions or filesystems do you want to create?
- Is the computer going to be networked? Will it have a dynamic or static IP address? What is the gateway to use to connect to other machines?
- Will it connect directly to the Internet and, if so, how? (ISDN, DSL, cable modem) Here are a few HOWTOs to look at:
- Cable Modem HOWTO
- Linmodem-Mini-HOWTO
- Modem sharing mini-HOWTO
- Modem HOWTO
- What is the IP address of your name server? (assuming you will be networked)
- With this machine be a gateway/router/firewall itself?
- Do you want to start the system by default in text mode or use the
GUI ?
More information can be found in The Linux Installation HOWTO