Installation Guide-IA64

In order to start the installation of Asianux 2.0, it needs to boot installation program. We can use two methods: CD booting or floppy booting.

1. Method of booting installation program

According to the difference between hardware of system and installation medium that is used, we can use the following method to boot the installation program of Asianux 2.0.

1.1 Use CD booting

CD booting and CD installing are the most direct method to install Asianux 2.0. The precondition of it is that the users have the system installation CD and the user decided to choose CD as the installation medium, and the computer can support the situation that booting from CDs.

Set the BIOS startup order of current computer firstly when installing, set the CD-ROM as the first option.

If your computer can not support CD booting, please refer to "Installation mode of Asianux"

1.2 Use U disk booting

If the computer cannot support CD booting or you do not have a system installation CD, it needs to use installation boot CD. The reflection file of the installation boot CD is the file /images/bootdisk.img on the first CD.

Before using the installation boot CD, you have to change the BIOS setting into U disk precedence.

If an installation boot CD is needed, you should prepare in advance. Concerning the detailed information of making a boot CD, please refer to chapter 1.4: Making an installation boot CD

These is no essential relationship between the mediums of booting and installing. Actually, using CD booting can also choose installation from hard disk or network. Detailed steps are as follows: After use the first CD of Asianux 2.0 to boot installation, input “linux askmethod” under the prompt “boot:”. It will appear a choice interface of installation medium. You can practice if you are interested in it.

1.3 Booting of EFI system

EFI is the next general firmware of Intel, and Asianux 2.0 has already supplied the support for it.

1 1.3.1 Booting of EFI on IA32

Put the CD into CD-ROM, and restart the computer.

Press to enter Boot manager if it appears “start boot options” at the bottom of the screen.

Choose “cdrom entry1”, start the computer from CD.

Or start computer from CD directly, and then input “linux efi” to enter installation mode supported by efi.

A vfat partition of 100M is needed during installing; the mount point is /boot/efi.

This partition must be a primary-partition; it is suggested to use hda1.

Other processes are similar to other installation mode.

1.3.2 Booting of EFI on Itanium2

On Itanium2 server, computer will enter inner EFI ( Extensible Firmware Interface ) environment after self-inspecting, we need to select booting from CDROM/DVD in EFI.

The full name of EFI is Extensible Firmware Interface; it is a technique that Intel used to substitute current BIOS. It is used to provide the function that is similar with BIOS for IA-64 constitution server system, and it is used to accommodate the functions of hardware. The work mode of EFI can be simply reduced to the following four: start up system, initialize standard firmware flat, load EFI drives library and carry out relative program. Select the system that you want to enter in the starting menu of EFI system and put in the code of start-booting to EFI. It will enter the system normally; otherwise it will pause starting up service and return the start menu of EFI.

Start menu of EFI system

Open the power of server; insert the first CD or booting CD into CDROM/DVD drive.

The server will enter the inner EFI and start up manager after self-inspecting, select boot from CDROM/DVD in the starting manager menu of EFI. If there is no CDROM/DVD option, you can adopt the following two methods: 2 1. Select “EFI Shell [Built-in]”in menu, enter the inner EFI shell, you will find a drives list, the drives that start with fs are the drives of file system that can be discriminated by EFI. Find the one that corresponds to CDROM/DVD drive, enter this drive using the same method with switching drive under DOS (input the command that similar with fs0: and press , then carry out the command elilo and start to boot CDROM/DVD).

EFI Shell

2.Select “Boot option maintenance menu”in the menu,enter the menu of the next level.

Boot option maintenance menu

Select “Boot from a File”,then you can see a drives list, and select CDROM/DVD.

3

Boot From a File

The files on CDROM/DVD will be listed out, select elilo.efi to boot CDROM/DVD.

Select booting file

1.3.3 The use of efibootmgr

z Delete guiding option

# efibootmgr -b 0001 -B

0001 is the number of guiding option that is to be deleted, it can be examined thought the command efibootmgr directly, the output is as follows:

# efibootmgr BootCurrent: 0001 Timeout: 10 seconds BootOrder: 0001,0002,0003 Boot0001* Asianux Boot0002* RedFlag Boot0003* Primary Master CDROM

Among this, 0001 in Boot0001 is the number; the relevant guiding number is Asianux z Add a guiding option

#efibootmgr -c -w -L "BootOptionName" -d /dev/sda -p 1 -l

\\EFI\\asianux\\elilo.efi 4 Among this, it is the name of the hardware that the system belongs to after the parameter –d, for example, /dev/hda、 /dev/hdb

The parameter –p is the partition number of vfat partition, /dev/hda1 uses -p 1, and /dev/sda2 uses -p 2.

The parameter –l is followed by the location of the efi startup file in the partition that the guiding option points to. Please use “\\”to express the class of content.

For example, /EFI/asianux/elilo.efi should be written into \\EFI\\asianux\\elilo.efi.

1.4 Boot successfully

Whatever is used (CDs or floppy), it will appear an installation startup interface of Asianux 2.0 after booting successfully. The hints and the prompt “boot:” will appear on the screen,then you can enter the graphics-mode installation interface after pressing or just waiting for a while.

Boot from CD successfully

If it need to use text installation mode, input “linux text” under the prompt “boot:”, then press .

If it need to use expert installation mode, input “linux expert” under the prompt “boot:”, then press .

It is suggested to use graphics-mode installation mode; because it has friendly interface and can be operated easily. And it also supplies the LVM setting function that can not be supplied under text installation mode.

In normal situation, it just need to use acquiescent options. Pay attention to the leading message to check that if the

5 Linux kernel has examined the hardware of computer. If the hardware has been examined correctly, we can carry the following procedure of installing.

¾ Concerning text installation mode

The operating steps of text installation mode are similar with graphics-mode installation, it just changes its interface, and the setting and using method are also similar. If the text installation mode is necessary, please refer to the next chapter about the introduction of graphics-mode installation.

Currently, hard-disk installation mode, FTP installation mode and HTTP installation mode just supply text installation interface.

¾ Concerning expert installation mode

Expert installation mode adopt text interface to supply drive support that some installation program do not supply for some special hardware. Currently, these special hardware are mostly SCSI adapters, RAID equipment or NIC. Asianux 2.0 installation program has already supplied hundreds of drives of this kind of equipment for users. But to the types that do not include, it needs to use drive floppy or drive CDs to load drives thought expert installation mode.

In expert installation mode, installation program will ask users whether a drive disk is needed. Then select to load drive program from floppy drive or CD drive.

If you do not need equipment that is not supported during your installing of Asianux 2.0, the drive disk does need here. You can add the support of this equipment after completing installation. Asianux 2.0 has its own format of drive floppy, if it can not match the format, it may lead to load incorrectly.

2. Installation of Asianux 2.0

It is written above that installation program can use text interface installation mode as well as graphic installation mode.

This chapter will introduce the detailed steps of installation of Asianux 2.0 by taken examples of graphic installation mode. We consumingly advise you to use graphic installation mode to carry out the installation; because it has friendly interface and can be operated easily, and it also include the LVM configuring function that cannot be supplied under text installation mode.

If the text installation mode is n necessary, you can also get necessary information from the explanation of graphic installation mode in this chapter.

6 2.1 Starting installation

Complete the booting of installation program, and enter the graphic installation interface as the following picture shows.

Starting installation

Red Flag Server supply uniform graphic installation interface style, the left side of the screen list all the steps that will pass during the entire installation and shows the current step; the right shows the configuring options of relevant installation steps and the parameter configuring interface.

At the bottom of the screen, there has three buttons: “Exist” means you can exit the installation program at any time, and restart the computer; “Back” means you can return to the above interface; “Next” means that the current option is affirmed and it will enter the next installation step.

Before choosing the language, the interface character is English.

Click “Next” to continue, and then enter the language choosing interface.

2.2 Language choosing

The language you chose determines the using language type during the installation and language during usage after completing the installation. You can choose Chinese Simplified (简体中文)、English(English)或 Japanese(日本語).

7

Language choosing

If you want to change the environment language after completing the installation, run the script /sbin/changelanguage.sh. Choose the language you want according to the clews. And you have to restart your computer to make it go into effect. If the system you’ve installed is Red Flag DC Server 5, you have to install the management tool CD before run this script.

2.3 Permission protocol

The following interface is 《Protocol book of 》.

Permission protocol of software

Please read the content carefully, if you’d like to continue the installation, choose “Accept”, and press “next”

8 to continue.

If you choose do not accept the protocol, the installation can not be continued. If you need to cancel this operation for some reason, choose “Exit” button at the bottom.

2.4 Keyboard setting

Asianux 2.0 supplies two options of keyboard: Chinese and English. To Chinese users, you can just choose English keyboard, it supports most 101 and 104 keyboards.

Setting keyboard

2.5 Partition Setup

For many users, the most troublesome task in installing Linux system is partition setup. In this step, you have to tell installation program where you would like to install the system, namely defining mount point for one or more disk partitions where Asianux 2.0 will be installed. By now, partition needs to be created, modified or deleted according to specific circumstances.

2.5.1 Partition naming convention

Linux identifies hard disk partition through a combination of letters and numbers. It is specified as follows:

The first two Type of device where hd:IDE hard drive letters partition is located sd:SCSI hard drive

9 : The third letter Which device this Hda the first IDE hard drive partition locates Hdb:the second IDE hard drive

Sdc:the third SCSI hard drive

Number Partition order Number 1-4 means primary partitions or extended partitions, while the number for logic partition starts from 5. For example, /dev/hda3 refers to the third primary partition or extended partition of the first IDE hard drive; /dev/sdb6 refers to the second logic partition of the second SCSI hard drive.

Note: The name of un-partitioned hard drive has numbers, representing the entire hard drive.

2.5.2 Partition arrangement

The purpose of partitioning is to allocate one or several fixed positions for the system. Linux system supports multi-partition architecture, with each part being stored on different disks or different partitions.

In general, server system always has many partitions, so that it can be more flexible and more convenience to administer the system.

According to how to lay out the hard disk space of the Linux server, the following factors are suggested to be considered:

1、 Firstly, the root document system of Linux need parts of hard drive space, mount as the root partition of /.

2、 Secondly, the swap partition needs parts of the hard drive space. The size of the swap partition depends on the virtual RAM that is needed. In general, the size of the swap partition is 1~2 times of physical RAM.

3、 Finally, as a server, it is suggested to put root partition on the different disk partitions or equipments from the partitions /usr、/home、/var、/boot according to factual situation. The reason of this is that, to save every pivotal partition on unattached partitions can make the later move、backup、system reverting and administer more convenience.

The function’s introductions of partitions

/ The foundation of overall system (indispensable).

swap Swap partition of (indispensable), it is used to support the virtual memory. When there has no enough memory to deposit the data that is being deal with, the swap partition is needed. /boot Created under root, it is used to independently store system booting file.

/usr Used to store system software.

/home It contains the master directory of all users, and can store nearly all kinds of user files.

10 /var It is used to store mail file, news file, printing queue and system journal (log) file.

/tmp Used to store temporary file. It is necessary for large, multi-user system and network server.

To install Asianux 2.0, at least, the following two partition need to be established: z Root partitioning (/)

A root partition is the place where Linux file system resides. Enough hard disk space should be allocated to ensure successful installation. At least 3G disk space is required.

z Swap partitioning (swap)

The size of the swap partition is 1~2 times of the computer’s memory. In general, if the memory of system is no more then 1GB, the size of swap partition should at least be same to the memory of system, at most 2 times of it; if the memory of system is bigger than 1GB, it is suggested to distribute 2GB for swap partition.

2.5.3 Configuring the partitioning mode

Asianux 2.0 supplies the function of automatically partitioning, to the computer that installed system newly, it can user it to configure partitions fast.

Partitioning mode

Asianux 2.0 supplies three modes to deal with the original partitions when partitioning automatically:

11 z Remove all Linux partitions on this system z Remove all partitions on this system z Keep all partitions and use existing free space

You must choose how to use the space on your hard drives depending on specific conditions, and then press "next" to enter the interface below.

Partitioning mode

2.5.4 Partition configuration

Disk Druid is a graphical partitioning tool featured by user-friendly interface and easy to use operating environment. The figure below is the interface through which you can enter Disk Druid tools, and in this interface, you can create, modify and delete hard disk partitions and define mount point for each partition.

12

Disk Druid partitioning tool

It can be seen that the current hard disk partition of the system is displayed in tree directory structure, the uppermost level being the hard disk. If more hard disks are available, they will be expressed respectively as hda, hdb, sda, sdb sdb; the next is the primary partition and extended partition on the hard disk; and the last is logic partition under extended partition.

If there is in front of the device name of the partition, it means it contains undisplayed partitions; if the sign in front of device name of a partition is , it means all partitions included has been displayed.

Partition table displays the detailed information of system hard drive(s). Each line has five different fields, representing a hard disk partition:

Device: Name of current hard drive(s) and hard disk partition

Size: Space currently allocated to the partition (MB)

Type: File system type on the partition

Mount point : The location or name of RAID device where the partition is mounted /RAID/Volume: in the directory tree, and name of LVM

Format:: Whether to format the current partition

If you do not want to see the member of RAID device and LVM, select “hide RAID device and LVM”.

The buttons in the line at the bottom of the partition table are used to control the Disk Druid’s action, and their application is described as follows:

New: used to request a new partition in a free partition. When selected, a dialog box will appear which needs to be filled in upon request.

13 Edit:by pressing this button after selecting the partition, the attributes of current partitions in the partition table can be modified;

Delete: used to delete all selected partitions;

Reset: used to abolish all modifications and restore partitions data to their original state.

RAID: Be used to supply redundancy for parts of or the whole disk partition. You can use RAID as long as you have some relevant experience of using it. Concerning the detailed introduction of RAID,please refer to 《System management manual of Asianux 2.0》.

To establish a RAID device, a partition that the type of document system is“software RAID”need to be established firstly. As long as there has two or more than two software RAID partitions, select the button “RAID” to separate software RAID partition into one or more than one RAID devices.

LVM:Be used to establish a LVM logical volume label. You can use LVM as long as you have some relevant experience of using it. Concerning the detailed introduction of LVM,please refer to 《System management manual of Asianux 2.0》.

To establish a LVM logical volume label, a partition that the type of document system is physical volume label need to be established firstly. As long ad there has two or more than two physical volume label partitions, select the button “LVM” to establish LVM logical volume label Do not establish the /boot partition into LVM partition type. The boot loading program included in Asianux 2.0 can not read LVM partition. z Delete a partition

If there is not enough free disk space or re-configurable Linux partition on the hard drive, the original partitions should be deleted so as to provide enough space for Asianux 2.0 installation.

For example, to delete Windows partition from the host machine, select this partition from current partition table, then press "Delete" button.

z Add a new partition

Select free space from partition table, and double click or click "new" button, the dialog below will appear.

14

Add a new partition

"Mount Point": this field is used to enter the location of a partition to be created in the directory tree, and a correct mount point can be selected from drop-down menu. Input "/" to create a root partition; no mount point is required to create a swap partition; if you want to create other types of partitions other than root file system or swap partition, input according to specific conditions, for example, /boot, /home, etc.

"File System Type": choose file system type for partitions to be created from drop-down menu. If you want to create a swap partition, then select swap. If you want to create a root file system or other type of partition, select "ext2", "ext3", "reiserfs" or "vfat", and the default partition type is "ext3".

Asianux 2.0 allows users to create different type of partitions depending on file system to be used on this partition. The following is a brief description of different file systems and their applications.

ext2 An ext2 file system supports standard Unix file types (regular files, directories, symbolic links, etc). It supports long filename up to 255 Characters. ext3 The upgrade edition of ext2 file system and you can easily transfer ext2 file system to ext3 file system. The main advantage of ext3 file system is journaling. ext3 also supports asynchronous journaling. reiserfs A new file system that uses full balancing tree architecture to store data, including file data, file name and journaling support. Reiserfs supports large capacity disk and disk array, where it can maintain a fast search speed and high efficiency. physical To establish one or more than one physical volume label partitions is to establish LVM volume label logical volume label. Concerning the detailed introduction of LVM,please refer to (LVM) 《System management manual of Asianux 2.0》. software RAID To establish two or more than two software RAID partitions is to establish one or more than one RAID devices. Concerning the detailed introduction of RAID,please refer to 《System management manual of Asianux 2.0》.

15 swap Swap partitions used to support virtual memory. vfat A Linux file system that is compatible with long filenames on the FAT file system. xfs The xfs of SGI is a very good 64 bits high-powered log file system. It supplies Linux community with a vigorous、excellent and multi-functioned file system. Its flexibility can satisfy the most rigorous storage acquire.

“Allowable drive”: it includes the installation hard drive list of system. The hard drive is selected means that you can establish partition you want on hard drive. If a hard drive is not selected, new partition can not be established on this hard drive.

“Size (MB)”:used to input partition size (MB), and this field should start from 100MB.

"Additional Size Options": "fixed size" means the partition has fixed space size; Select " Fill all space up to (MB)", and input a limit value in the right field under this option, you can reserve more room for future use; if you select " Fill to maximum allowable size", the partition size input above will be the minimum size of this partition, and the specified Linux partition will occupy the entire hard disk space. If you use this option when creating other partitions in the future, the system will automatically allocate space according to the proportion of the minimum size of these two partitions.

“Forced to be the main partition”:Select that whether the partition to be established should be one of the four main partitions. If it is not selected, the new established partition will be a logical partition.

If a Swap partition of other Linux system already exists, Asianux 2.0 will use this partition instead of creating a new swap partition.

Click "OK", the information regarding to newly created partition will be displayed on the screen. After all operations are correctly completed, click "Next" button. z Edit partitions

Select a partition from current partition table, click "Edit" button, and you can modify the partition configuration.

If the partition already exists on your hard disk, you will only be able to change the partition's mount point and file system type. If you want to make any other changes such as size change, you need to delete the partition and recreate it.

2.5.4.1 Software RAID configuring

《System management manual of Asianux 2.0》 introduces the conception of RAID、the difference between hardware RAID and software RAID and the meanings of every RAID level.

If you have some experience of using software RAID device or have learned the relevant content in《System management manual of Asianux 2.0》, then you configure software RAID during installation. In this section,

16 we discuss about the software RAID configuring in Disk Druid interface.

Before establishing a RAID device, we need to establish software RAID partition firstly, the steps are as folloes:

Press “New” to establish a new partition in the interface of Disk Druid partitioning tool; the dialog box “Add partition” will appear.

Add a new RAID partition

The mount point cannot be input here. You can configure mount point only when the software RAID device has been established. Select “software RAID” in the list of “file system type”.

“Allowable drive”: Select the hard drive that will establish RAID on it. If there has more than one hard drive in the computer, all of them will be selected acquiescently here; if RAID array will surely not be established on one hard drive, the selection of the hard drive must be cancelled.

“Size (MB)”:used to input partition size (MB)

"Additional Size Options": "fixed size" means the partition has fixed space size; Select " Fill all space up to (MB)", and input a limit value in the right field under this option, you can reserve more room for future use; if you select " Fill to maximum allowable size", the partition size input above will be the minimum size of this partition, and the specified Linux partition will occupy the entire hard disk space. If you use this option when creating other partitions in the future, the system will automatically allocate space according to the proportion of the minimum size of these two partitions.

“Forced to be the main partition”:Select that whether the partition to be established should be one of the four main partitions. If it is not selected, the new established partition will be a logical partition.

Press “OK” to return the main interface of Disk Druid partitioning tool.

17 Repeat the above steps to establish other partitions that need to make as software RAID device.

Not all the partitions need to adopt RAID redundancy mechanism, it is just needed on shone partitions that have a high acquire of reliability of data and capability of system. For example, configure /home partition to be RAID device.

After set up the partitions that need to be made to RAID devices to “software RAID” partition, carry put the following steps to establish RAID devices:

1. Click “RAID”button in the main interface of Disk Druid tool, the following dialog box of “RAID option” will appear.

RAID option

2. Select “establish RAID devices”, and click “OK”, then the following dialog box “establish RAID devices will appear:

If you select “establish software RAID partition”, then it will appear a interface that used to add software RAID partition, this can allow users to establish more software RAID partitions.

18

Make RAID devices

1、 Input or select mount point of this device; 2、 Select the type of file system that the RAID devices will adopt in “type of file system”, the defaulted type is ext3; 3、 Select the name of RAID devices, such as md0; 4、 In “RAID level”, you can select to establish one of the three levels below: RAID0、RAID1 or RAID5 ;

If you want to mount RAID device to /boot, then you must select RAID1 level; if you do not want to establish single /boot partition, but make the whole / partition to be RAID devices, then you must select RAID1 level.

5、 The software RAID partition that is used to establish RAID device show in the list of “RAID member”, select the partition that will be used to establish RAID device from the list. 6、 If the level type to be established is RAID1 or RAID5, you can appoint the quantity of standby partition in “spare part quantity” field. 7、 Click “OK”, the newly established RAID device will show in the “RAID device” of the Disk Druid tool interface.

19

RAID disk array has been set up

2.5.4.2 LVM configuring

《System management manual of Asianux 2.0》 introduces the correlative conceptions of LVM and the using method of graphical LVM configuring tool.

《Advanced management manual of Asianux 2.0》 introduces particularly about how to configure and manage LVM under character mode.

If you have experience of using LVM devices, or have learned the correlative content from 《System management manual of Asianux 2.0》or 《Advanced management manual of Asianux 2.0》, then you can configure LVM during installing. In this section, we will discuss about how to configure LVM in Disk Druid interface.

To be generalized, the process to establish and configure LVM can separated into three steps:

z Establish physical volume that is used by LVM in hard drive partition;

z Make one or multiple physical volumes to compose volume group;

z Establish logical volume on volume group, and set mount point for logical volume.

Before establish a LVM logical volume, you must select and establish physical volume that is used by LVM, only in this way can they be distinguished by LVM system. The steps are as follows:

Click “New” button to establish a new partition in the interface of Disk Druid partitioning tool; the dialog box of “Add partition” will appear.

20

Establish a physical volume

You can not input mount point here, only when the LVM volume group has been established can you set mount point for its logical volume. Click “physical volume(LVM)”in the selection list of “type of file system”.

According to you need, you can establish one or multiple hard disk to physical volume that is used by LVM, the software RAID devices that have been established can also be set as physical volume.

“Allowable drive”: Select the hard drive that will establish LVM on it. If there has more than one hard drive in the computer, all of them will be selected acquiescently here; if LVM physical volume will surely not be established on one hard drive, the selection of the hard drive must be cancelled.

“Size (MB)”:used to input partition size (MB)

"Additional Size Options": "fixed size" means the partition has fixed space size; Select " Fill all space up to (MB)", and input a limit value in the right field under this option, you can reserve more room for future use; if you select " Fill to maximum allowable size", the partition size input above will be the minimum size of this partition, and the specified Linux partition will occupy the entire hard disk space. If you use this option when creating other partitions in the future, the system will automatically allocate space according to the proportion of the minimum size of these two partitions.

“Forced to be the main partition”:Select that whether the partition to be established should be one of the four main partitions. If it is not selected, the new established partition will be a logical partition.

Press “OK” to return the main interface of Disk Druid partitioning tool.

Repeat the above steps to establish other physical volumes that will be used by LVM. If you want to make more than one partition compose a LVM volume group, then you should establish them as physical volume separately. 21 /boot partition can not be established on volume group, if you want establish root file system on a logical volume, then you must carve up a separated partition for /boot on non-logical volume.

After establishing all the physical volumes that needed, carry out the following steps:

You can establish multiple logical volumes on a volume group, but a physical volume can just belong to one volume group.

1、 Click “LVM” button in the main interface of Disk Druid tool, this is used to make one or multiple physical volume compose a volume group. The following figure is the window of “Make LVM volume group”.

Make LVM volume group

2、 If it needs, you can change the name of volume group in the text box of “volume group name”. 3、 LVM logical volume distribute storage size with “block” of same size, the defaulted size is 4MB, and that way, the space of logical volume must be the integer times of 4MB. You can also select other value from the list of “physical range”, but the defaulted setting is perfect for most situations, so it is suggested to retain; 4、 Select the physical volume that composes volume group in the list of “physical volume to be used”; 5、 Now, you can establish logical volume on volume group. In the area of “logical volume”, press “Add” button, the following interface of “Make logical volume” will appear, this is used to establish new logical volume on established volume group and set mount point、appoint file system type、fix the name and distribute space for it. Of course, you can also edit or delete the logical volume.

22

Make logical volume

You should consider about leaving some space on volume group when establishing logical group, so to make the expending of logical volume more convenience.

6、 Click “OK” button, the newly established volume group and logical volume will show in the partition list in the main interface of Disk Druid tool.

Logical Volumes have been established

2.5.5 Confirming partitions to be formatted

All newly created partitions will be formatted. The warning here is only for the purpose of existing partitions to be formatted.

Be sure you have backed up all important data on selected partitions. In general, users shall keep private data on user-defined partitions instead of storing them on system file directory.

23

Confirming partitions to be formatted

2.6 Boot loader configuration

GRand Unified Bootloader or GRUB is the bootloader of Asianux 2.0 system. It supports Asianux 2.0 coexisting with many operating systems such as Linux Solaris OS / 2, Windows9x / 2000, etc., and enables you to select which operating system to boot.

You can choose one of the two locations below to install GRUB: MBR, or the first sector of a bootable partition (for example, /dev/hda1).

MBR, a special region on the hard disk that can be automatically loaded by BIOS, is the default location to install GRUB boot record.

If the system already uses other boot manager (for example, System Commander, Boot Manager, etc.), then install GRUB in the first sector of boot partition. In this case, you need to use other managers to boot GRUB before booting Asianux 2.0.

If you only use Red Flag Linux Desktop 5.0 system, then install GRUB on MBR; for system with Windows 9X/2000/NT, boot loader shall also be installed on MBR.

GRUB configuration interface is shown in the figure below:

24

Boot loader setup

GRUB configuration tools and their application are described in the following paragraphs:

Install Boot Loader record on: it’s used to choose where to install GRUB. As described above,we can install GRUB either on MBR or on the first sector of boot partition.

If there has more than one SCSI hard drives or have IDE hard drive as well as SCSI hard drive, adopt the option “change the order of drives” , and the installation program will reconfirm the location of MBR according to the order of drives in BIOS.

Label: the identification of bootable operating system which is displayed in the menu after booting the GRUB, or what you must input at boot: prompt, in non-graphical boot loader.

New bootable partition can be added into Boot loader menu by using "Add" button. If you want to modify or delete a current boot label, click "Edit" or "Delete" after highlighting this option.

Select "Default", you computer will boot to the operating system from corresponding default bootable image. To continue installation, you ought to select default boot image.

Boot loader password provides a security mechanism to prevent other users who has access to the system from changing parameters transferred to kernel. For the sake of security, it is suggested that you set boot loader password so as to enhance system security. To set boot loader password, select "apply Boot loader password" check box, then enter password and confirm.

25 2.7 Network configuration

If installation program detects network card in the host machine, the network configuration interface below will appear:

Network configuration

The installation program will automatically detect any network devices you have and display them in the “Devices” list. Select a network device, and press “Edit” button, an edit interface pop-up screen of this network interface device will appear as below:

Edit a Network Card

DHCP, Dynamic Host Configuration Protocol, is used to automatically configure current network parameters. If there is DHCP server on the current network, you can select "Configure using DHCP" to configure the IP address

26 and Netmask of the current network device via DHCP. If "Configure using DHCP" is not selected, you need to manually input IP address and subnet mask parameter.

If "Active on boot" is selected, this network interface will be started when you boot the system; otherwise, you will need to manually start this device after boot the system.

The next step is to set up a host name for your computer. You need to enter hostname in "configure manually" field if "Configure using DHCP” is not applied.

If hostname is not entered in this step, system will use localhost as default hostname.

Finally, if you entered the IP and Netmask information manually, you also need to enter the Gateway address and the Primary, Secondary, and Tertiary DNS addresses.

The function of gateway is to connect host machine to the Internet by configuring routers. The three DNS options are used to configure Primary, Secondary, and Tertiary DNS, which will be searched by the system in sequence.

If installation program can't detect your network card, the network configuration interface will not appear. Users can choose to change network configuration after installation is completed.

2.8 Time zone setting

Red Flag Linux Server 5 provides time zone selection for different cities and time zones corresponding to different areas, to meet the extensive requirements from users.

Time zone setting

27 2.9 Root password setup

In Linux Server system, root is system administrator who can perform any operation on the system. Therefore, root password is an important parameter regarding system safety, and its security requirement is very high.

In the installation interface as shown below, installation program will prompt you to enter system root password. Input password in "Root password" field, and then input the same password in "Confirm" field.

Setting root password

Password must contain at least 6 characters and is case sensitive. System administrator should keep in mind the password and develop a habit of changing password regularly.

System administrator can change the password when working with the system either by using passwd command or using user management tools.

2.10 Software package installation mode

Asianux 2.0 provides the function to select groupware, in order to assure the correct running of system, it is suggested to select complete installation.

If special acquire is needed, users can define the software packages themselves.

28

Software package installation mode

2.11 Getting prepared to install

After necessary configuration task is completed and before starting installation, you will enter the installation confirm interface.

Inspect Installation Options

A complete log of your installation will be saved in /root/install.log.

29 Please confirm that installation option is correct. This is your last opportunity where you can press “back” to return or cancel the installation process. Once you press "next" button, partition will be formatted and software package will be installed.

2.12 Installing software package

Installation program will read software package information, make necessary preparation, and then begin to copy software package. Installation will take over ten or several tens of minutes depending on the number of software package to be installed, hardware speed and other factors. See the figure below:

Install software packages

The installation progress will be displayed in the bottom left of the screen; a brief introduction about system will be display on the right side. This will help you get familiar with Asianux 2.0 system during installation.

The basic Asianux 2.0 system have two CDs, when using this CDs, it will remind you to insert the second CD after completing the installation of the first one. Of course, this problem will not exist if installed from hard drive or network.

2.13 Configuring display

After completing the installation of software packages, it turns to the display configuring, the defaulted resolving power is 800x600 16 bits color, users can select according to their needs.

The login type depends on the usage of the computer, it is a burden to open X graphic login to system, if it is used

30 as a personal work station, we can select graphic login; but as a server, considering its stability and capability, it is suggested to use the defaulted text login interface.

Configuring display and login mode

2.14 Installation completed

Installation of Asianux 2.0 is about to complete:

Installation completed

31 By now, you have successfully installed Asianux 2.0 system on your computer! Remove CD and floppy disk as well as other media used during installation from your computer, press "Congratulation ", and restart your computer.

32