> No, the only place I have them defined is in the USER DIR. Where do I put > swapgen exec.
Assuming all your Linux guests are similar, and that they all IPL from the same virtual address (150 in this example): 1) Create a userid called COMMON and give it a 1-cyl minidisk at 191. 2) log into COMMON, and FORMAT 191 3) Create a PROFILE EXEC on COMMON 191 that looks something like this: /* REXX */ 'say 'Formatting swap disks' 'SWAPGEN xxxxxxxx' /* replace xxxxxxx with correct swapgen parms */ 'SET CMSTYPE HT' u = userid() 'STATE' u 'EXEC A' If rc ^= 28 then do 'EXEC' u 'EXEC A' end say 'Booting Linux' 'CP IPL 150' 4) On each Linux guest directory entry add the following LINK COMMON 191 191 RR LINK MAINT 190 190 RR (if it isn't already there) And change the IPL card to: IPL CMS PARM AUTOCR 5) shut down the Linux guest, log it off, then log it back on. You should see CMS autostart, SWAPGEN formatting your swap disks, and then the normal Linux startup messages. 6) repeat 4 and 5 for each of your Linux guests. The reason for the COMMON id is to have only one place to make changes, and you can also change things and then stage them into production because the Linux guests only have read access to it. Any changes you make won't take effect until next time each Linux guest IPLs. If you need to customize stuff, you create a <userid> EXEC on COMMON 191 and you put all the custom bits for that guest in <userid> EXEC without messing up the others. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
