[diskless]~/drbl>./drblsrv_desktop.sh -i
**********************************************************
We are now ready to install and upgrade the files for DRBL server!
Do you want to continue ? Say "yes" or "y" to continue, or any other letter to quit!
[y/N] y
**********************************************************
Ok! Let's do it!
You are not root,
please enter root's password to deploy them...
Password:

***************************************************************
**********************************************************
The version number for your Redhat: 9

**********************************************************
Which "apt" repository do you want to use ? [0/1/2]
"0" for opensource.nchc.org.tw,
"1" for both ayo.freshrpms.net and opensource.nchc.org.tw. (default)
"2" for directory in local HD ,cdrom or NFS directory. (You have to make sure you already got those files in local directory!)
"3" for local apt repository (Apache server and apt-enabled rpm packages are required).
[1] 0

Do you want to use the DRBL testing packages which is more powerful, buy maybe buggy (If you are brave enough)?
[y/N] n
Do you want to use Asian CJK (Chinese, Japanese, Korean) patched packages in graphical mode (X-window) (If you are brave enough)?
[y/N] n
Do you want to use the console output for clients when using PXE?
If you do NOT know anything about this, say "N" here, otherwise your client will show NOTHING on the screen!
[y/N] n
Do you want to use the SMP kernel for clients ?
[y/N] n

Install APT ...
warning: /tmp/apt.YEKim1/apt-0.5.5cnc6-fr1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing...                ########################################### [100%]
1:apt                    ########################################### [100%]

************************!@!@#$%^&*&(***************************
Do you want to let "apt" use "Optimization for CPU" ? [0/1/2]
0 for "No Optimization" (i386 will be used), 1 for "i586", 2 to use the optimization level of server.
Note! Note Note!  Note!  Note!  Note!  Note!
Note!!! If your client machine(s) is not the same level with server, please answer "0", otherwise your client machine(s) will NOT be able to boot.
The major difference is if you turn on "Optimization for CPU", the glibc and openssl package will use in one of i686 and i386, the kernel will be use in one of i686, i586 and i386, which might be not suitable to all your machines.
If you are not sure, better to answer "0"
[0] 0
**********************************************************

No optimization for your system, we will use the "i386" package.
**********************************************************
Setup apt sources.list...
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386 release [1789B]
Fetched 1789B in 0s (24.6kB/s)
Hit http://opensource.nchc.org.tw redhat/9/en/i386/os pkglist
Hit http://opensource.nchc.org.tw redhat/9/en/i386/os release
Hit http://opensource.nchc.org.tw redhat/9/en/i386/updates pkglist
Hit http://opensource.nchc.org.tw redhat/9/en/i386/updates release
Hit http://opensource.nchc.org.tw redhat/9/en/i386/drbl pkglist
Hit http://opensource.nchc.org.tw redhat/9/en/i386/drbl release
Hit http://opensource.nchc.org.tw redhat/9/en/i386/os srclist
Hit http://opensource.nchc.org.tw redhat/9/en/i386/updates srclist
Hit http://opensource.nchc.org.tw redhat/9/en/i386/drbl srclist
Reading Package Lists... Done
Building Dependency Tree... Done

**********************************************************
First, we upgrade the whole system...
**********************************************************


If there is new glibc and openssl in updates, do you want to upgrade ? [0/1/2/3]
"0" to keep the old but working glibc and openssl (default).
"1" to keep the old but working glibc, while upgrade openssl,
"2" to keep the old but working openssl, while upgrade glibc,
"3" to upgrade glibc and openssl,
Warning!!!!! glibc is very important, you have to make sure the new glibc will work with this WORKING system.
Sometimes the new glibc will make you cry... If you are not sure, beter to keep the old but working one.
[0] 0
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back
glibc glibc-common glibc-devel
0 packages upgraded, 0 newly installed, 0 removed and 3 not upgraded.

**********************************************************
Install dhcp, tftp, nfs, yp, mkinitrd ...
Reading Package Lists... Done
Building Dependency Tree... Done
mkinitrd is already the newest version.
The following extra packages will be installed:
redhat-config-date
The following NEW packages will be installed:
dhcp firstboot nfs-utils ntp redhat-config-date tftp-server yp-tools ypbind
ypserv
0 packages upgraded, 9 newly installed, 0 removed and 3 not upgraded.
Need to get 2683kB of archives.
After unpacking 5533kB of additional disk space will be used.
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386/os dhcp 1:3.0pl1-23 [511kB]
Get:2 http://opensource.nchc.org.tw redhat/9/en/i386/os ntp 4.1.2-0.rc1.2 [1204kB]
Get:3 http://opensource.nchc.org.tw redhat/9/en/i386/updates redhat-config-date 1.5.15-1 [365kB]
Get:4 http://opensource.nchc.org.tw redhat/9/en/i386/os firstboot 1.0.5-11 [166kB]
Get:5 http://opensource.nchc.org.tw redhat/9/en/i386/updates nfs-utils 1.0.1-3.9 [195kB]
Get:6 http://opensource.nchc.org.tw redhat/9/en/i386/os tftp-server 0.32-4 [24.8kB]
Get:7 http://opensource.nchc.org.tw redhat/9/en/i386/os yp-tools 2.7-5 [63.9kB]
Get:8 http://opensource.nchc.org.tw redhat/9/en/i386/os ypbind 3:1.11-4 [31.0kB]
Get:9 http://opensource.nchc.org.tw redhat/9/en/i386/updates ypserv 2.8-0.9E [121kB]
Fetched 2683kB in 0s (4596kB/s)
Executing RPM (-Uvh)...
warning: /var/cache/apt/archives/dhcp_1%3a3.0pl1-23_i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
1:dhcp                   ########################################### [ 11%]
2:ntp                    ########################################### [ 22%]
3:redhat-config-date     ########################################### [ 33%]
4:firstboot              ########################################### [ 44%]
5:nfs-utils              ########################################### [ 56%]
6:tftp-server            ########################################### [ 67%]
7:yp-tools               ########################################### [ 78%]
8:ypbind                 ########################################### [ 89%]
9:ypserv                 ########################################### [100%]

**********************************************************
Install-Options ""; Architecture "i386";
No optimization for your system, we will use the "i386" glibc & openssl package.

**********************************************************
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting kernel-drbl#2.4.20-18.10drbl for regex 'kernel-drbl#[0-9]*'
The following extra packages will be installed:
kernel-drbl#2.4.20-18.10drbl
The following NEW packages will be installed:
kernel-drbl#2.4.20-18.10drbl
0 packages upgraded, 1 newly installed, 0 removed and 3 not upgraded.
Need to get 13.3MB of archives.
After unpacking 29.6MB of additional disk space will be used.
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386/drbl kernel-drbl#2.4.20-18.10drbl 2.4.20-18.10drbl [13.3MB]
Fetched 13.3MB in 1s (7711kB/s)
Executing RPM (-ivh)...
Preparing...                ########################################### [100%]
1:kernel-drbl            ########################################### [100%]

**********************************************************
Install mkinitrd-net, etherboot, syslinux, partimage, DRBL GDM Greeter...
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
drbl-gdm drbl-script etherboot mkinitrd-net partimage syslinux
0 packages upgraded, 6 newly installed, 0 removed and 3 not upgraded.
Need to get 4926kB of archives.
After unpacking 11.6MB of additional disk space will be used.
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386/drbl drbl-gdm 1.1-1drbl [440kB]
Get:2 http://opensource.nchc.org.tw redhat/9/en/i386/drbl drbl-script 1.0-2drbl [7953B]
Get:3 http://opensource.nchc.org.tw redhat/9/en/i386/drbl etherboot 5.0.7-2drbl [3231kB]
Get:4 http://opensource.nchc.org.tw redhat/9/en/i386/drbl mkinitrd-net 1.10-17drbl [975kB]
Get:5 http://opensource.nchc.org.tw redhat/9/en/i386/drbl partimage 0.6.2-1drbl [196kB]
Get:6 http://opensource.nchc.org.tw redhat/9/en/i386/drbl syslinux 2.00-5drbl [75.2kB]
Fetched 4926kB in 1s (4914kB/s)
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
1:drbl-gdm               ########################################### [ 17%]
2:drbl-script            ########################################### [ 33%]
3:etherboot              ########################################### [ 50%]
4:mkinitrd-net           ########################################### [ 67%]
5:partimage              ########################################### [ 83%]
6:syslinux               ########################################### [100%]

**********************************************************
Creating device source for clients...
Get the devices file from RPM repository...
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 2 reinstalled, 0 removed and 3 not upgraded.
Need to get 3160kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386/os dev 3.3.2-5 [3037kB]
Get:2 http://opensource.nchc.org.tw redhat/9/en/i386/os MAKEDEV 3.3.2-5 [123kB]
Fetched 3160kB in 0s (7161kB/s)
Download complete and in download only mode
4585 blocks
1246 blocks
Cleaning the tmp device directory...

**********************************************************

**********************************************************
Creating the nbi files for a lot of network cards, this will take a few minutes ...
The latest kernel for DRBL clients is 2.4.20-18.10drbl
Scanning through /etc/mknbi-set.conf for network modules...
Scanning through /lib/modules/2.4.20-18.10drbl/modules.pcimap for network modules...
Building NBIs for module set 3c59x
Building NBIs for module set 8139cp
Building NBIs for module set 8139too
Building NBIs for module set acenic
Building NBIs for module set airo
Building NBIs for module set aironet4500_card
Building NBIs for module set dgrs
Building NBIs for module set dl2k
Building NBIs for module set dmfe
Building NBIs for module set e100
Building NBIs for module set e1000
Building NBIs for module set eepro100
Building NBIs for module set epic100
Building NBIs for module set fealnx
Building NBIs for module set hamachi
Building NBIs for module set hp100
Building NBIs for module set hysdn
Building NBIs for module set natsemi
Building NBIs for module set ne2k-pci
Building NBIs for module set ns83820
Building NBIs for module set pcnet32
Building NBIs for module set prism2_pci
Building NBIs for module set prism2_plx
Building NBIs for module set r8169
Building NBIs for module set rcpci
Building NBIs for module set sis900
Building NBIs for module set starfire
Building NBIs for module set sundance
Building NBIs for module set sungem
Building NBIs for module set sunhme
Building NBIs for module set tc35815
Building NBIs for module set tg3
Building NBIs for module set tulip
Building NBIs for module set tulip_old
Building NBIs for module set via-rhine
Building NBIs for module set winbond-840
Building NBIs for module set xircom_cb
Building NBIs for module set xircom_tulip_cb
Building NBIs for module set yellowfin

**********************************************************
Creating some files for PXE clients...

**********************************************************
Done!
**********************************************************
Now syncing - flush filesystem buffers...
