Red Hat Linux 6.2 Installation Guide
Red Hat Linux 6.2 Installation Guide
Inst(EN)-6.2-Print-RHI (02/00)
Red Hat is a registered trademark and the Red Hat Shadow Man logo, RPM, the RPM logo, and Glint
are trademarks of Red Hat, Inc.
Linux is a registered trademark of Linus Torvalds.
Motif and UNIX are registered trademarks of The Open Group.
Alpha is a trademark of Digital Equipment Corporation.
SPARC is a registered trademark of SPARC International, Inc. Products bearing the SPARC trademark
are based on an architecture developed by Sun Microsystems, Inc.
Netscape is a registered trademark of Netscape Communications Corporation in the United States and
other countries.
TrueType is a registered trademark of Apple Computer, Inc.
Windows is a registered trademark of Microsoft Corporation.
All other trademarks and copyrights referred to are the property of their respective owners.
Copyright © 2000 by Red Hat, Inc. This material may be distributed only subject to the terms and con-
ditions set forth in the Open Publication License, V0.4 or later (the latest version is presently available
at http://www.opencontent.org/openpub/).
Distribution of substantively modified versions of this document is prohibited without the explicit per-
mission of the copyright holder.
Distribution of the work or derivative of the work in any standard (paper) book form for commercial
purposes is prohibited unless prior permission is obtained from the copyright holder.
Printed in Canada, Ireland, and Japan
ii
Contents
Red Hat Linux 6.2
Chapter 1 New Features of Red Hat Linux 6.2 ... .. ... .. ... ... .. ... . 5
1.1 Installation-Related Enhancements . ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 5
Chapter 2 Before You Begin .... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 7
2.1 Seven Steps to Get You Started .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 7
2.2 System Requirements Table . ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 19
Chapter 3 Starting the Installation . .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 23
3.1 The Installation Program User Interface . ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 23
3.2 Starting the Installation Program. . ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 24
3.3 Selecting an Installation Method .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 27
3.4 Beginning the Installation . .. .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 28
3.5 Language Selection . .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 30
3.6 Keyboard Configuration .. ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 31
3.7 Mouse Configuration .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 32
3.8 Welcome to Red Hat Linux . .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 34
3.9 Install Options.. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 35
Chapter 4 Installing Red Hat Linux 6.2 . ... ... .. ... ... .. ... .. ... ... .. ... . 37
4.1 Continuing the Installation .. .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 37
4.2 Partitioning with fdisk .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 39
4.3 Automatic Partitioning . ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 42
4.4 Partitioning Your System.... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 44
4.5 Choose Partitions to Format.. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 51
4.6 Installing LILO. . ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 52
4.7 Network Configuration ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 56
4.8 Time Zone Configuration ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 57
4.9 Account Configuration ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 58
4.10 Authentication Configuration . ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 60
iii
4.11 Package Group Selection... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 62
4.12 GUI X Configuration Tool ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 65
4.13 Preparing to Install .. .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 68
4.14 Installing Packages .. .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 69
4.15 Boot Disk Creation .. .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 70
4.16 Installation Complete.. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 71
Chapter 5 Upgrading Your Current System . ... ... .. ... .. ... ... .. ... . 73
5.1 What it Means to Upgrade .. .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 73
5.2 Upgrading Your System .. ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 73
5.3 Customizing Your Upgrade . .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 74
5.4 Selecting Packages to Upgrade. .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 75
5.5 Upgrading Packages .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 77
5.6 Upgrade Complete .. .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 78
Appendix A Getting Technical Support . .. ... ... .. ... ... .. ... .. ... ... .. ... . 81
A.1 Remember to Sign Up ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 81
A.2 An Overview of Red Hat Support . ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 81
A.3 Scope of Red Hat Support . .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 83
A.4 The Red Hat Support System. .. .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 83
A.5 How to Get Technical Support .. .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 83
A.6 Questions for Technical Support .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 85
A.7 Support Frequently Asked Questions (FAQ). . ... ... .. ... ... .. ... .. ... ... .. ... . 86
Appendix B Installing Without Partitioning ... .. ... ... .. ... .. ... ... .. ... . 87
B.1 The Ups and Downs of a Partitionless Installation . .. ... ... .. ... .. ... ... .. ... . 87
B.2 Performing a Partitionless Installation .. .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 88
Appendix C Removing Red Hat Linux ... .. ... ... .. ... ... .. ... .. ... ... .. ... . 93
iv
Section 1.1:Installation-Related Enhancements 5
ATAPI Zip drives are now recognized by the installation program and automatically
configured to use SCSI emulation. If you add an ATAPI Zip drive after the installation,
the hardware recognition program kudzu will recognize it once you reboot your system.
The installation program will also create device files for Jaz drives as well.
Section 2.1:Seven Steps to Get You Started 7
Please Note
If you currently use Red Hat Linux 2.0 (or greater), you can per-
form an upgrade. Skim this chapter to review the basics then read
Chapter 3, Starting the Installation, following the directions as you
go. The upgrade procedure starts out identically to the installation
procedure. Once you have chosen to perform an upgrade please re-
fer to Chapter 5, Upgrading Your Current System.
If you are an experienced user and do not need a review of the basics, you can skip ahead to
Chapter 3, Starting the Installation to begin the installation process.
Tip
Refer to the Red Hat Frequently Asked Questions for answers
to questions and problems that may occur before, during or after
the installation. You’ll find the FAQ online at: http://www.red-
hat.com/support/docs/faqs/rhl_general_faq/FAQ.html
(The xx and y will be unique numbers.) If your box has an ISBN number in this form, and
you’re missing something, please use the contact information included in the boxed set.
Keep in mind is that Red Hat partners with companies (international and domestic) so that
we can make Red Hat Linux available to you in the most convenient form. Because of this,
you might find that your Red Hat Linux boxed set may not have been actually produced by
Red Hat.
If your box has a different ISBN number (or none at all), you’ll need to contact the company
that produced your boxed set. Normally, third-party producers will include their logo and/or
contact information on the outside of the box; an official Red Hat Linux boxed set lists only
our name and contact information.
For people installing Red Hat Linux from a CD-ROM not from Red Hat, you may need a
boot disk, or if using a PCMCIA device during the installation (such as a laptop), a PCMCIA
boot disk. It may also be possible to start the installation directly from the CD. We’ll discuss
this in more detail when we outline the various installation methods.
For information on making diskettes, see Making Installation Diskettes in Section 2.1.6.
package and diskette image in the errata. Using these URLs, you can download any nec-
essary diskette images. Please note: use binary mode when transferring a diskette image.
Occasionally, we find that the installation may fail, and that a revised diskette image is needed
for the installation to work properly. In these cases, we make special images available via
the Red Hat Linux errata listing.
Since this is relatively rare, you will save time if you try to use the standard diskette images
first. Review the errata only if you experience problems completing the installation.
If you experience problems, focus on entries that include new diskette images (the filenames
always end in .img). If you find an entry that applies to your problem, get a copy of the
diskette images, and create them using the instructions in Making Installation Diskettes in
Section 2.1.6.
Also available are documentation errata. When significant changes are made to the manu-
als, we make sure to update these online as well. Documentation updates can be found at
http://www.redhat.com/support/errata/doc_errata/.
• You must have a preexisting, formatted FAT partition, and install using the partitionless
installation method (Appendix B, Installing Without Partitioning).
To give you an idea of how much space you’ll need, below is a list of installation methods
and their minimum space requirements. This includes partitionless installation requirements.
• GNOME Workstation - 700MB
• KDE Workstation - 700MB
• Server - 1.7GB
• Custom (choosing Everything) - 1.7GB
For more information about these installation classes, see Section 2.1.7, Step 7 - Which In-
stallation Type is Best For You?
If you are not sure that you meet these conditions or want to know how to free up more space
for your Red Hat Linux installation, please refer to the partitioning appendix in the Official
Red Hat Linux Reference Guide.
HTTP
If you are installing directly from an HTTP Web server. Requires a network or PCM-
CIA boot disk.
First, rawrite asks you for the filename of a diskette image; enter the directory and name of
the image you wish to write (for example, ..\images\boot.img). Then rawrite asks
for a diskette drive to write the image to; enter a:. Finally, rawrite asks for confirmation
that a formatted diskette is in the drive you’ve selected. After pressing [Enter] to confirm,
rawrite copies the image file onto the diskette. If you need to make another diskette, label
that diskette, and run rawrite again, specifying the appropriate image file.
14 Chapter 2:Before You Begin
If you need to make another diskette, label that diskette, and run dd again, specifying the
appropriate image file.
Please Note
The custom-class installation allows you the most flexibility. The
workstation- and server-class installations go through the installa-
tion process for you and omit certain steps. However, partition flex-
ibility has been added to workstation- and server-class installations,
so you can now partition your drives manually.
These classes give you the option of simplifying the installation process (with some potential
for loss of configuration flexibility), or retaining flexibility with a slightly more complex
installation process. Let’s take a detailed look at each class, so you can see which one is
right for you.
Please Note
If you are planning to perform a partitionless installation, you will
also need to choose what class of installation you want to perform.
However, unlike the warnings for users performing a typical instal-
lation, you will not have to worry about losing any information on
your system. A partitionless installation will not remove existing
partitions.
Please Note
Unlike previous workstation-class installations, performing a Red
Hat Linux 6.2 workstation-class installation will not install the net-
work daemon inetd. Not installing inetd results in a more secure
installation; however, network-related services such as finger, telnet,
talk, and FTP will not work. If you require these types of services,
choose a server- or a custom-class installation.
Please Note
You will need at least 700MB of free disk space in order to perform
a workstation-class installation.
CAUTION
Please Note
You will need at least 1.7GB of free disk space in order to perform
a server-class installation.
CAUTION
• Selecting and Installing Packages -- This is performed after your partitions have been
configured and selected for formatting. Here you may select groups of packages, indi-
vidual packages, a combination of the two, or choose an "everything" install.
• LILO Configuration -- In a custom-class installation, you are able to choose where you
would like LILO to be installed -- either on the master boot record (MBR) or on the first
sector of your root partition -- or you can choose not to install LILO at all.
CD-ROM: Interface 4)
Type; ex: SCSI, IDE
(ATAPI)
SCSI Adapter: If 5)
present, make and
model number; ex:
BusLogic SCSI
Adapter, Adaptec
2940UW
Network Card: If 6)
present, make and
model number; ex:
Tulip, 3COM 3C590
Mouse: Type, protocol, 7)
and number of
buttons; ex: generic
3 button PS/2 mouse,
MouseMan 2 button
serial mouse
Monitor: Make, model, 8)
and manufacturer
specifications; ex:
Optiquest Q53,
ViewSonic G773
Video Card: Make, 9)
model number and
VRAM; ex: Creative
Labs Graphics Blaster
3D, 8MB
Section 2.2:System Requirements Table 21
Please Note
If you do not wish to use the GUI installation program, the text mode
installation program is also available. To enter text mode, enter the
following boot command:
boot: text
These virtual consoles can be helpful if you encounter a problem while installing Red Hat
Linux. Messages displayed on the installation or system consoles can help pinpoint a prob-
lem. Please see Table 3–1, Console, Keystrokes, and Contents for a listing of the virtual
consoles, keystrokes to switch to them, and their contents.
Table 3–1 Console, Keystrokes, and Contents
Console Keystrokes Contents
1 [Ctrl]-[Alt]-[F1] installation dialog
2 [Ctrl]-[Alt]-[F2] shell prompt
3 [Ctrl]-[Alt]-[F3] install log (messages from
installation program)
4 [Ctrl]-[Alt]-[F4] system-related messages
5 [Ctrl]-[Alt]-[F5] other messages
7 [Ctrl]-[Alt]-[F7] X graphical display
Generally, there’s no reason to leave the default console (virtual console #7) unless you are
attempting to diagnose installation problems. But if you get curious, feel free to look around.
Please Note
If you need to create a boot disk, please refer to Section 2.1.6, Step
6 - How Do You Want to Start the Installation?.
Section 3.2:Starting the Installation Program 25
Insert the boot disk into your computer’s first diskette drive and reboot (or boot using the
CD-ROM, if your computer supports this). Your BIOS settings may need to be changed to
allow you to boot from the diskette or CD-ROM.
Tip
To change your BIOS settings, you will need to take note of the
instructions given when your computer first begins to boot. Often
you will see a line of text telling you to press the [Del] key to enter
the BIOS settings. Once you have done whatever process is needed
to enter your computer’s BIOS, you can then change the boot order
to allow your computer to boot from the CD-ROM drive or diskette
drive first when bootable software is detected. For more informa-
tion, please refer to the documentation that came with your system.
• If you press a help screen function key, there will be a slight delay while the help screen
is read from diskette.
Normally, you’ll only need to press [Enter] to boot. Watch the boot messages to see whether
the Linux kernel detects your hardware. If it does not properly detect your hardware, you
may need to restart the installation in "expert" mode. If your hardware is properly detected,
please continue to the next section.
Expert mode can be entered using the following boot command:
boot: linux expert
Please Note
If you do not wish to perform a CD-ROM GUI installation, you can
choose to perform a text mode installation by using the following
boot command:
boot: text
Where <device> should be the device you are using (such as ttyS0
or ttyS1).
Please Note
The initial boot messages will not contain any references to SCSI
or network cards. This is normal, since these devices are supported
by modules that are loaded during the installation process.
For example, to instruct the kernel to use all the RAM in a 128MB system, enter:
boot: linux mem=128M
After entering any options, press [Enter] to boot using those options.
If you do need to specify boot options to identify your hardware, please make note of them
-- they will be needed during the LILO configuration portion of the installation (please see
Section 4.6, Installing LILO for more information).
Booting without diskettes
The Red Hat Linux/Intel CD-ROM can also be booted by computers that support bootable
CD-ROMs. Not all computers support this feature, so if yours can’t boot from the CD-ROM,
there is one other way to start the installation without using a boot disk. The following method
is specific to Intel-based computers only.
If you have MS-DOS installed on your system, you can boot directly from the CD-ROM
drive without using a boot disk.
To do this (assuming your CD-ROM is drive d:), use the following commands:
C:\> d:
D:\> cd \dosutils
D:\dosutils> autoboot.bat
This method will not work if run in a DOS window -- the autoboot.bat file must be ex-
ecuted with DOS as the only operating system. In other words, Windows cannot be running.
If your computer can’t boot directly from CD-ROM (and you can’t use a DOS-based auto-
boot), you’ll have to use a boot diskette to get things started.
If you copied the Red Hat Linux files to a local hard drive. Refer to the Official Red
Hat Linux Reference Guide for hard drive installation instructions. Requires a boot
disk or a PCMCIA boot disk.
NFS Image
If you are installing from an NFS Image server which is exporting the Red Hat Linux
CD-ROM or a mirror image of Red Hat Linux. Requires a network or PCMCIA boot
disk. Refer to the Official Red Hat Linux Reference Guide for network installation
instructions. Please note: NFS installations may also be performed in GUI mode.
FTP
If you are installing directly from an FTP server. Requires a network or PCMCIA
boot disk. Refer to the Official Red Hat Linux Reference Guide for FTP installation
instructions.
HTTP
If you are installing directly from an HTTP Web server. Requires a network or PCM-
CIA boot disk. Refer to the Official Red Hat Linux Reference Guide for HTTP instal-
lation instructions.
Please Note
If you’d rather perform a text mode installation, reboot your system
and at the boot: prompt, type text. Refer to the Official Red
Hat Linux Reference Guide for further instructions.
you will continue to the next stage of the installation process (see Section 3.5, Language
Selection).
If a drive is not detected, you’ll be asked what type of CD-ROM drive you have. Choose
from the following types:
SCSI
Select this if your CD-ROM drive is attached to a supported SCSI adapter; the instal-
lation program will then ask you to choose a SCSI driver. Choose the driver that most
closely resembles your adapter. You may specify options for the driver if necessary;
however, most drivers will detect your SCSI adapter automatically.
Other
If your CD-ROM drive is neither an IDE nor a SCSI, it’s an "other." Sound cards
with proprietary CD-ROM interfaces are good examples of this CD-ROM type. The
installation program presents a list of drivers for supported CD-ROM drives -- choose
a driver and, if necessary, specify any driver options.
Tip
A partial list of optional parameters for CD-ROM drives can be
found in the Official Red Hat Linux Reference Guide, in the Gen-
eral Parameters and Modules appendix.
Once identified, you will be asked to insert the Red Hat Linux CD into your CD-ROM drive.
Select OK when you have done so. After a short delay, the next dialog box will appear.
After booting, the installation program begins by displaying the language screen.
Please Note
If you wish to abort the installation process at this time, simply re-
boot your machine then eject the boot diskette or CD-ROM. You
can safely cancel the installation at any point before the About to
Install screen, see Section 4.13, Preparing to Install.
Tip
To change your keyboard type post-installation, become root and
use the /usr/sbin/kbdconfig command, or you can type
setup at the root prompt.
32 Chapter 3:Starting the Installation
If you have a PS/2 or a Bus mouse, you do not need to pick a port and device. If you have a
serial mouse, you should choose the correct port and device that your serial mouse is on.
The Emulate 3 Buttons check box allows you to use a two-button mouse as if it had three
buttons. In general, it’s easiest to use the X Window System if you have a three-button mouse.
If you select this check box, you can emulate a third, "middle" button by pressing both mouse
buttons simultaneously.
34 Chapter 3:Starting the Installation
Tip
To change your mouse configuration post-installation, become
root. You can then use the /usr/sbin/mouseconfig com-
mand from the shell prompt.
To configure your mouse as a left-handed mouse, you can reset the
order of the mouse buttons. This can be done after you have booted
your Red Hat Linux system, by typing gpm -B 321 at the shell
prompt.
Please notice the Hide Help button at the bottom left corner of the screen. The help screen is
open by default, but if you do not want to view the help information, click on the Hide Help
to minimize the screen.
Click on the Next button to continue.
Please Note
New Feature: Red Hat Linux 6.2 has a new installation method
known as a "partitionless" installation. If your system has a FAT
(DOS/Windows) partition with sufficient free space, you can install
Red Hat Linux without repartitioning your hard drive. This method
is perfect for people who are new to Linux, and would like to try
Red Hat Linux with a minimum of disruption to their computer.
To learn more about this method, refer to Appendix B, Installing
Without Partitioning.
Choose whether you would like to perform a full installation or an upgrade (see Figure 3–5,
Choosing Install or Upgrade).
In the top right-hand corner of the Install Type screen there is a box you may select if you
wish to partition using fdisk. Note that fdisk is not as intuitive to use as Disk Druid and is not
selected by default. If you have not used fdisk before, you should read about both fdisk and
Disk Druid to determine which will best suit your needs.
36 Chapter 3:Starting the Installation
To perform a full GUI installation, please refer to Chapter 4, Installing Red Hat Linux 6.2 for
those instructions.
To perform an upgrade, please refer to Chapter 5, Upgrading Your Current System.
Section 4.1:Continuing the Installation 37
WARNING
In choosing a full installation, you must also choose the class of the installation. Your options
include: GNOME Workstation, KDE Workstation, Server or Custom.
Most suitable for new users, the workstation-class installation will install your choice of a
GNOME or KDE desktop environment, and the X Window System.
38 Chapter 4:Installing Red Hat Linux 6.2
WARNING
WARNING
Please Note
Unlike previous workstation-class installations, performing a Red
Hat Linux 6.2 workstation-class installation will not install the net-
work daemon inetd. Not installing inetd results in a more secure
installation; however, network-related services such as finger, telnet,
talk, and FTP will not work. If you require these types of services,
please go back and choose a server- or a custom-class installation.
Section 4.2:Partitioning with fdisk 39
A server-class installation is most appropriate for you if you’d like your system to function
as a Linux-based server, and you don’t want to heavily customize your system configuration.
WARNING
The custom-class installation allows you the most flexibility during your installation. The
workstation-class and server-class installations automatically go through the installation
process for you and omit certain steps. During a custom-class installation, it is up to you
how disk space should be partitioned. You have complete control over the packages that
will be installed on your system. You can also determine whether you’ll use LILO (the
LInux LOader) to boot your system. Unless you have prior Linux experience, you should
not select the custom-class installation method.
If you would like to know what steps are omitted by not performing a custom-class installa-
tion please refer to Behind the Scenes of a Custom-Class Installation in Section 2.1.7.
CAUTION
Unless you have previously used fdisk and understand how it works,
we do not recommend that you use it. Disk Druid is an easier and
friendlier partitioning tool for those new to partitioning their sys-
tem. To exit fdisk click Back to return to the previous screen, dese-
lect fdisk, and then click Next.
This section applies only if you chose to use fdisk to partition your system. If are not using
fdisk, please skip to Section 4.3, Automatic Partitioning for automatic partitioning or Section
4.4, Partitioning Your System for partitioning with Disk Druid.
40 Chapter 4:Installing Red Hat Linux 6.2
If you have chosen to use fdisk, the next screen (see Figure 4–1, fdisk) will prompt you to
select a drive to partition using fdisk.
Figure 4–1 fdisk
Once you have chosen which drive to partition, you will be presented with the fdisk command
screen (see Figure 4–2, Partitioning with fdisk). If you are unsure as to what command you
should use, type [m] at the prompt for help. Please refer to the Official Red Hat Linux Ref-
erence Guide for an overview of fdisk. When you’ve finished making partitions, type w to
save your changes and quit. You will be taken back to the original fdisk screen where you can
choose to partition another drive or continue with your installation.
Section 4.2:Partitioning with fdisk 41
After you have partitioned your drive(s), click Next. You will then use Disk Druid to assign
mount points to your partitions.
You will not be able to add new partitions using Disk Druid, but you will be able to edit those
you have already created.
42 Chapter 4:Installing Red Hat Linux 6.2
Skip to Section 4.5, Choose Partitions to Format for further installation instructions.
CAUTION
CAUTION
If you are unsure how you want your system to be partitioned, please read the chapter on
partitioning in the Official Red Hat Linux Reference Guide.
Please Note
If you have not yet planned how you will set up your partitions, refer
to the partitioning appendix in the Official Red Hat Linux Reference
Guide. As a bare minimum, you’ll need an appropriately-sized root
partition, and a swap partition of at least 16 MB.
Section 4.4:Partitioning Your System 45
The partitioning tool used in Red Hat Linux 6.2 is Disk Druid. With the exception of certain
esoteric situations, Disk Druid can handle the partitioning requirements for a typical Red Hat
Linux installation.
A mount point is the location within the directory hierarchy at which a volume exists.
The volume is said to be mounted at this location. This field indicates where the parti-
tion will be mounted. If a partition exists, but is "not set" you need to define its mount
point. Double-click on the partition or use the Edit key.
Unless you have a reason for doing otherwise, we recommend that you create the fol-
lowing partitions:
46 Chapter 4:Installing Red Hat Linux 6.2
• A swap partition (at least 16MB) -- Swap partitions are used to support virtual
memory. In other words, data is written to a swap partition when there is not enough
RAM to store the data your system is processing. If your computer has 16MB of
RAM or less, you must create a swap partition. Even if you have more memory,
a swap partition is still recommended. The minimum size of your swap partition
should be equal to your computer’s RAM, or 16MB (whichever is larger).
• A /boot partition (16MB, maximum) -- The partition mounted on /boot
contains the operating system kernel (which allows your system to boot Red Hat
Linux), along with files used during the bootstrap process. Due to the limitations
of most PC BIOSes, creating a small partition to hold these files is a good idea.
This partition should be no larger than 16MB.
• A root partition (700MB-1.7GB) -- This is where "/" (the root directory) resides.
In this setup, all files (except those stored in /boot) reside on the root partition. A
700MB root partition will permit the equivalent of a workstation-class installation
(with very little free space), while a 1.7GB root partition will let you install every
package.
Device:
This field shows the partition’s original size. To re-define the size, you must delete the
current partition and recreate it using the Add button.
Actual:
This field shows the partition’s type (such as Linux Native or DOS).
As you scroll through the Partitions section, you might see an "Unallocated Requested Parti-
tion" message (in red text), followed by one or more partitions. A common reason for this is
a lack of sufficient free space for the partition. In any case, the reason the partition remains
unallocated will be displayed after the partition’s requested mount point.
To fix an unallocated requested partition, you must move the partition to another drive which
has the available space, resize the partition to fit on the current drive, or delete the partition
entirely. Make changes using the Edit button or by double clicking on the partition.
Add:
used to request a new partition. When selected, a dialog box will appear containing
fields (such as mount point and size) that must be filled in.
Edit:
used to modify attributes of the partition currently selected in the "Partitions" section.
Selecting Edit will open up a dialog box. Some or all of the fields can be edited, de-
pending on whether the partition information has already been written to disk.
Delete:
used to remove the partition currently highlighted in the Current Disk Partitions section.
You’ll be asked to confirm the deletion of any partition.
Reset:
used to restore Disk Druid to its original state. All changes made will be lost if you Reset
the partitions.
Make RAID Device:
Make RAID Device can be used if you want to provide redundancy to any or all disk
partitions. It should only be used if you have experience using RAID. To read more
about RAID, please refer to the Official Red Hat Linux Reference Guide.
Please Note
You will need to dedicate at least one partition to Red Hat Linux, and
optionally more. This is discussed more completely in Appendix C
in the Official Red Hat Linux Reference Guide.
Section 4.4:Partitioning Your System 49
• Mount Point: Highlight and enter the partition’s mount point. For example, if this par-
tition should be the root partition, enter /; enter /boot for the /boot partition, and
so on. You can also use the pull-down menu to choose the correct mount point for your
partition.
• Size (Megs): Enter the size (in megabytes) of the partition. Note this field starts with a
"1" in it; unless changed you’ll end up with a 1 MB partition.
• Grow to fill disk: This check box indicates if the size you entered in the previous field is to
be considered the partition’s exact size, or its minimum size. When selected, the partition
will grow to fill all available space on the hard disk. The partition’s size will expand and
contract as other partitions are modified. You can make multiple partitions growable; if
you do, the additional free space will be shared among all growable partitions.
• Partition Type: This field contains a list of different partition types (such as Linux Native
or DOS). Select the appropriate partition type by using the mouse.
• Allowable Drives: This field contains a list of the hard disks installed on your system. If
a hard disk’s box is highlighted, then a desired partition can be created on that hard disk.
50 Chapter 4:Installing Red Hat Linux 6.2
If the box is not checked, then the partition will never be created on that hard disk. By
using different check box settings, you can direct Disk Druid to place partitions as you see
fit, or let Disk Druid decide where partitions should go.
• Ok: Select Ok once you’re satisfied with the settings, and wish to create the partition.
• Cancel: Select Cancel if you don’t want to create the partition.
Please Note
If the partition already existed on your hard disk, you will only be
able to change the partition’s mount point. If you want to make any
other changes, you will need to delete the partition and recreate it.
Section 4.5:Choose Partitions to Format 51
If you wish to check for bad blocks while formatting each filesystem, please make sure to
select the check for bad blocks option.
Checking for bad blocks can help prevent data loss by locating the bad blocks on a drive and
making a list of them to prevent using them in the future.
52 Chapter 4:Installing Red Hat Linux 6.2
CAUTION
If you choose not to install LILO for any reason, you will not be
able to boot your Red Hat Linux system directly, and will need to
use another boot method (such as a boot diskette). Use this option
only if you are sure you have another way of booting your Red Hat
Linux system!
The Use linear mode button is selected by default. In most cases, linear mode should
be enabled; if your computer cannot use linear mode to access your hard drives, deselect this
option.
Figure 4–9 LILO Configuration
If you wish to add default options to the LILO boot command, enter them into the kernel
parameters field. Any options you enter will be passed to the Linux kernel every time it
boots.
54 Chapter 4:Installing Red Hat Linux 6.2
Bootable Partition -- Every bootable partition is listed, including partitions used by other
operating systems. The "Boot label" column will be filled in with the word linux on the
partition holding your Red Hat Linux system’s root filesystem. Other partitions may also
have boot labels. If you would like to add boot labels for other partitions (or change an
existing boot label), click once on the partition to select it. Once selected, you can change
the boot label.
Please Note
The "Boot label" column lists what you must enter at LILO’s
boot: prompt in order to boot the desired operating system.
However, if you forget the boot labels defined on your system, you
can always press [Tab] at LILO’s boot: prompt to display a list
of defined boot labels.
Tip
To use the boot disk with rescue mode, you have several options:
• Using the CD-ROM to boot, type linux rescue at the
boot: prompt.
• Using the network boot disk, type linux rescue at the
boot: prompt. You will then be prompted to pull the rescue
image from the network.
• Using the boot disk included with the Red Hat Linux boxed set,
type linux rescue at the boot: prompt. You then pick an
installation method and choose a valid installation tree to load
from.
Tip
Even if your computer is not part of a network, you can enter a
hostname for your system. Take this opportunity to enter in a name,
if you do not, your system will be known as localhost.
Finally, enter the Gateway and Primary DNS (and if applicable the Secondary DNS and Ternary
DNS) addresses.
Notice the two tabs at the top of the screen (see Figure 4–11, Configuring Time Zone). The
first tab offers you the ability to configure by location. With this option, you can choose your
58 Chapter 4:Installing Red Hat Linux 6.2
view. In choosing view, your options are: World, North America, South America, Pacific Rim,
Europe, Africa, and Asia.
From the interactive map, you can also click on a specific city, as indicated by the yellow
dots; a red X will appear indicating your selection. You can also scroll through a list and
choose your desired time zone.
The second tab offers you the ability to use the UTC offset. UTC presents you with a list of
offsets to choose from, as well as an option to set daylight saving time.
For both tabs, there is the option of selecting System Clock uses UTC. Please select this if you
know that your system is set to UTC.
Tip
If you wish to change your time zone configuration after you
have booted your Red Hat Linux system, become root and use the
/usr/sbin/timeconfig command.
Please Note
The root user (also known as the superuser) has complete access
to the entire system; for this reason, logging in as the root user is
best done only to perform system maintenance or administration.
• MD5 Password -- allows a long password to be used (up to 256 characters), instead of the
standard eight letters or less.
• Shadow Password -- provides a secure method of retaining passwords. The passwords
are stored in /etc/shadow, which is readable only by root.
• Enable NIS -- allows you to run a group of computers in the same Network Information
Service domain with a common password and group file. There are two options to choose
from here:
– NIS Domain -- this option allows you to specify which domain or group of computers
your system belongs to.
– NIS Server -- this option causes your computer to use a specific NIS server, rather than
"broadcasting" a message to the local area network asking for any available server to
host your system.
62 Chapter 4:Installing Red Hat Linux 6.2
Select each component you wish to install. Selecting Everything (which can be found at
the end of the component list) installs all packages included with Red Hat Linux. Selecting
every package will require close to 1.7GB of free disk space.
To select packages individually, check the Select Individual Packages box at the bottom of
the screen.
Section 4.11:Package Group Selection 63
On the left side of the screen you will see a directory listing of various package groups. When
you expand this list (double-click to select it) and double-click on a single directory, the list
of packages available for installation will appear on the right.
To select an individual package, double-click on it, or click on it once to highlight it and click
on the Select Package For Installation button below. A red check mark will appear on any of
the packages you have selected for installation.
To read information about a particular package before choosing it for installation, left-click
on it once to highlight it, and the information will appear at the bottom of the screen along
with the name and size of the package.
64 Chapter 4:Installing Red Hat Linux 6.2
Please Note
Some packages (such as the kernel and certain libraries) are required
for every Red Hat Linux system and are not available to select or
deselect. These base packages are selected by default.
If your monitor does not appear on the list, select the most appropriate Generic model avail-
able. If you do select a Generic monitor, Xconfigurator will suggest horizontal and vertical
sync ranges. These values are generally available in the documentation which accompanies
your monitor, or from your monitor’s vendor or manufacturer; please check your documen-
tation to make sure these values are set correctly.
CAUTION
Do not select a monitor similar to your monitor unless you are cer-
tain that the monitor you are selecting does not exceed the capabil-
ities of your monitor. Doing so may overclock your monitor and
damage or destroy it.
Also presented are the horizontal and vertical ranges that Xconfigurator suggests.
Click Next when you have finished configuration of your monitor.
Section 4.12:GUI X Configuration Tool 67
Next, Xconfigurator prompts you for the amount of video memory installed on your video
card. If you are not sure, please consult the documentation accompanying your video card.
You will not damage your video card by choosing more memory than is available, but the
XFree86 server may not start correctly if you do.
Once your hardware has been determined, you can test the configuration settings. We recom-
mend that you do test your configuration to make sure that the resolution and color is what
you want to work with.
68 Chapter 4:Installing Red Hat Linux 6.2
If you would like to customize the X configuration, please make sure the Customize X Con-
figuration button is selected. If you choose to customize, you will be presented with another
screen that lets you select what your resolution should be (see Figure 4–19, X Customiza-
tion). Again, you will have the option of testing the configuration.
Figure 4–19 X Customization
You may also choose to Skip X Configuration if you would rather configure X after the install
or not at all.
WARNING
If, for some reason, you would rather not continue with the in-
stallation process, this is your last opportunity to safely cancel
the process and reboot your machine. Once you press the Next
button, partitions will be written and packages will be installed.
If you wish to abort the installation, you should reboot now be-
fore your hard drive(s) are rewritten.
Do whatever is appropriate to boot Red Hat Linux. You should see one or more screens of
messages scroll by. Eventually, you should see a login: prompt or a GUI login screen (if
you installed the X Window System and chose to start X automatically).
Tip
If you’re not sure what to do next, we suggest you begin with the
Official Red Hat Linux Getting Started Guide as an introduction to
using Red Hat Linux. The Official Red Hat Linux Getting Started
Guide covers topics relating to the basics of your system.
If you are a more experienced user looking for information on sys-
tem configuration or administration topics, you may find the Offi-
cial Red Hat Linux Reference Guide to be more helpful.
Section 5.2:Upgrading Your System 73
Please Note
Some upgraded packages may require that other packages are also
installed for proper operation. If you choose to customize your
packages to upgrade, you may be required to resolve any depen-
dency problems. Otherwise, the upgrade procedure takes care of
these dependencies, but it may need to install additional packages
which are not on your existing system.
Please Note
Some packages (such as the kernel and certain libraries) are required
for every Red Hat Linux system and are not available to select or
deselect. These base packages are selected by default.
package dependencies automatically by adding all required packages to the list of selected
packages.
Figure 5–4 Unresolved Dependencies
Tip
If you need a quick review of some of the basic concepts of Red Hat
Linux refer to the Official Red Hat Linux Getting Started Guide.
For information dealing with system configuration and administra-
tion, refer to the Official Red Hat Linux Reference Guide.
Section 5.6:Upgrade Complete 79
• Getting any supported hardware recognized by the Red Hat Linux operating system
• Assistance with drive partitioning
• Configuring Red Hat Linux and up to one other operating system (on Intel platforms
only) to dual-boot using the Linux boot loader LILO. Please note that third party boot
loaders and partitioning software are not supported.
We can also help you with basic post-installation tasks, such as:
• Successfully configuring the X Window System using XF86Setup or Xconfigurator
• Configuring a local parallel port printer to print text
• Configuring a mouse
Our installation assistance service is designed to get you up and running with Red Hat Linux
as quickly and as easily as possible. However, there are many other things that you may want
to do with your Red Hat Linux system (from compiling a custom kernel to setting up a Web
server) which are not covered.
For assistance with these tasks, there is a wealth of on-line information available in the form
of HOWTO documents, Linux-related websites, and commercial publications. The Red Hat
Linux operating system includes the various Linux HOWTO documents on the installation
CD in the /doc/HOWTO directory as plain text files that can easily be read from within Red
Hat Linux and other operating systems.
A large number of Linux-related websites are available. The best starting point for finding
information on Red Hat Linux is the Red Hat, Inc. website at:
http://www.redhat.com/
Many Linux-related books are available. If you’re new to Linux, a book that covers Linux
basics will be invaluable. We can recommend several titles: Using Linux, by Bill Ball; Linux
Clearly Explained, by Bryan Pfaffenberger; Linux for Dummies, by Jon "maddog" Hall; and
A Practical Guide to Linux, by Mark G. Sobell.
Red Hat also offers various incident-based support plans to assist with configuration issues
and tasks that are not covered by installation assistance. Please see the Red Hat Support web-
site for more information. The Red Hat technical support website is located at the following
URL:
http://www.redhat.com/support/
Section A.5:How to Get Technical Support 83
Every Official Red Hat product comes with a Personal Product Identification code: a 16-char-
acter alphanumeric string. The Personal Product ID for Red Hat Linux 6.2 is located on a red
and white card that can be found inside the box. Your Personal Product ID is on a perforated
card that you can punch out and keep in a safe place. You need this code, so don’t lose the
card!
Please Note
Do not throw away the card with your Personal Product ID. You
need the Personal Product ID to get technical support. If you lose
the certificate, you may not be able to receive support.
The Personal Product ID is the code that will enable your technical support and any other
benefits or services that you purchased from Red Hat, depending upon which Red Hat product
you purchased. The Personal Product ID may also enable priority FTP access, depending on
the product that you purchased, for a limited amount of time.
Please Note
If your e-mail address is not correct, communications regarding
your technical support requests CANNOT be delivered to you,
and you will not be able to retrieve your login and password by
e-mail. Be sure that you give us your correct e-mail address.
If you’re worried about your privacy, please see Red Hat’s privacy statement at
http://www.redhat.com/legal/privacy_statement.html.
Section A.6:Questions for Technical Support 85
phone support contract, the phone number you’ll need to call will be provided to you during
the sign up process.
Please Note
Although this is a great way to explore the world of Red Hat Linux
without having to put Linux partitions on your system, please note
that you will still have to perform a full Red Hat Linux installation
as outlined in this manual.
Please Note
You must currently have a formatted DOS (FAT) filesystem in or-
der to perform this type of installation. Users who have Win95/98
should have no problems with this type of installation. Users who
have NTFS partitions (such as those using Windows NT) will have
to create and format a DOS (FAT) filesystem before this installa-
tion can be performed. This installation will not work unless the
DOS (FAT) filesystem has been formatted prior starting the Red
Hat Linux installation.
Unlike a typical Red Hat Linux installation, you will not need to format any partitions,
since you will not be adding any partitions to your system.
LILO (LInux LOader) and Boot Disk
In a partitionless installation, you will not configure LILO (the LInux LOader). In a
typical installation, you are able to choose where you would like LILO to be installed
-- either on the master boot record (MBR) or on the first sector of your root partition
-- or you can choose not to install LILO at all.
You must create a boot disk in order to access Red Hat Linux with a partitionless in-
stallation, and you will be prompted to create a boot disk at the end of the installation.
Performance Implications
Red Hat Linux will perform slower than it would if it had its own dedicated partitions.
However, for those of you unconcerned with speed, a partitionless installation is a great
way of seeing what Red Hat Linux has to offer without having to deal with partitioning
your system.
What you should see when Disk Druid’s main screen appears is a list of your DOS (FAT)
partitions (see Figure B–1, Choosing DOS (FAT) Partition to Define as /). Choose a DOS
(FAT) partition with enough available free space to install your choice of installation classes.
Highlight the partition by clicking on it with your mouse or by using the [Tab], [Up] and [Down]
keys.
Once the desired partition is highlighted, choose Edit. A new window will appear allowing
you to name this partition (see Figure B–2, Editing a DOS (FAT) Partition). In the mount
point field, label this partition as / (known as root) and click Enter.
90 Appendix B:Installing Without Partitioning
A confirmation window (see Figure B–3, Confirmation) will appear next asking you to con-
firm that you do want to continue with this installation. It also explains that you cannot have
any Linux partitions on your system other than the / labeled DOS partition that you have
just created. Click Yes to continue.
Next, you will be able to determine the root filesystem size and the swap size of this / par-
tition.
The installation program will determine the maximum size for the root filesystem (Figure
B–4, Configuration of Filesystem). You can make the root filesystem anything you would
like, as long as it does not exceed the maximum size recommendation.
The size you create for the root filesystem is the amount of disk space available for the entire
filesystem (this means that you need to keep in mind the size of the installation class as well
as allow you space to write and save data to).
Section B.2:Performing a Partitionless Installation 91
Swap space acts like virtual memory. In other words, data is written to a swap partition
when there is not enough RAM to store the data your system is processing. The installation
program will set swap to 32MB as a default. You can choose to increase the swap size if
desired, but there is no need to create a swap space larger than 256MB.
From here, you can continue following the main installation chapter (see Section 4.7, Net-
work Configuration) for further installation instructions. The only difference you will see
from this point is a screen prompting you to create a boot disk. Once you make the boot disk
and follow the other instructions, your installation will be complete.
To access Red Hat Linux, make sure the boot disk that you created during the installation is
in your floppy drive. When you reboot your system it will enter into Red Hat Linux rather
than your other OS. To access your other OS, remove the boot disk and reboot your system.
92 Appendix B:Installing Without Partitioning
These files can be found in the partition’s root directory (known as \ under Dos/Windows.)
Once these files have been removed, Red Hat Linux will no longer boot on your system. Your
system will return to its previous state and you will be able to access the space used by Red
Hat Linux as you normally would.
Removing Red Hat Linux 93
In DOS, NT, and Windows 95 you can use fdisk to create a new MBR with the "undocu-
mented" flag /mbr. This will ONLY rewrite the MBR to boot the primary DOS partition.
The command should look like:
fdisk /mbr
If you need to remove Linux from a hard drive, and have attempted to do this with the default
DOS fdisk, you will experience the "Partitions exist but they don’t exist" problem. The best
way to remove non-DOS partitions is with a tool that understands partitions other than DOS.
You can perform this with the installation floppy by typing "linux expert" (without the quotes)
at the boot: prompt.
boot:linux expert
Select install (versus upgrade) and when it comes to partitioning the drive, choose fdisk. In
fdisk type [p] to print out the partition numbers, and remove the Linux partitions with the [d]
command. When you’re satisfied with the changes you have made, you can quit with a [w]
and the changes will be saved to disk. If you deleted too much, type [q] and no changes will
occur.
Once you have removed the Linux partitions, you can reboot your computer by pressing
[Control-]-[Alt-]-[Delete] instead of continuing with the install.
94 Appendix C:Removing Red Hat Linux
Index 95