Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Linux on a Mainframe on a PC (reposted with permission)]



----- Forwarded message from Paul Iadonisi <pri.gnhlug at iadonisi.to> -----

Date: Wed, 17 Apr 2002 13:30:34 -0400
To: gnhlug at zk3.dec.com
Subject: Linux on a Mainframe on a PC (reposted with permission)
User-Agent: Mutt/1.2.5.1i


Reposted from skipjack-list at redhat.com:
--------------------------------------------------------------------
If you want to check out how a mainframe Linux feels, you can use
ftp://ftp.redhat.com/pub/redhat/linux/rawhide/s390/ and the following
trivial to follow docu to get running on your x86 box. Let us know
about remaining bugs within Red Hat Linux or email us improvements on
the below text.

cu,

Florian La Roche



How to get the mainframe emulator "hercules" running Red Hat Linux:
- download ftp://ftp.redhat.com/pub/redhat/linux/rawhide/s390/
- read the docu and set up a server for the packages
- log into your x86 Red Hat Linux machine as root
- install the hercules rpm from "utils/hercules":
	rpm -Uvh hercules-2.15-1.cvs.0.04.i386.rpm
- copy all config files from this dir into /etc/hercules:
	cp hercules.* /etc/hercules
- copy tapekrnl.img and tapeinrd.img from your rawhide/s390/images download
  directory to your x86 Red Hat Linux machine and change the path in 
  /etc/hercules/hercules.ins
- Change the DNS and RPMSERVER lines in /etc/hercules/hercules.prm
  (you can skip this step, but you will have to type in the correct
   information later during the installation)
- create a harddisk (which is called dasd on mainframes):
	cd /etc/hercules
	dasdinit -z linux.120 3390-3 lin000
- start hercules:
	cd /etc/hercules
	./hercules.init
- enter hercules commands and send text to Linux by putting a "." at the
  beginning of a line
- "ipl" stands for booting on the mainframe and the hercules "ipl" command
  will use "/etc/hercules/hercules.ins" to startup the Red Hat Linux install
  environment
- On bootup the network is configured and telnetd/sshd are started. Now
  connect to your install environment and login as "root":
	telnet 192.168.200.3
- Start the installation (default setup takes 5 1/2 hours on a 1800 MHz AMD):
	rhsetup
- Restart hercules and enter the hercules command "ipl 120" to boot from
  your harddisk. The first time sshd starts, please be patient as it has to
  generate new keys. Maybe entropy is missing, so maybe start a
  "ping 192.168.200.3" from your x86 machine to generate some work/entropy
  on your mainframe.
- Connect via ssh to your Red Hat Linux system:
	ssh root at 192.168.200.3
- Feel at home under your own mainframe Linux which is not that much different
  from a x86 Linux. :-)
-- 
-Paul Iadonisi
 Senior System Administrator
 Red Hat Certified Engineer / Local Linux Lobbyist
 Ever see a penguin fly?  --  Try Linux.
 GPL all the way: Sell services, don't lease secrets

----- End forwarded message -----

-- 
-Paul Iadonisi
 Senior System Administrator
 Red Hat Certified Engineer / Local Linux Lobbyist
 Ever see a penguin fly?  --  Try Linux.
 GPL all the way: Sell services, don't lease secrets




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org