[steven@rh9 drbl-desktop-20031127]$ ./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

**********************************************************
Do you want to set the proxy server ?
[y/N] n

**********************************************************
Which "apt" repository do you want to use ? [0/1/2/3/4/5]
"0" for opensource.nchc.org.tw. (default)
"1" for drbl.sourceforge.net (Only DRBL packages mirror from opensource.nchc.org.tw) and ayo.freshrpms.net,
"2" for both ayo.freshrpms.net and opensource.nchc.org.tw.
"3" for directory in local HD ,cdrom or NFS directory. (You have to make sure you already got those files in local directory!)
"4" for local apt repository (Apache server and apt-enabled rpm packages are required).
"5" to enter apt repository by yourself.
[0] 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 serial console output for clients ?
If you do NOT know anything about this, say "N" here, otherwise clients might show NOTHING on the screen !
[y/N] n
Do you want to use SMP kernel for clients, i.e. your client have two or more CPUs ? Note!!! By chooing SMP kernel, you must use optimized kernel!
[y/N] n

Installing APT(Advanced Package Tool) ...
warning: /tmp/apt.wwEQuz/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 (22.5kB/s)
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386/os pkglist [1357kB]
Get:2 http://opensource.nchc.org.tw redhat/9/en/i386/os release [121B]
Get:3 http://opensource.nchc.org.tw redhat/9/en/i386/updates pkglist [339kB]
Get:4 http://opensource.nchc.org.tw redhat/9/en/i386/updates release [126B]
Get:5 http://opensource.nchc.org.tw redhat/9/en/i386/drbl pkglist [87.2kB]
Get:6 http://opensource.nchc.org.tw redhat/9/en/i386/drbl release [123B]
Get:7 http://opensource.nchc.org.tw redhat/9/en/i386/os srclist [152kB]
Get:8 http://opensource.nchc.org.tw redhat/9/en/i386/updates srclist [19.2kB]
Get:9 http://opensource.nchc.org.tw redhat/9/en/i386/drbl srclist [7050B]
Fetched 1963kB in 4s (412kB/s)
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, i.e. answer "0".
[0] 0
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded
XFree86 XFree86-100dpi-fonts XFree86-75dpi-fonts XFree86-Mesa-libGL
XFree86-Mesa-libGLU XFree86-base-fonts XFree86-font-utils XFree86-libs
XFree86-libs-data XFree86-tools XFree86-truetype-fonts XFree86-twm XFree86-xauth
XFree86-xdm XFree86-xfs bash cdda2wav cdrecord coreutils cups cups-libs eog
ethereal evolution foomatic gdm ghostscript gnupg gtkhtml hpijs httpd iproute
kdebase kdegraphics kdelibs krb5-devel krb5-libs mkisofs mutt nfs-utils nscd
openssh openssh-askpass openssh-askpass-gnome openssh-clients openssh-server
pam_smb pan perl perl-CPAN popt printman redhat-config-date
redhat-config-network redhat-config-network-tui redhat-config-printer
redhat-config-printer-gui rhpl rpm rpm-build rpm-devel rpm-python samba
samba-client samba-common sane-backends sendmail syslinux tcpdump unzip up2date
up2date-gnome xinetd xpdf ypserv
The following packages have been kept back
glibc glibc-common glibc-devel openssl openssl-devel
75 packages upgraded, 0 newly installed, 0 removed and 5 not upgraded.
Need to get 147MB of archives.
After unpacking 1514kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

**********************************************************
Install dhcp, tftp, nfs, yp, mkinitrd ...
Reading Package Lists... Done
Building Dependency Tree... Done
ypbind is already the newest version.
yp-tools is already the newest version.
mkinitrd is already the newest version.
ntp is already the newest version.
firstboot is already the newest version.
The following packages will be upgraded
nfs-utils ypserv
The following NEW packages will be installed:
dhcp tftp-server
2 packages upgraded, 2 newly installed, 0 removed and 78 not upgraded.
Need to get 852kB of archives.
After unpacking 1108kB 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/updates nfs-utils 1.0.1-3.9 [195kB]
Get:3 http://opensource.nchc.org.tw redhat/9/en/i386/os tftp-server 0.32-4 [24.8kB]
Get:4 http://opensource.nchc.org.tw redhat/9/en/i386/updates ypserv 2.8-0.9E [121kB]
Fetched 852kB in 0s (2436kB/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                   ########################################### [ 25%]
2:nfs-utils              ########################################### [ 50%]
3:tftp-server            ########################################### [ 75%]
4:ypserv                 ########################################### [100%]

**********************************************************
Install-Options ""; Architecture "i386";
No optimization for your system, we will use the "i386" glibc & openssl package.
Install the i386 version of glibc-2.3.2-11.9...
Searching the glibc in apt repository os updates drbl drbl-test...
warning: /tmp/glibc.PAtdXh/glibc-2.3.2-11.9.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
1:glibc                  ########################################### [100%]
Install the i386 version of openssl-0.9.7a-2...
Searching the openssl in apt repository os updates drbl drbl-test...
warning: /tmp/openssl.NryipE/openssl-0.9.7a-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
1:openssl                ########################################### [100%]

**********************************************************
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting kernel#2.4.20-20.9drbl for regex 'kernel#.*drbl'
The following extra packages will be installed:
kernel#2.4.20-20.9drbl
The following NEW packages will be installed:
kernel#2.4.20-20.9drbl
0 packages upgraded, 1 newly installed, 0 removed and 78 not upgraded.
Need to get 13.3MB of archives.
After unpacking 29.7MB of additional disk space will be used.
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386/drbl kernel#2.4.20-20.9drbl 2.4.20-20.9drbl [13.3MB]
Fetched 13.3MB in 2s (4556kB/s)
Executing RPM (-ivh)...
Preparing...                ########################################### [100%]
1:kernel                 ########################################### [100%]
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting drbl-driver-bcm4400 for regex 'drbl-driver-.*'
Note, selecting drbl-driver-bcm5700 for regex 'drbl-driver-.*'
The following extra packages will be installed:
drbl-driver-bcm4400 drbl-driver-bcm5700
The following NEW packages will be installed:
drbl-driver-bcm4400 drbl-driver-bcm5700
0 packages upgraded, 2 newly installed, 0 removed and 78 not upgraded.
Need to get 110kB of archives.
After unpacking 250kB of additional disk space will be used.
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386/drbl drbl-driver-bcm4400 2.0.5-8 [33.0kB]
Get:2 http://opensource.nchc.org.tw redhat/9/en/i386/drbl drbl-driver-bcm5700 6.2.17-2 [77.3kB]
Fetched 110kB in 0s (2592kB/s)
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
1:drbl-driver-bcm4400    ########################################### [ 50%]
2:drbl-driver-bcm5700    ########################################### [100%]

**********************************************************
Install mkinitrd-net, etherboot, syslinux, partimage, DRBL GDM Greeter...
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
syslinux
The following NEW packages will be installed:
clonezilla drbl-gdm drbl-script etherboot freedos memtest86 mkinitrd-net
partimage rh-netinstall socket
1 packages upgraded, 10 newly installed, 0 removed and 77 not upgraded.
Need to get 18.6MB of archives.
After unpacking 54.4MB of additional disk space will be used.
Get:1 http://opensource.nchc.org.tw redhat/9/en/i386/drbl clonezilla 1.0-5drbl [13.9kB]
Get:2 http://opensource.nchc.org.tw redhat/9/en/i386/drbl drbl-gdm 1.1-1drbl [440kB]
Get:3 http://opensource.nchc.org.tw redhat/9/en/i386/drbl drbl-script 1.0-7drbl [18.4kB]
Get:4 http://opensource.nchc.org.tw redhat/9/en/i386/drbl freedos 1.0-2drbl [309kB]
Get:5 http://opensource.nchc.org.tw redhat/9/en/i386/drbl memtest86 3.0-3drbl [77.7kB]
Get:6 http://opensource.nchc.org.tw redhat/9/en/i386/drbl rh-netinstall 1.0-1drbl [7100kB]
Get:7 http://opensource.nchc.org.tw redhat/9/en/i386/drbl etherboot 5.0.11-5drbl [9391kB]
Get:8 http://opensource.nchc.org.tw redhat/9/en/i386/drbl mkinitrd-net 1.10-22drbl [975kB]
Get:9 http://opensource.nchc.org.tw redhat/9/en/i386/drbl partimage 0.6.2-1drbl [196kB]
Get:10 http://opensource.nchc.org.tw redhat/9/en/i386/drbl socket 1.3pre2-1 [15.9kB]
Get:11 http://opensource.nchc.org.tw redhat/9/en/i386/drbl syslinux 2.00-5drbl [75.2kB]
Fetched 18.6MB in 3s (5918kB/s)
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
1:clonezilla             ########################################### [  9%]
2:drbl-gdm               ########################################### [ 18%]
3:drbl-script            ########################################### [ 27%]
4:freedos                ########################################### [ 36%]
5:memtest86              ########################################### [ 45%]
6:rh-netinstall          ########################################### [ 55%]
7:etherboot              ########################################### [ 64%]
8:mkinitrd-net           ########################################### [ 73%]
9:partimage              ########################################### [ 82%]
10:socket                 ########################################### [ 91%]
11: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 77 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 (4403kB/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-20.9drbl
Scanning through /etc/mknbi-set.conf for network modules...
Scanning through /lib/modules/2.4.20-20.9drbl/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 bcm4400
Building NBIs for module set bcm5700
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 the kernel for PXE clients...done!

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

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