# HG changeset patch # User Josef 'Jeff' Sipek # Date 1226080305 18000 # Node ID e5ab4d0d4407fd9a64ce2222e0b1b121b2119839 # Parent 43f87a840ead41be16040920c3df15896ef20894 zvm-centos4: finished the first version diff -r 43f87a840ead -r e5ab4d0d4407 body-zvm-centos4.html --- a/body-zvm-centos4.html Wed Sep 03 14:32:37 2008 -0400 +++ b/body-zvm-centos4.html Fri Nov 07 12:51:45 2008 -0500 @@ -10,7 +10,7 @@

The following howto assumes, that you know at least a little bit of:

@@ -36,13 +36,11 @@

-So, point your browser to the mirror nearest you, navigate to this rather -long path: +So, point your browser to the mirror nearest you, navigate to this path:

/centos-4/4.6/os/s390/images/
and grab these files:
-redhat.exec
 kernel.img
 initrd.img
 generic.prm
@@ -52,7 +50,23 @@
 as well.

Note: If you want a 64-bit system, you'll want to use s390x -in the path instead. +in the path instead.
+
+I used this REXX script as to make my life easier. I called it +redhat.exec (you'll notice that some of the files are called redhat or rhel, +that's because I based my install steps on scripts/config files used to +install RHEL on s390):
+
+/* */                    
+'CL RDR'                 
+'PURGE RDR ALL'          
+'SPOOL PUNCH * RDR'      
+'PUNCH KERNEL IMG A (NOH'
+'PUNCH REDHAT PARM A (NOH'
+'PUNCH INITRD IMG A (NOH'
+'CH RDR ALL KEEP NOHOLD' 
+'I 00C'
+

@@ -60,9 +74,9 @@ files you got to your A minidisk. You can either use FTP, or IND$FILE through your 3270 terminal emulator. I used the IND$FILE method via c3270.

-Note: The .img files should be transfered as binaries, and the other two -need to be converted to EBCDIC. Both, FTP and IND$FILE support converting -between ASCII and EBCDIC.
+Note: The .img files should be transfered as binaries, and the other +two need to be converted to EBCDIC. Both, FTP and IND$FILE support +converting between ASCII and EBCDIC.

I used the following commands in c3270 to do the transfers:
@@ -86,10 +100,32 @@ this:
CMS listing the files on A

-The RHEL5.CONF file contains configuration options for the installer. +The RHEL5.CONF file contains configuration options for the installer. Here's +an example config file from the CentOS install docs: +

-FIXME: example conf file
+DASD=200
+HOSTNAME=client.z900.example.com
+NETTYPE=ctc
+IPADDR=192.168.0.10
+SUBCHANNELS=0.0.0150,0.0.0151
+NETWORK=192.168.0.0
+NETMASK=255.255.255.0
+SEARCHDNS=example.com:dns.example.com:z900.example.com
+BROADCAST=192.168.0.255
+GATEWAY=192.168.0.1
+DNS=192.168.0.254
+MTU=1492 
+CTCPROT=0
 
+ +You will want to change the DASD to list all your DASDs that Linux should +bring online. The HOSTNAME, IPADDR, NETWORK, NETMASK, SEARCHDNS, BROADCAST, +GATEWAY, DNS, and MTU need to be changed to match your network config. And +chances are that you'll want to change NETTYPE to qeth, or something other +than ctc (possible values are: ctc, qeth, iucv, lcs). Go read the +CentOS documentation +to figure out what are all the options you can use in the config file.

@@ -100,7 +136,6 @@

-FIXME: do I need to IPL by hand?
Shortly after, you'll see the kernel banner displayed. Since I installed CentOS 4.x, the kernel version is 2.6.9. If you use 5.x, the version will be obviously different.
@@ -108,24 +143,19 @@

-After a few screen-fulls of output, you should be prompted for ... FIXME. -FIXME: Include a screenshot. -

- -

Some more scrolling later, you'll see a message prompting you to telnet or ssh into the system, and continue with the installation process:
SSH/telnet prompt
SSH or telnet in as root. The password is the empty string, so when -prompted, simply press the enter key.
+prompted for it, simply press the enter key.

At this point, the install process is much like network install on any other architecture.

-The regular CentOS installer will kicks. It'll prompt you for the type of -install (http, ftp, nfs - FIXME: verify + image). I went with HTTP.
+The regular CentOS installer will kick in. It'll prompt you for the type of +install (http, ftp, nfs). I went with HTTP.

The next screen prompts you for the hostname and path on the HTTP server that contains the CentOS packages:
@@ -135,13 +165,15 @@

-FIXME: partitions +Partition your DASDs whichever way you want. It's a good idea to use LVM, +since DASDs are limited to about 2.2GB (3338 cylinders). On my setup, I made +/home a logical volume of 5 3390-3 DASDs.

Most of the questions the installer normally asks you get answered by the -options in the RHEL5.CONF file (FIXME: rename). And before long, you'll see -the install process doing its thing:
+options in the RHEL5.CONF file. And before long, you'll see the install +process doing its thing:
Install!

@@ -151,8 +183,9 @@
  • installing a 64-bit version should be the same process...just use the s390x directories on the mirror instead of s390.
  • -
  • installing RHEL 4.x should be the same process; just point the - installer at a server with RHEL4 RPMS.
  • +
  • installing RHEL 4.x should be the same process; just grab the + right kernel/initrd files, and then point the installer at a server + with RHEL4 RPMS.