Chapter 9. Installing Linux for S/390 137
...
Please enter the directory of the installation media:
flexes> hwc /mnt/cdrom (Assume SuSE CD#1 is mounted)
Is the following correct?
Installation source: ftp
IP-Address: 192.168.0.110
Directory: /mnt/cdrom
Yes/No:
flexes> hwc yes
Please enter the username for the FTP-access (for anonymous just press enter):
flexes> hwc helper (The userid with root as home)
Please enter the password for the FTP-access (for anonymous just press enter):
flexes> hwc xxxxx (Whatever password you assigned)
Is the following correct?
FTP User: helper
FTP Password: xxxxx
Yes/No:
flexes> hwc yes
Which terminal do you want to use?
1) X-Windows
2) VNC (VNC-Client or Java enabled Browser)
3) ssh
Choice:
flexes> hwc 1 (Select X Windows)
Please enter the IP-Number of the host running the X-Server:
flexes> 192.168.0.110 (Address of Red Hat Linux)
...
(There is an automatic ping sent to the indicated address.)
...
(Many dots on the screen, to indicate progress, and a variety of messages.)
...
(After a long pause a new window in the Red Hat gnome desktop should open and
display an initial YaST screen.)
9.5 Main installation steps
A SuSE license was first displayed in the newly opened X window:
click Accept
select English(US) and click Accept
The next steps involved DASD setup. Please read the text before attempting to follow our
examples.
138 EFS Systems on a Linux Base: Additional Topics
Figure 9-1 DASD Module Parameter Setting
DASD initialization
STOP and read this section about DASD initialization before you do anything. If this is done
incorrectly, you may need to start the complete installation again.
YaST presented the DASD Module Parameter Setting panel, as shown in Figure 9-1. We
entered
dasd=200 in the DASD parameter box and clicked Load Module. Do not click Accept
yet.
We opened a new terminal window on the Red Hat gnome desktop and created a telnet
connection to SuSE (at IP address 192.168.0.112):
$ telnet 192.168.0.112
t23 login: root (Log in as root)
Password: root1 (Use the temporary root password we selected)
# cat /proc/dasd/devices (We should see device 200)
0200(ECKD) at (94: 0) is dasda .......
# dasdfmt -b 4096 -f /dev/dasda (Format the drive)
Type “yes” to continue, no will leave the disk untouched: yes
Formatting may take a while; ours took about 10 minutes.
68
We then used fdasd to partition
the drive into a large partition (for root) and a small swap partition. You might notice that fdasd
is a close relative of fdisk:
# fdasd /dev/dasda
n (Add a partition)
2 - 45000 (Tracks for the large partition)
n (Add another partition)
68
We had problems when we tried to repeat the dasdfmt step during a later installation. The dasdfmt program was
unable to write the IPL record and the target disk was unusable. We found it necessary to stop FLEX-ES, reformat
the volume (with the FLEX-ES ckdfmt program), and go through the whole SuSE initialization again before we could
run dasdfmt again. We suggest that you do not try to dasdfmt a volume a second time. You can repartition it with
fdasd without using dasdfmt again.
Chapter 9. Installing Linux for S/390 139
45001 - 50084 (Tracks for the small partition)
t (Change partition type)
2 (Type 2 is Linux swap)
p (Display partitions)
w (Write partition table and exit)
# exit (Exit from telnet session; close window)
After completing the fdisk step, we exited from the telnet window. We clicked Accept on the
YaST DASD Module Parameter Setting panel. The partition size we used for swap, about
5000 tracks, was quite arbitrary. It is approximately 240 MB and seemed a reasonable size.
On the next YaST panel, we clicked New Installation and OK.
On the main YaST panel, we clicked on the word Partitioning that is just above a red
message in the center of the panel. This started the Expert Partitioner with the panel shown
in Figure 9-2. In this panel:
Select /dev/dasda1 and click edit.
In the edit panel select Format, File System Ext3, Mount Point /, and click OK.
Select /dev/dasda2 and click edit.
In the edit panel select Format, swap, and click OK.
Click Next on the Expert Partitioner panel.
This exited from the Expert Partitioner.
Figure 9-2 Expert Partitioner

Get S/390 PartnerWorld for Developers, ITSO/EFS Project EFS Systems on a Linux Base: Additional Topics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.