[rh9]~/drbl-desktop-20040112>./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]
**********************************************************
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] y
Proxy server name (FQDN) or IP address for http protocol ?
[] fsgrid.nchc.org.tw
Proxy server port for http protocol ?
[3128]
Proxy server name (FQDN) or IP address for ftp protocol ?
[fsgrid.nchc.org.tw]
Proxy server port for ftp protocol ?
[3128]

The http proxy server you set: http://fsgrid.nchc.org.tw:3128
The ftp proxy server you set:  http://fsgrid.nchc.org.tw:3128


**********************************************************
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] 1

Do you want to use the DRBL testing packages which is more powerful, buy maybe buggy (If you are brave enough) ?
[y/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]
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]
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]

Installing APT(Advanced Package Tool) ...
warning: /tmp/apt.HFzVfj/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]
**********************************************************

No optimization for your system, we will use the "i386" package.
**********************************************************
Setup apt sources.list...
Get:1 http://drbl.sourceforge.net redhat/9/en/i386 release [793B]
Get:2 http://ayo.freshrpms.net redhat/9/i386 release [1170B]
Fetched 1963B in 3s (538B/s)
Hit http://drbl.sourceforge.net redhat/9/en/i386/drbl pkglist
Get:1 http://ayo.freshrpms.net redhat/9/i386/os pkglist [1357kB]
Hit http://drbl.sourceforge.net redhat/9/en/i386/drbl release
Hit http://drbl.sourceforge.net redhat/9/en/i386/drbl srclist
Get:2 http://ayo.freshrpms.net redhat/9/i386/os release [140B]
Get:3 http://ayo.freshrpms.net redhat/9/i386/updates pkglist [421kB]
Get:4 http://ayo.freshrpms.net redhat/9/i386/updates release [153B]
Get:5 http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist [151kB]
Get:6 http://ayo.freshrpms.net redhat/9/i386/freshrpms release [157B]
Get:7 http://ayo.freshrpms.net redhat/9/i386/os srclist [152kB]
Get:8 http://ayo.freshrpms.net redhat/9/i386/updates srclist [19.9kB]
Get:9 http://ayo.freshrpms.net redhat/9/i386/freshrpms srclist [35.0kB]
Fetched 2136kB in 41s (51.9kB/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]
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back
  gstreamer-plugins
0 packages upgraded, 0 newly installed, 0 removed and 1 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 1 not upgraded.
Need to get 2683kB of archives.
After unpacking 5533kB of additional disk space will be used.
Get:1 http://ayo.freshrpms.net redhat/9/i386/os dhcp 1:3.0pl1-23 [511kB]
Get:2 http://ayo.freshrpms.net redhat/9/i386/os ntp 4.1.2-0.rc1.2 [1204kB]
Get:3 http://ayo.freshrpms.net redhat/9/i386/updates redhat-config-date 1.5.15-1 [365kB]
Get:4 http://ayo.freshrpms.net redhat/9/i386/os firstboot 1.0.5-11 [166kB]
Get:5 http://ayo.freshrpms.net redhat/9/i386/updates nfs-utils 1.0.1-3.9 [195kB]
Get:6 http://ayo.freshrpms.net redhat/9/i386/os tftp-server 0.32-4 [24.8kB]
Get:7 http://ayo.freshrpms.net redhat/9/i386/os yp-tools 2.7-5 [63.9kB]
Get:8 http://ayo.freshrpms.net redhat/9/i386/os ypbind 3:1.11-4 [31.0kB]
Get:9 http://ayo.freshrpms.net redhat/9/i386/updates ypserv 2.8-0.9E [121kB]
Fetched 2683kB in 35s (75.1kB/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#2.4.20-27.9drbl for regex 'kernel#.*drbl'
Note, selecting kernel#2.4.20-24.9drbl for regex 'kernel#.*drbl'
The following extra packages will be installed:
  kernel#2.4.20-24.9drbl kernel#2.4.20-27.9drbl
The following NEW packages will be installed:
  kernel#2.4.20-24.9drbl kernel#2.4.20-27.9drbl
0 packages upgraded, 2 newly installed, 0 removed and 1 not upgraded.
Need to get 26.6MB of archives.
After unpacking 59.3MB of additional disk space will be used.
Get:1 http://drbl.sourceforge.net redhat/9/en/i386/drbl kernel#2.4.20-24.9drbl 2.4.20-24.9drbl [13.3MB]
Get:2 http://drbl.sourceforge.net redhat/9/en/i386/drbl kernel#2.4.20-27.9drbl 2.4.20-27.9drbl [13.3MB]
Fetched 26.6MB in 4s (6198kB/s)
Executing RPM (-ivh)...
warning: package kernel = 2.4.20-24.9drbl was already added, replacing with kernel <= 2.4.20-27.9drbl
Preparing...                ########################################### [100%]
   1:kernel                 ########################################### [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:
  clonezilla drbl-gdm drbl-script etherboot freedos memtest86 mkinitrd-net
  partimage rh-netinstall socket syslinux
0 packages upgraded, 11 newly installed, 0 removed and 1 not upgraded.
Need to get 18.6MB of archives.
After unpacking 54.6MB of additional disk space will be used.
Get:1 http://drbl.sourceforge.net redhat/9/en/i386/drbl clonezilla 1.0-11drbl [15.8kB]
Get:2 http://drbl.sourceforge.net redhat/9/en/i386/drbl drbl-gdm 1.1-1drbl [440kB]
Get:3 http://drbl.sourceforge.net redhat/9/en/i386/drbl drbl-script 1.0-18drbl [22.5kB]
Get:4 http://drbl.sourceforge.net redhat/9/en/i386/drbl freedos 1.0-2drbl [309kB]
Get:5 http://drbl.sourceforge.net redhat/9/en/i386/drbl memtest86 3.0-3drbl [77.7kB]
Get:6 http://drbl.sourceforge.net redhat/9/en/i386/drbl rh-netinstall 1.0-1drbl [7100kB]
Get:7 http://drbl.sourceforge.net redhat/9/en/i386/drbl etherboot 5.0.11-5drbl [9391kB]
Get:8 http://drbl.sourceforge.net redhat/9/en/i386/drbl mkinitrd-net 1.10-23drbl [975kB]
Get:9 http://drbl.sourceforge.net redhat/9/en/i386/drbl partimage 0.6.2-1drbl [196kB]
Get:10 http://drbl.sourceforge.net redhat/9/en/i386/drbl socket 1.3pre2-1 [15.9kB]
Get:11 http://drbl.sourceforge.net redhat/9/en/i386/drbl syslinux 2.00-5drbl [75.2kB]
Fetched 18.6MB in 2s (6715kB/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 1 not upgraded.
Need to get 3160kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://ayo.freshrpms.net redhat/9/i386/os dev 3.3.2-5 [3037kB]
Get:2 http://ayo.freshrpms.net redhat/9/i386/os MAKEDEV 3.3.2-5 [123kB]
Fetched 3160kB in 34s (90.4kB/s)
Download complete and in download only mode
4585 blocks
1246 blocks
Cleaning the tmp device directory...

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

**********************************************************
Installing the driver which is not included in kernel package ...
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting drbl-driver-bcm5700-2.4.20-27.9drbl for regex 'drbl-driver-[^(smp)].*-2.4.20-27.9drbl'
Note, selecting drbl-driver-bcm4400-2.4.20-27.9drbl for regex 'drbl-driver-[^(smp)].*-2.4.20-27.9drbl'
The following extra packages will be installed:
  drbl-driver-bcm4400-2.4.20-27.9drbl drbl-driver-bcm5700-2.4.20-27.9drbl
The following NEW packages will be installed:
  drbl-driver-bcm4400-2.4.20-27.9drbl drbl-driver-bcm5700-2.4.20-27.9drbl
0 packages upgraded, 2 newly installed, 0 removed and 1 not upgraded.
Need to get 80.3kB of archives.
After unpacking 168kB of additional disk space will be used.
Get:1 http://drbl.sourceforge.net redhat/9/en/i386/drbl drbl-driver-bcm4400-2.4.20-27.9drbl 3.0.7-4 [24.3kB]
Get:2 http://drbl.sourceforge.net redhat/9/en/i386/drbl drbl-driver-bcm5700-2.4.20-27.9drbl 7.1.9-4 [55.9kB]
Fetched 80.3kB in 0s (2572kB/s)
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
   1:drbl-driver-bcm4400-2.4########################################### [ 50%]
   2:drbl-driver-bcm5700-2.4########################################### [100%]

**********************************************************
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-27.9drbl
Scanning through /etc/mknbi-set.conf for network modules...
Scanning through /lib/modules/2.4.20-27.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...
