On Thu, 30 Apr 2015 07:11:58 +0000 Keith Gooding <[email protected]> wrote:
> Hi all, > I seem to recall that someone asked some time ago whether it was > possible to create DVD which could be used from the HMC to IPL a z/VM > system into an LPAR (in the same way that the z/VM installer works). since I heard that question now the second time within weeks, here is an outline how this would actually work (not tested yet, did not have time for that). For HMC bootable DVD, what you need is a DVD with a .ins file. On SLES DVD1, this is commonly suse.ins. That file points to some other files, namely - a kernel - a matching initramfs - a parmfile the other parameters are likely to not matter if you create an initrd with reasonable size. The easiest way to proceed is to use the existing kernel: boot/s390x/linux Then, keep initrd.off and initrd.siz Modify the parmfile to your needs (if needed) Do the actual work on the initrd. 1. cp boot/s390x/initrd /tmp/initrd.xz 2. unxz /tmp/initrd.xz 3. mkdir /tmp/cpio 4. cd /tmp/cpio 5. cpio -i < ../initrd 6. do whatever you want in that directory to modify 7. cd /tmp/cpio 8. find . | cpio -H newc -o > ../newinitrd 9. cd /tmp 10. xz ninitrd 11. cp ninitrd.xz <cd_dir>/boot/s390x/initrd After you burn those files to a new CD at the right place, I would believe that this should boot from HMC. Again, this is untested... so some changes might have to be done ... Berthold -- ---------------------------------------------------------------------- Berthold Gunreben Build Service Team http://www.suse.de/ Maxfeldstr. 5 SUSE LINUX Products GmbH D-90409 Nuernberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB 16746 (AG Nürnberg) ---------------------------------------------------------------------- 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/
