Demande de BPCE (G Duquesne) d'aide à l'installation de Alpine Linux en LPAR native.

Pas de problème particulier sous z/VM ou KVM, mais le [wiki](https://wiki.alpinelinux.org/wiki/S390x/Installation#z/VM) est pas très complet pour les LPARs natives.

@Malcolm Beattie a posté une solution suite à ma demande sur le canal Slack #linux_on_z 


I don't usually go through a full Alpine install in LPAR but I use it as the basis for a TEL offering so I know it runs fine in LPAR as well as under z/VM. I suggest just getting the thing booted and then you can set up the networking and disk details and run the installer manually.  
Grab vmlinuz-lts and initramfs-lts from [https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/s390x/netboot/](https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/s390x/netboot/) . (If you need extra modules you may end up needing modloop-lts but hope you don't for now.)  
I can't see an Alpine .ins file downloadable (though I thought there was one somewhere) but you can create from scratch as follows. Create mylpar.ins containing  

* My Alpine install
vmlinuz-lts 0x00000000
initrd.off 0x0001040c
initramfs.siz 0x00010414
mylpar.parm 0x00010480
initramfs-lts 0x01000000

Create initrd.off and initramfs.siz with the raw binary memory offset (fixed 0x01000000 and size of ramdisk file respectively), e.g.  
`perl -e 'print pack("N", (stat("initramfs-lts"))[7])' > initramfs.siz`  
`perl -e 'print pack("N", 0x01000000)' > initrd.off`  
Create mylpar.parm containing  

cio_ignore=all console=ttysclp= sclp_con_pages=256

(Omit the cio_ignore=all only if you're **sure** the people configuring the IOCDS have not made any devices visible to the LPAR that they don't want you to use.) Those files all need to get put in a directory served by ftp, ftps or sftp from a fileserver reachable from the HMC.  
For sftp (i.e. the OpenSSH one), ensure someone has run the HMC Manage SSH Keys task (from an ACSADMIN-equivalent HMC username) to point it at your sftp server so it fetches and registers the key fingerprint.  
Then (as normal SYSPROG-like role with access to the LPAR), start the Integrated ASCII console task for the LPAR, do a "Load from server" of that LPAR with the ftp/sftp/ftps method, IP address, userid, password of your file server and the path to the directory containing the .ins file.  
It'll fetch *.ins files (or, if not, you have a separate connectivity problem). Select the mylpar.ins you created (it'll show the comment line to confirm) and it'll boot up Alpine in the LPAR with your full screen VT console in the Integrated ASCII Console window and give you a shell. May need to  
export TERM=vt220  
if things make unwarranted assumptions about escape sequences being VT100ish. You can then use the usual utility commands to poke around, find your devices, bring them online, configure your IP address etc. For an Alpine install, it looks as though setup-alpine is supposed to be an interactive command to take you through the Alpine install process.