These are quick instructions on how to get Fedora Core development for s390
running with Hercules.
Go to ftp://download.fedora.redhat.com/pub/fedora/linux/core/development/s390/os/images/
Download these files :
- generic.prm
- initrd.img
- kernel.img
- tape0
- tape.tdf
Prepare :
=======
- Install : yum install hercules
- Create HD image : dasdinit -z /var/lib/hercules/linux.120 3390-3 lin000
- Copy downloaded files into /etc/hercules/
- Run : hercules-run
- Start installation : ipl 000C
Note that when running Hercules, all commands sent to the OS must be prefixed
by a dot. When not prefixed, commands are sent to Hercules itself (like "ipl").
OS installation :
===============
Which kind of network device do you intend to use:
.ctc
Enter the bus ID and the device number of your CCW devices:
.0.0.0600,0.0.0601
Enter the FQDN of your new Linux guest:
.s390.localdomain
Enter the IP address of your new Linux guest:
.192.168.200.3
Enter the network address of the new Linux guest:
.255.255.255.252
Enter the IP of your CTC / ESCON / IUCV point-to-point partner:
.192.168.200.4
Select which protocol should be used for the CTC interface:
.0
Enter your DNS server(s), separated by colons (:):
.192.168.1.1:192.168.1.2
Enter your DNS search domain(s) (if any), separated by colons (:):
.localdomain
Enter DASD range (e.g. 200-203 or 200,201,202,203):
.000-200
Use "telnet 192.168.200.3" and log in as "root" with no password (press enter).
The installation will start automatically.
Appendix :
Red Hat Enterprise Linux 4 steps :
================================
- Mount the installation CD and run "ipl /mnt/cdrom/generic.ins"
- Follow the same configuration steps as for Fedora Core above
Red Hat Linux 7.2 steps :
=======================
- Mount the installation CD and run "ipl /mnt/cdrom/redhat.ins"
or
- Copy all files from the os/images/ directory to /etc/hercules/
- Replace in hercules.cnf the line :
000C 3505 kernel.img generic.prm initrd.img autopad
with :
000C 3505 kernel.img redhat.prm initrd.img autopad
And :
0580 3420 /etc/hercules/tape.tdf
with :
0580 3420 /etc/hercules/redhat.tdf
- Commands :
ipl 000C
.s390.localdomain
.ctc0
.ctc0,0x600,0x601
.192.168.200.3
.192.168.200.4
.192.168.1.1
.localdomain
.120