You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<2> For the `ip` parameter, manually assign the IP address, as described in _Installing a cluster with z/VM on IBM Z and IBM LinuxONE_.
35
35
<3> For installations on DASD-type disks, use `rd.dasd` to specify the DASD where {op-system-first} is to be installed. For installations on FCP-type disks, use `rd.zfcp=<adapter>,<wwpn>,<lun>` to specify the FCP disk where {op-system} is to be installed.
36
36
<4> Specify this parameter when you use an Open Systems Adapter (OSA) or HiperSockets.
37
-
38
-
. Generate the `.ins` and `initrd.img.addrsize` files by running the following Python script:
39
-
+
40
-
The `.ins` file is a special file that includes installation data and is present on the FTP server. It can be accessed from the HMC system.
41
-
This file contains details such as mapping of the location of installation data on the disk or FTP server, the memory locations where the data is to be copied.
42
37
+
43
38
[NOTE]
44
39
====
45
-
The `.ins` and `initrd.img.addrsize` files are not automatically generated as part of boot-artifacts from the installer. You must manually generate these files.
40
+
The `.ins` and `initrd.img.addrsize` files are automatically generated for `s390x` architecture as part of boot-artifacts from the installation program and are only used when booting in an LPAR environment.
46
41
====
47
-
48
-
.. Save the following script to a file, such as `generate-files.py`:
49
-
+
50
-
.Example of a Python file named `generate-files.py` file
51
-
[source,python]
52
-
----
53
-
# The following commands retrieve the size of the `kernel` and `initrd`:
54
-
KERNEL_IMG_PATH='./kernel.img'
55
-
INITRD_IMG_PATH='./initrd.img'
56
-
CMDLINE_PATH='./generic.prm'
57
-
kernel_size=(stat -c%s KERNEL_IMG_PATH)
58
-
initrd_size=(stat -c%s INITRD_IMG_PATH)
59
-
# The following command rounds the `kernel` size up to the next megabytes (MB) boundary.
60
-
# This value is the starting address of `initrd.img`.
# The file is based on the paths of the `kernel.img`, `initrd.img`, `initrd.img.addrsize`, and `cmdline` files and the memory locations where the data is to be copied.
76
-
KERNEL_IMG_PATH KERNEL_OFFSET
77
-
INITRD_IMG_PATH OFFSET_HEX
78
-
INITRD_IMG_NAME.addrsize INITRD_ADDR_SIZE_OFFSET
79
-
CMDLINE_PATH KERNEL_CMDLINE_OFFSET
80
-
----
81
-
82
-
.. Execute the script by running the following command:
83
42
+
43
+
.Example filesystem with LPAR boot
84
44
[source,terminal]
85
45
----
86
-
$ python3 <file_name>.py
46
+
boot-artifacts
47
+
├─ agent.s390x-generic.ins
48
+
├─ agent.s390x-initrd.addrsize
49
+
├─ agent.s390x-rootfs.img
50
+
└─ agent.s390x-kernel.img
51
+
└─ agent.s390x-rootfs.img
87
52
----
88
53
89
54
. Transfer the `initrd`, `kernel`, `generic.ins`, and `initrd.img.addrsize` parameter files to the file server. For more information, see link:https://www.ibm.com/docs/en/linux-on-systems?topic=bl-booting-linux-in-lpar-mode[Booting Linux in LPAR mode] (IBM documentation).
0 commit comments