P. 1
Linux Certification Bible

Linux Certification Bible

4.0

|Views: 2.327|Likes:
Publicado porMarcelo

More info:

Published by: Marcelo on Dec 18, 2008
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/17/2013

pdf

text

original

2.5 Select appropriate options for partitions based on pre-installation choices (e.g.,
FDISK, third party partitioning software)

2.6 Partition according to your pre-installation plan using fdisk (e.g., /boot, / , /usr,
/var/home, SWAP)

2.7 Configure file systems (e.g., (ext2) or (ext3) or REISER)

By selecting a text-based installation, you are given one of two alternatives. The
command line is one of these alternatives. The bootable diskette or CD-ROM may
initiate a minimal kernel to allow the use of a command line interface, as shown in
Figure 5-1.

Figure 5-1:The command line interface

084881-6 ch05.F 11/12/01 8:29 AM Page 134

135

Chapter 5 ✦Advanced Installation

This command line interface usually requires the login of root with no password.
After this is completed, the steps required to prepare the system are very similar to
the GUI interface; the order, however, may be different. The instructions given in
the command line interface are to partition the hard drive and possibly activate a
swap partition. To perform these tasks, you should use cfdiskor fdiskfor disk
partitioning. The command mkswap /dev/, and then swapon
/dev/can be used to create the swap partition. To proceed, type
cfdiskat the command prompt and use cfdiskto partition the hard disk drive.
The interface of cfdiskis shown in Figure 5-2.

Figure 5-2:The partitioning tool cfdisk

This interface provides tools for HELP, NEW(partition creation), PRINT(the parti-
tion table), QUIT(the program), UNITS(unit of hard drive space in MB or sectors),
and WRITE(commit partitions to disk), which will allow the creation of the parti-
tion(s) needed for the installation of Linux. Select NEWfrom the menu to create the
first partition; this allows the input of the size of the partition. The menu then dis-
plays, as shown in Figure 5-3.

Select TYPEto select the partition type from the menus shown in Figures 5-4 and 5-5.

These are the menus of the possible partitions that can be supported by cfdisk.
Notice that the ReiserFS is not supported here—remember that not all Linux distri-
butions support the ReiserFS yet. The creation of partitions continues until all of
the requirements of the pre-installation partition plan have been fulfilled. Be sure to
create at least one bootable partition—otherwise, the system may be installed but
unable to boot. The partitions are then committed to the hard drive with the write

084881-6 ch05.F 11/12/01 8:29 AM Page 135

136Part II ✦Installation

command. Be sure to verify that these partitions are correct because after they
have been committed to the hard drive, it will be changed and any data will be lost,
as shown in Figure 5-6.

Figure 5-3:The partition submenu of cfdisk

Figure 5-4:Choosing the partition type in cfdisk

084881-6 ch05.F 11/12/01 8:29 AM Page 136

137

Chapter 5 ✦Advanced Installation

Figure 5-5:The partition submenu of cfdisk

Figure 5-6:The partitions are committed to the hard drive.

This completes the partitioning of the hard drive and has readied the system for
installation of Linux.

084881-6 ch05.F 11/12/01 8:29 AM Page 137

138Part II ✦Installation

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->