Merge lp:~fheimes/installation-guide/ubuntu-18.04-s390x-appendices_and_more into lp:~ubuntu-core-dev/installation-guide/ubuntu
- ubuntu-18.04-s390x-appendices_and_more
- Merge into ubuntu
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 548 | ||||||||
Proposed branch: | lp:~fheimes/installation-guide/ubuntu-18.04-s390x-appendices_and_more | ||||||||
Merge into: | lp:~ubuntu-core-dev/installation-guide/ubuntu | ||||||||
Diff against target: |
2313 lines (+1213/-234) 27 files modified
build/entities/common.ent (+2/-0) build/templates/docstruct.ent (+5/-3) doc/cheatsheet.xml (+8/-0) en/appendix/chroot-install.xml (+226/-41) en/appendix/files.xml (+35/-19) en/appendix/preseed.xml (+373/-45) en/boot-installer/intro-firmware.xml (+2/-1) en/boot-installer/trouble.xml (+4/-2) en/hardware/disk-storage.xml (+36/-0) en/hardware/hardware-supported.xml (+4/-3) en/howto/installation-howto.xml (+78/-20) en/install-methods/usb-setup/x86.xml (+4/-2) en/partitioning/device-names.xml (+35/-17) en/partitioning/partition-programs.xml (+4/-4) en/partitioning/schemes.xml (+1/-1) en/partitioning/sizing.xml (+3/-3) en/post-install/rescue.xml (+329/-50) en/preparing/non-debian-partitioning.xml (+6/-5) en/using-d-i/modules/localechooser.xml (+4/-2) en/using-d-i/modules/mdcfg.xml (+4/-2) en/using-d-i/modules/netcfg.xml (+5/-2) en/using-d-i/modules/network-console.xml (+4/-2) en/using-d-i/modules/partman-crypto.xml (+9/-3) en/using-d-i/modules/partman.xml (+7/-5) en/using-d-i/modules/pkgsel.xml (+5/-2) en/using-d-i/modules/s390/dasd.xml (+7/-0) en/using-d-i/modules/s390/fcp.xml (+13/-0) |
||||||||
To merge this branch: | bzr merge lp:~fheimes/installation-guide/ubuntu-18.04-s390x-appendices_and_more | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Core Development Team | Pending | ||
Review via email: mp+348331@code.launchpad.net |
Commit message
Adjusted and expanded info on IBM Z aka s390x starting with rescue,recovery mode up to the entire appendix;
especially preseed and debootstrap;
fixed some nested xml element usage, that prevents building pdfs under special circumstances
this also solves LP 1564788
Description of the change
worked on, updated and expanded:
- modified docstruct, to add s390x specific disk storage
- 8.7. Recovering a Broken System - en/post-
- fixed <note> element usage issues
Error: build of pdf failed with error code 1
Warning: The following formats failed to build: pdf
- figured out that nested <para> is not a good idea - html generation accepts that, but not tex,dvi,pdf
hard to find a bad nesting situation that happend while including one docbook file into another:
- A. Installation Howto - installation-
- A.1. Booting the installer
- A.2. Installation
- A.3. And finally…
- B.1. Introduction
- B.2. Using preseeding - ./en/appendix/
- B.3. Creating a preconfiguration file (no change)
- 2.1.6. Disk Storage (complete new sub-chapter)
adding en/hardware/
What about the other translations ? They pull-in en if no translation is available.
- ./en/using-
done - ./en/using-
adding en/using-
- Adding a separate s390x preseed example ?
- B.4. Contents of the preconfiguration file (for bionic)
- B.5. Advanced options
- Appendix C. Partitioning for Ubuntu
- C.1. Deciding on Ubuntu Partitions and Sizes
- C.2. The Directory Tree
- C.3. Recommended Partitioning Scheme
- C.4. Device Names in Linux - device-names.xml
- C.5. Ubuntu Partitioning Programs
- Appendix D. Random Bits
- D.1. Linux Devices
- D.2. Disk Space Needed for Tasks
- D.3. Disk Space Needed
- D.4. Installing Ubuntu from a Unix/Linux System
- nothing todo on: Appendix E. Administrivia and the rest
Preview Diff
1 | === modified file 'build/entities/common.ent' | |||
2 | --- build/entities/common.ent 2018-06-06 21:26:51 +0000 | |||
3 | +++ build/entities/common.ent 2018-06-21 13:42:34 +0000 | |||
4 | @@ -88,6 +88,8 @@ | |||
5 | 88 | <!-- Size of the basic installation --> | 88 | <!-- Size of the basic installation --> |
6 | 89 | <!ENTITY base-system-size "506"> | 89 | <!ENTITY base-system-size "506"> |
7 | 90 | <!ENTITY std-system-size "822"> | 90 | <!ENTITY std-system-size "822"> |
8 | 91 | <!ENTITY base-system-size-s390x "1064"> <!-- no idea where the above numbers come from, hence I defined a separate entity with my measurements for s390x --> | ||
9 | 92 | <!ENTITY std-system-size-s390x "1343"> <!-- no idea where the above numbers come from, hence I defined a separate entity with my measurements for s390x --> | ||
10 | 91 | <!-- Desktop environment task - GNOME --> | 93 | <!-- Desktop environment task - GNOME --> |
11 | 92 | <!ENTITY task-desktop-gnome-inst "2487"> | 94 | <!ENTITY task-desktop-gnome-inst "2487"> |
12 | 93 | <!ENTITY task-desktop-gnome-dl "765"> | 95 | <!ENTITY task-desktop-gnome-dl "765"> |
13 | 94 | 96 | ||
14 | === modified file 'build/templates/docstruct.ent' | |||
15 | --- build/templates/docstruct.ent 2015-12-19 21:18:18 +0000 | |||
16 | +++ build/templates/docstruct.ent 2018-06-21 13:42:34 +0000 | |||
17 | @@ -30,8 +30,9 @@ | |||
18 | 30 | <!ENTITY supported-powerpc.xml SYSTEM "##SRCPATH##/hardware/supported/powerpc.xml"> | 30 | <!ENTITY supported-powerpc.xml SYSTEM "##SRCPATH##/hardware/supported/powerpc.xml"> |
19 | 31 | <!ENTITY supported-s390.xml SYSTEM "##SRCPATH##/hardware/supported/s390.xml"> | 31 | <!ENTITY supported-s390.xml SYSTEM "##SRCPATH##/hardware/supported/s390.xml"> |
20 | 32 | <!ENTITY supported-sparc.xml SYSTEM "##SRCPATH##/hardware/supported/sparc.xml"> | 32 | <!ENTITY supported-sparc.xml SYSTEM "##SRCPATH##/hardware/supported/sparc.xml"> |
23 | 33 | <!ENTITY network-cards.xml SYSTEM "##SRCPATH##/hardware/network-cards.xml"> | 33 | <!ENTITY network-cards.xml SYSTEM "##SRCPATH##/hardware/network-cards.xml"> |
24 | 34 | <!ENTITY supported-peripherals.xml SYSTEM "##SRCPATH##/hardware/supported-peripherals.xml"> | 34 | <!ENTITY disk-storage.xml SYSTEM "##SRCPATH##/hardware/disk-storage.xml"> |
25 | 35 | <!ENTITY supported-peripherals.xml SYSTEM "##SRCPATH##/hardware/supported-peripherals.xml"> | ||
26 | 35 | <!ENTITY accessibility-hardware.xml SYSTEM "##SRCPATH##/hardware/accessibility.xml"> | 36 | <!ENTITY accessibility-hardware.xml SYSTEM "##SRCPATH##/hardware/accessibility.xml"> |
27 | 36 | <!ENTITY buying-hardware.xml SYSTEM "##SRCPATH##/hardware/buying-hardware.xml"> | 37 | <!ENTITY buying-hardware.xml SYSTEM "##SRCPATH##/hardware/buying-hardware.xml"> |
28 | 37 | <!ENTITY installation-media.xml SYSTEM "##SRCPATH##/hardware/installation-media.xml"> | 38 | <!ENTITY installation-media.xml SYSTEM "##SRCPATH##/hardware/installation-media.xml"> |
29 | @@ -94,12 +95,13 @@ | |||
30 | 94 | <!ENTITY boot-installer-accessibility.xml SYSTEM "##SRCPATH##/boot-installer/accessibility.xml"> | 95 | <!ENTITY boot-installer-accessibility.xml SYSTEM "##SRCPATH##/boot-installer/accessibility.xml"> |
31 | 95 | <!ENTITY boot-installer-trouble.xml SYSTEM "##SRCPATH##/boot-installer/trouble.xml"> | 96 | <!ENTITY boot-installer-trouble.xml SYSTEM "##SRCPATH##/boot-installer/trouble.xml"> |
32 | 96 | 97 | ||
34 | 97 | <!ENTITY using-d-i.xml SYSTEM "##SRCPATH##/using-d-i/using-d-i.xml"> | 98 | <!ENTITY using-d-i.xml SYSTEM "##SRCPATH##/using-d-i/using-d-i.xml"> |
35 | 98 | <!ENTITY using-d-i-components.xml SYSTEM "##SRCPATH##/using-d-i/components.xml"> | 99 | <!ENTITY using-d-i-components.xml SYSTEM "##SRCPATH##/using-d-i/components.xml"> |
36 | 99 | 100 | ||
37 | 100 | <!ENTITY module-localechooser.xml SYSTEM "##SRCPATH##/using-d-i/modules/localechooser.xml"> | 101 | <!ENTITY module-localechooser.xml SYSTEM "##SRCPATH##/using-d-i/modules/localechooser.xml"> |
38 | 101 | <!ENTITY module-s390-netdevice.xml SYSTEM "##SRCPATH##/using-d-i/modules/s390/netdevice.xml"> | 102 | <!ENTITY module-s390-netdevice.xml SYSTEM "##SRCPATH##/using-d-i/modules/s390/netdevice.xml"> |
39 | 102 | <!ENTITY module-s390-dasd.xml SYSTEM "##SRCPATH##/using-d-i/modules/s390/dasd.xml"> | 103 | <!ENTITY module-s390-dasd.xml SYSTEM "##SRCPATH##/using-d-i/modules/s390/dasd.xml"> |
40 | 104 | <!ENTITY module-s390-fcp.xml SYSTEM "##SRCPATH##/using-d-i/modules/s390/fcp.xml"> | ||
41 | 103 | <!ENTITY module-ddetect.xml SYSTEM "##SRCPATH##/using-d-i/modules/ddetect.xml"> | 105 | <!ENTITY module-ddetect.xml SYSTEM "##SRCPATH##/using-d-i/modules/ddetect.xml"> |
42 | 104 | <!ENTITY module-kbd-chooser.xml SYSTEM "##SRCPATH##/using-d-i/modules/kbd-chooser.xml"> | 106 | <!ENTITY module-kbd-chooser.xml SYSTEM "##SRCPATH##/using-d-i/modules/kbd-chooser.xml"> |
43 | 105 | <!ENTITY module-netcfg.xml SYSTEM "##SRCPATH##/using-d-i/modules/netcfg.xml"> | 107 | <!ENTITY module-netcfg.xml SYSTEM "##SRCPATH##/using-d-i/modules/netcfg.xml"> |
44 | 106 | 108 | ||
45 | === modified file 'doc/cheatsheet.xml' | |||
46 | --- doc/cheatsheet.xml 2015-12-19 21:18:18 +0000 | |||
47 | +++ doc/cheatsheet.xml 2018-06-21 13:42:34 +0000 | |||
48 | @@ -145,6 +145,14 @@ | |||
49 | 145 | A paragraph only interesting for Linux/arm64 users. | 145 | A paragraph only interesting for Linux/arm64 users. |
50 | 146 | </para> | 146 | </para> |
51 | 147 | 147 | ||
52 | 148 | <para arch="s390"> | ||
53 | 149 | A paragraph only interesting for Linux/s390 users. | ||
54 | 150 | </para> | ||
55 | 151 | |||
56 | 152 | <para arch="not-s390"> | ||
57 | 153 | A paragraph not interesting for Linux/s390 users. | ||
58 | 154 | </para> | ||
59 | 155 | |||
60 | 148 | <sect3 condition="bootable-from-hard-disk"> | 156 | <sect3 condition="bootable-from-hard-disk"> |
61 | 149 | A section pertaining only to computers which | 157 | A section pertaining only to computers which |
62 | 150 | can boot from their hard disk. | 158 | can boot from their hard disk. |
63 | 151 | 159 | ||
64 | === modified file 'en/appendix/chroot-install.xml' | |||
65 | --- en/appendix/chroot-install.xml 2016-04-18 21:37:25 +0000 | |||
66 | +++ en/appendix/chroot-install.xml 2018-06-21 13:42:34 +0000 | |||
67 | @@ -74,6 +74,8 @@ | |||
68 | 74 | # swapon /dev/<replaceable>sda5</replaceable> | 74 | # swapon /dev/<replaceable>sda5</replaceable> |
69 | 75 | </screen></informalexample> | 75 | </screen></informalexample> |
70 | 76 | 76 | ||
71 | 77 | <note><para>Instead of using a dedicated swap partition, you may omit the swap partition setup here and later just use a swap file instead.</para></note> | ||
72 | 78 | |||
73 | 77 | Mount one partition as <filename>/mnt/ubuntu</filename> (the | 79 | Mount one partition as <filename>/mnt/ubuntu</filename> (the |
74 | 78 | installation point, to be the root (<filename>/</filename>) filesystem | 80 | installation point, to be the root (<filename>/</filename>) filesystem |
75 | 79 | on your new system). The mount point name is strictly arbitrary, it is | 81 | on your new system). The mount point name is strictly arbitrary, it is |
76 | @@ -113,6 +115,7 @@ | |||
77 | 113 | </footnote>. Install <command>wget</command> and | 115 | </footnote>. Install <command>wget</command> and |
78 | 114 | <command>ar</command> if they aren't already on your current system, | 116 | <command>ar</command> if they aren't already on your current system, |
79 | 115 | then download and install <command>debootstrap</command>. | 117 | then download and install <command>debootstrap</command>. |
80 | 118 | If these steps are executed under &debian; you can simply do this by <userinput>apt install debootstrap</userinput>. | ||
81 | 116 | 119 | ||
82 | 117 | </para> | 120 | </para> |
83 | 118 | 121 | ||
84 | @@ -209,7 +212,56 @@ | |||
85 | 209 | Depending on the value of TERM, you may have to install the | 212 | Depending on the value of TERM, you may have to install the |
86 | 210 | <classname>ncurses-term</classname> package to get support for it. | 213 | <classname>ncurses-term</classname> package to get support for it. |
87 | 211 | 214 | ||
89 | 212 | </para> | 215 | <note><para> |
90 | 216 | If warnings occur like: | ||
91 | 217 | <informalexample><screen> | ||
92 | 218 | bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | ||
93 | 219 | </screen></informalexample> | ||
94 | 220 | The required localization files need to be generated: | ||
95 | 221 | <informalexample><screen> | ||
96 | 222 | # sudo locale-gen en_US.UTF-8 | ||
97 | 223 | Generating locales (this might take a while)... | ||
98 | 224 | en_US.UTF-8... done | ||
99 | 225 | Generation complete. | ||
100 | 226 | </screen></informalexample> | ||
101 | 227 | </para></note> | ||
102 | 228 | |||
103 | 229 | </para> | ||
104 | 230 | |||
105 | 231 | <sect3> | ||
106 | 232 | <title>Configure Apt</title> | ||
107 | 233 | <para> | ||
108 | 234 | |||
109 | 235 | Debootstrap will have created a very basic <filename>/etc/apt/sources.list</filename> that will allow installing | ||
110 | 236 | additional packages. However, it is suggested that you add some additional sources, | ||
111 | 237 | for example for source packages and security updates: | ||
112 | 238 | </para><para> | ||
113 | 239 | <informalexample><screen> | ||
114 | 240 | deb-src http://archive.ubuntu.com/ubuntu &releasename; main | ||
115 | 241 | |||
116 | 242 | deb http://security.ubuntu.com/ubuntu &releasename;-security main | ||
117 | 243 | deb-src http://security.ubuntu.com/ubuntu &releasename;-security main | ||
118 | 244 | </screen></informalexample> | ||
119 | 245 | </para><para> | ||
120 | 246 | Make sure to run <userinput>apt update</userinput> after you have | ||
121 | 247 | made changes to the sources list. | ||
122 | 248 | |||
123 | 249 | </para> | ||
124 | 250 | </sect3> | ||
125 | 251 | |||
126 | 252 | |||
127 | 253 | <sect3> | ||
128 | 254 | <title>Install additional packages</title> | ||
129 | 255 | <para> | ||
130 | 256 | |||
131 | 257 | Now it's required to install some additionally required packages, like makedev (needed for the next section): | ||
132 | 258 | <userinput>apt install makedev</userinput> | ||
133 | 259 | |||
134 | 260 | </para><para arch="s390"> | ||
135 | 261 | Or in case using the &architecture; architecture the mandatory s390-tools package: <userinput>apt install s390-tools</userinput> | ||
136 | 262 | |||
137 | 263 | </para> | ||
138 | 264 | </sect3> | ||
139 | 213 | 265 | ||
140 | 214 | <sect3> | 266 | <sect3> |
141 | 215 | <title>Create device files</title> | 267 | <title>Create device files</title> |
142 | @@ -230,13 +282,14 @@ | |||
143 | 230 | <itemizedlist> | 282 | <itemizedlist> |
144 | 231 | <listitem><para> | 283 | <listitem><para> |
145 | 232 | 284 | ||
148 | 233 | install the makedev package, and create a default set of static device files | 285 | create a default set of static device files using (after chrooting) |
147 | 234 | using (after chrooting) | ||
149 | 235 | <informalexample><screen> | 286 | <informalexample><screen> |
150 | 236 | # apt-get install makedev | ||
151 | 237 | # mount none /proc -t proc | 287 | # mount none /proc -t proc |
152 | 238 | # cd /dev | 288 | # cd /dev |
153 | 239 | # MAKEDEV generic | 289 | # MAKEDEV generic |
154 | 290 | or depending on your specific architecture: | ||
155 | 291 | # MAKEDEV std | ||
156 | 292 | # cd .. | ||
157 | 240 | </screen></informalexample> | 293 | </screen></informalexample> |
158 | 241 | 294 | ||
159 | 242 | </para></listitem> | 295 | </para></listitem> |
160 | @@ -244,12 +297,72 @@ | |||
161 | 244 | 297 | ||
162 | 245 | manually create only specific device files using <command>MAKEDEV</command> | 298 | manually create only specific device files using <command>MAKEDEV</command> |
163 | 246 | 299 | ||
164 | 300 | </para><para arch="s390"> | ||
165 | 301 | On &architecture; the DASD devices need to be created this way: | ||
166 | 302 | <informalexample><screen> | ||
167 | 303 | # cd /dev | ||
168 | 304 | # MAKEDEV dasd | ||
169 | 305 | # cd .. | ||
170 | 306 | </screen></informalexample> | ||
171 | 307 | |||
172 | 247 | </para></listitem> | 308 | </para></listitem> |
173 | 309 | <!-- this is an alternate method to create DASD devices --> | ||
174 | 310 | <!-- <listitem arch="s390"><para> | ||
175 | 311 | |||
176 | 312 | If using DASD devices a manual creation of the device node(s) might be needed. | ||
177 | 313 | For this the major/minor device number of the DASD that is going to be used is needed (for DASDs the major number is always 94): | ||
178 | 314 | Find this out on your host system with: | ||
179 | 315 | <informalexample><screen> | ||
180 | 316 | $ cat /proc/dasd/devices | grep dasdb | ||
181 | 317 | 0.0.260b(ECKD) at ( 94: 12) is dasdb : active at blocksize: 4096, 1803060 blocks, 7043 MB | ||
182 | 318 | </screen></informalexample> | ||
183 | 319 | |||
184 | 320 | With that the device nodes and partitions entries can be created: | ||
185 | 321 | <informalexample><screen> | ||
186 | 322 | # mknod -m 660 /dev/dasdb b 94 12 | ||
187 | 323 | # mknod -m 660 /dev/dasdb1 b 94 12 | ||
188 | 324 | # ls -l /dev/dasd* | ||
189 | 325 | brw-rw - - - - 1 root root 94, 12 Jun 20 04:45 /dev/dasdb | ||
190 | 326 | brw-rw - - - - 1 root root 94, 12 Jun 20 04:46 /dev/dasdb1 | ||
191 | 327 | </screen></informalexample> | ||
192 | 328 | |||
193 | 329 | It's recommended to do a quick check if the partition is accessible by: | ||
194 | 330 | <informalexample><screen> | ||
195 | 331 | # fdasd -ps /dev/dasdb | ||
196 | 332 | /dev/dasdb1 2 150254 150253 1 Linux native | ||
197 | 333 | </screen></informalexample> | ||
198 | 334 | </para></listitem> --> | ||
199 | 335 | |||
200 | 248 | <listitem><para> | 336 | <listitem><para> |
201 | 249 | 337 | ||
205 | 250 | bind mount /dev from your host system on top of /dev in the target system; | 338 | bind mount /dev from your host system on top of /dev in the target system, like: |
206 | 251 | note that the postinst scripts of some packages may try to create device | 339 | <informalexample><screen> |
207 | 252 | files, so this option should only be used with care | 340 | mount --bind dev /dev |
208 | 341 | </screen></informalexample> | ||
209 | 342 | Note that the postinst scripts of some packages may try to create device files, | ||
210 | 343 | so this option should only be used with care. | ||
211 | 344 | |||
212 | 345 | </para></listitem> | ||
213 | 346 | <listitem arch="s390"><para> | ||
214 | 347 | mount proc and sysfs | ||
215 | 348 | </para><para> | ||
216 | 349 | You can mount the proc and sysfs file systems multiple times and to arbitrary | ||
217 | 350 | locations, though <filename>/proc</filename> and <filename>/sys</filename> respectively are customary. | ||
218 | 351 | |||
219 | 352 | <informalexample><screen> | ||
220 | 353 | # mount -t proc proc /proc | ||
221 | 354 | # mount -t sysfs sysfs /sys | ||
222 | 355 | </screen></informalexample> | ||
223 | 356 | |||
224 | 357 | </para><para> | ||
225 | 358 | |||
226 | 359 | The command <userinput>ls /proc</userinput> should now show a non-empty | ||
227 | 360 | directory. Should this fail, you may be able to mount proc from outside | ||
228 | 361 | the chroot: | ||
229 | 362 | |||
230 | 363 | <informalexample><screen> | ||
231 | 364 | # mount -t proc proc /mnt/ubuntu/proc | ||
232 | 365 | </screen></informalexample> | ||
233 | 253 | 366 | ||
234 | 254 | </para></listitem> | 367 | </para></listitem> |
235 | 255 | </itemizedlist> | 368 | </itemizedlist> |
236 | @@ -257,6 +370,37 @@ | |||
237 | 257 | </para> | 370 | </para> |
238 | 258 | </sect3> | 371 | </sect3> |
239 | 259 | 372 | ||
240 | 373 | <sect3 arch="s390"> | ||
241 | 374 | <title>DASD Disks and Partitions</title> | ||
242 | 375 | <para> | ||
243 | 376 | Even if <command>lsdasd</command> already lists DASD devices: | ||
244 | 377 | <informalexample><screen> | ||
245 | 378 | # lsdasd | ||
246 | 379 | Bus-ID Status Name Device Type BlkSz Size Blocks | ||
247 | 380 | ============================================================================== | ||
248 | 381 | 0.0.1601 active dasda 94:0 ECKD 4096 7043MB 1803060 | ||
249 | 382 | 0.0.260a active dasdb 94:4 ECKD 4096 7043MB 1803060 | ||
250 | 383 | </screen></informalexample> | ||
251 | 384 | ...they - and other CCW devices like DASD, FCP oder QETH devices as well - cannot be fully and persistently used, yet. | ||
252 | 385 | <informalexample><screen> | ||
253 | 386 | # lszdev --online | head -n 1 && lszdev --online | grep dasd-eckd | ||
254 | 387 | TYPE ID ON PERS NAMES | ||
255 | 388 | dasd-eckd 0.0.0123 yes no dasda | ||
256 | 389 | dasd-eckd 0.0.1234 yes no dasdb | ||
257 | 390 | </screen></informalexample> | ||
258 | 391 | Here DASD 1234 is the one used for debootstrap. | ||
259 | 392 | Now make this particular DASD persistently active with the help of the usual <command>chzdev</command> tool: | ||
260 | 393 | <informalexample><screen> | ||
261 | 394 | # chzdev -e 1234 | ||
262 | 395 | ECKD DASD 0.0.1234 configured | ||
263 | 396 | # lszdev --online 1234 | ||
264 | 397 | TYPE ID ON PERS NAMES | ||
265 | 398 | dasd-eckd 0.0.1234 yes yes dasdb | ||
266 | 399 | </screen></informalexample> | ||
267 | 400 | Repeat similar steps for other CCW devices, like FCP, QETH devices or further DASD devices - if needed. | ||
268 | 401 | </para> | ||
269 | 402 | </sect3> | ||
270 | 403 | |||
271 | 260 | <sect3> | 404 | <sect3> |
272 | 261 | <title>Mount Partitions</title> | 405 | <title>Mount Partitions</title> |
273 | 262 | <para> | 406 | <para> |
274 | @@ -269,7 +413,7 @@ | |||
275 | 269 | 413 | ||
276 | 270 | Here is a sample you can modify to suit: | 414 | Here is a sample you can modify to suit: |
277 | 271 | 415 | ||
279 | 272 | <informalexample><screen> | 416 | <informalexample arch="not-s390"><screen> |
280 | 273 | # /etc/fstab: static file system information. | 417 | # /etc/fstab: static file system information. |
281 | 274 | # | 418 | # |
282 | 275 | # file system mount point type options dump pass | 419 | # file system mount point type options dump pass |
283 | @@ -289,6 +433,17 @@ | |||
284 | 289 | /dev/XXX /home ext3 rw,nosuid,nodev 0 2 | 433 | /dev/XXX /home ext3 rw,nosuid,nodev 0 2 |
285 | 290 | </screen></informalexample> | 434 | </screen></informalexample> |
286 | 291 | 435 | ||
287 | 436 | <informalexample arch="s390"><screen> | ||
288 | 437 | # /etc/fstab: static file system information. | ||
289 | 438 | # hand-crafted | ||
290 | 439 | # file system mount point type options dump pass | ||
291 | 440 | # | ||
292 | 441 | /dev/dasdb1 / ext4 defaults 0 1 | ||
293 | 442 | |||
294 | 443 | /swapfile none swap sw 0 0 | ||
295 | 444 | </screen></informalexample> | ||
296 | 445 | |||
297 | 446 | |||
298 | 292 | Use <userinput>mount -a</userinput> to mount all the file systems you | 447 | Use <userinput>mount -a</userinput> to mount all the file systems you |
299 | 293 | have specified in your <filename>/etc/fstab</filename>, or, to mount | 448 | have specified in your <filename>/etc/fstab</filename>, or, to mount |
300 | 294 | file systems individually, use: | 449 | file systems individually, use: |
301 | @@ -309,6 +464,8 @@ | |||
302 | 309 | # ln -s media/cdrom | 464 | # ln -s media/cdrom |
303 | 310 | </screen></informalexample> | 465 | </screen></informalexample> |
304 | 311 | 466 | ||
305 | 467 | </para><para arch="not-s390"> | ||
306 | 468 | |||
307 | 312 | You can mount the proc and sysfs file systems multiple times and to arbitrary | 469 | You can mount the proc and sysfs file systems multiple times and to arbitrary |
308 | 313 | locations, though <filename>/proc</filename> and <filename>/sys</filename> respectively are customary. If you didn't use | 470 | locations, though <filename>/proc</filename> and <filename>/sys</filename> respectively are customary. If you didn't use |
309 | 314 | <userinput>mount -a</userinput>, be sure to mount proc and sysfs before continuing: | 471 | <userinput>mount -a</userinput>, be sure to mount proc and sysfs before continuing: |
310 | @@ -365,7 +522,7 @@ | |||
311 | 365 | <para> | 522 | <para> |
312 | 366 | 523 | ||
313 | 367 | To configure networking, edit | 524 | To configure networking, edit |
315 | 368 | <filename>/etc/network/interfaces</filename>, | 525 | <filename>/etc/network/interfaces</filename>, <!-- FIXME: may need to be adapted to netplan for Ubuntu --> |
316 | 369 | <filename>/etc/resolv.conf</filename>, | 526 | <filename>/etc/resolv.conf</filename>, |
317 | 370 | <filename>/etc/hostname</filename> and | 527 | <filename>/etc/hostname</filename> and |
318 | 371 | <filename>/etc/hosts</filename>. | 528 | <filename>/etc/hosts</filename>. |
319 | @@ -450,28 +607,6 @@ | |||
320 | 450 | </sect3> | 607 | </sect3> |
321 | 451 | 608 | ||
322 | 452 | <sect3> | 609 | <sect3> |
323 | 453 | <title>Configure Apt</title> | ||
324 | 454 | <para> | ||
325 | 455 | |||
326 | 456 | Debootstrap will have created a very basic | ||
327 | 457 | <filename>/etc/apt/sources.list</filename> that will allow installing | ||
328 | 458 | additional packages. However, it is suggested that you add some additional sources, | ||
329 | 459 | for example for source packages and security updates: | ||
330 | 460 | |||
331 | 461 | <informalexample><screen> | ||
332 | 462 | deb-src http://archive.ubuntu.com/ubuntu &releasename; main | ||
333 | 463 | |||
334 | 464 | deb http://security.ubuntu.com/ubuntu &releasename;-security main | ||
335 | 465 | deb-src http://security.ubuntu.com/ubuntu &releasename;-security main | ||
336 | 466 | </screen></informalexample> | ||
337 | 467 | |||
338 | 468 | Make sure to run <userinput>aptitude update</userinput> after you have | ||
339 | 469 | made changes to the sources list. | ||
340 | 470 | |||
341 | 471 | </para> | ||
342 | 472 | </sect3> | ||
343 | 473 | |||
344 | 474 | <sect3> | ||
345 | 475 | <title>Configure Locales and Keyboard</title> | 610 | <title>Configure Locales and Keyboard</title> |
346 | 476 | <para> | 611 | <para> |
347 | 477 | 612 | ||
348 | @@ -480,13 +615,13 @@ | |||
349 | 480 | Currently the use of UTF-8 locales is recommended. | 615 | Currently the use of UTF-8 locales is recommended. |
350 | 481 | 616 | ||
351 | 482 | <informalexample><screen> | 617 | <informalexample><screen> |
353 | 483 | # aptitude install language-pack-de language-pack-gnome-de | 618 | # apt install language-pack-de language-pack-gnome-de |
354 | 484 | </screen></informalexample> | 619 | </screen></informalexample> |
355 | 485 | 620 | ||
356 | 486 | To configure your keyboard (if needed): | 621 | To configure your keyboard (if needed): |
357 | 487 | 622 | ||
358 | 488 | <informalexample><screen> | 623 | <informalexample><screen> |
360 | 489 | # aptitude install console-setup | 624 | # apt install console-setup |
361 | 490 | # dpkg-reconfigure keyboard-configuration | 625 | # dpkg-reconfigure keyboard-configuration |
362 | 491 | </screen></informalexample> | 626 | </screen></informalexample> |
363 | 492 | 627 | ||
364 | @@ -515,8 +650,9 @@ | |||
365 | 515 | Then install the kernel package of your choice using its package name. | 650 | Then install the kernel package of your choice using its package name. |
366 | 516 | 651 | ||
367 | 517 | <informalexample><screen> | 652 | <informalexample><screen> |
369 | 518 | # aptitude install &kernelpackage;-<replaceable>arch-etc</replaceable> | 653 | # apt install &kernelpackage;-<replaceable>arch-etc</replaceable> |
370 | 519 | </screen></informalexample> | 654 | </screen></informalexample> |
371 | 655 | (You may want install <filename>linux-image-generic</filename>, too.) | ||
372 | 520 | 656 | ||
373 | 521 | </para> | 657 | </para> |
374 | 522 | </sect2> | 658 | </sect2> |
375 | @@ -528,7 +664,7 @@ | |||
376 | 528 | To make your &debian-gnu; system bootable, set up your boot loader to load | 664 | To make your &debian-gnu; system bootable, set up your boot loader to load |
377 | 529 | the installed kernel with your new root partition. Note that | 665 | the installed kernel with your new root partition. Note that |
378 | 530 | <command>debootstrap</command> does not install a boot loader, though you | 666 | <command>debootstrap</command> does not install a boot loader, though you |
380 | 531 | can use <command>aptitude</command> inside your &debian; chroot to do so. | 667 | can use <command>apt</command> inside your &debian; chroot to do so. |
381 | 532 | 668 | ||
382 | 533 | </para><para arch="any-x86"> | 669 | </para><para arch="any-x86"> |
383 | 534 | 670 | ||
384 | @@ -552,7 +688,7 @@ | |||
385 | 552 | Installing and setting up <classname>grub2</classname> is as easy as: | 688 | Installing and setting up <classname>grub2</classname> is as easy as: |
386 | 553 | 689 | ||
387 | 554 | <informalexample><screen> | 690 | <informalexample><screen> |
389 | 555 | # aptitude install grub-pc | 691 | # apt install grub-pc |
390 | 556 | # grub-install /dev/<replaceable>sda</replaceable> | 692 | # grub-install /dev/<replaceable>sda</replaceable> |
391 | 557 | # update-grub | 693 | # update-grub |
392 | 558 | </screen></informalexample> | 694 | </screen></informalexample> |
393 | @@ -561,7 +697,7 @@ | |||
394 | 561 | the MBR of <literal>sda</literal>). The last command will create a sane | 697 | the MBR of <literal>sda</literal>). The last command will create a sane |
395 | 562 | and working <filename>/boot/grub/grub.cfg</filename>. | 698 | and working <filename>/boot/grub/grub.cfg</filename>. |
396 | 563 | 699 | ||
398 | 564 | </para><para> | 700 | </para><para arch="not-s390"> |
399 | 565 | 701 | ||
400 | 566 | Note that this assumes that a <filename>/dev/sda</filename> device file has | 702 | Note that this assumes that a <filename>/dev/sda</filename> device file has |
401 | 567 | been created. There are alternative methods to install <command>grub2</command>, | 703 | been created. There are alternative methods to install <command>grub2</command>, |
402 | @@ -610,6 +746,55 @@ | |||
403 | 610 | On some machines, you may need to use <userinput>ide0:</userinput> | 746 | On some machines, you may need to use <userinput>ide0:</userinput> |
404 | 611 | instead of <userinput>hd:</userinput>. | 747 | instead of <userinput>hd:</userinput>. |
405 | 612 | 748 | ||
406 | 749 | </para><para arch="s390"> | ||
407 | 750 | The <quote>zipl</quote> bootloader is part of the <quote>s390-tools</quote> package that was installed earlier. | ||
408 | 751 | Check <userinput>man zipl.conf</userinput> for instructions on setting up the bootloader. | ||
409 | 752 | Either create a <filename>zipl.conf</filename> configuration from scratch or copy over and modify the existing one. | ||
410 | 753 | |||
411 | 754 | </para><para arch="s390"> | ||
412 | 755 | |||
413 | 756 | Here is a basic <filename>/etc/zipl.conf</filename> as an example: | ||
414 | 757 | |||
415 | 758 | <informalexample><screen> | ||
416 | 759 | [defaultboot] | ||
417 | 760 | defaultmenu = menu | ||
418 | 761 | |||
419 | 762 | :menu | ||
420 | 763 | target = /boot | ||
421 | 764 | 1 = ubuntu | ||
422 | 765 | default = 1 | ||
423 | 766 | |||
424 | 767 | [ubuntu] | ||
425 | 768 | target = /boot | ||
426 | 769 | image = /boot/vmlinuz | ||
427 | 770 | ramdisk = /boot/initrd.img | ||
428 | 771 | parameters = root=/dev/dasdb1 | ||
429 | 772 | </screen></informalexample> | ||
430 | 773 | |||
431 | 774 | Since the <filename>kernel</filename> and <filename>initrd</filename> filesnames in <filename>/boot</filename> are versioned, | ||
432 | 775 | it's recommended to link them to non-versioned default names, like: | ||
433 | 776 | <informalexample><screen> | ||
434 | 777 | # ln -s /boot/vmlinuz-4.15.0-23-generic /boot/vmlinuz | ||
435 | 778 | # ln -s /boot/initrd.img-4.15.0-23-generic /boot/initrd.img | ||
436 | 779 | |||
437 | 780 | # ls -la /boot/vmlinuz* /boot/initrd.img* | ||
438 | 781 | lrwxrwxrwx 1 root root 28 Jun 20 07:31 /boot/initrd.img -> initrd.img-<version>-generic | ||
439 | 782 | -rw-r--r-- 1 root root 11245088 Jun 20 07:14 /boot/initrd.img-<version>-generic | ||
440 | 783 | lrwxrwxrwx 1 root root 25 Jun 20 07:31 /boot/vmlinuz -> vmlinuz-<version>-generic | ||
441 | 784 | -rw------- 1 root root 4390912 May 23 12:54 /boot/vmlinuz-<version>-generic | ||
442 | 785 | </screen></informalexample> | ||
443 | 786 | |||
444 | 787 | Finally don't forget to execute the <command>zipl</command> command for writing the configuration to disk: | ||
445 | 788 | <informalexample><screen> | ||
446 | 789 | # zipl | ||
447 | 790 | Using config file '/etc/zipl.conf' | ||
448 | 791 | Building bootmap in '/boot' | ||
449 | 792 | Building menu 'menu' | ||
450 | 793 | Adding #1: IPL section 'ubuntu' (default) | ||
451 | 794 | Preparing boot device: dasdb (<your dasd device number>). | ||
452 | 795 | Done. | ||
453 | 796 | </screen></informalexample> | ||
454 | 797 | |||
455 | 613 | </para> | 798 | </para> |
456 | 614 | </sect2> | 799 | </sect2> |
457 | 615 | 800 | ||
458 | @@ -622,10 +807,9 @@ | |||
459 | 622 | SSH and set up access. | 807 | SSH and set up access. |
460 | 623 | 808 | ||
461 | 624 | <informalexample><screen> | 809 | <informalexample><screen> |
463 | 625 | # aptitude install ssh | 810 | # apt install openssh-server <!-- FIXME: was formerly 'ssh' - no condition available to limit text to ubuntu-only or not-debian --> |
464 | 626 | </screen></informalexample> | 811 | </screen></informalexample> |
465 | 627 | 812 | ||
466 | 628 | |||
467 | 629 | Root login with password is disabled by default, so setting up access can be | 813 | Root login with password is disabled by default, so setting up access can be |
468 | 630 | done by setting a password and re-enable root login with password: | 814 | done by setting a password and re-enable root login with password: |
469 | 631 | 815 | ||
470 | @@ -667,10 +851,11 @@ | |||
471 | 667 | to install all packages with <quote>standard</quote> priority: | 851 | to install all packages with <quote>standard</quote> priority: |
472 | 668 | 852 | ||
473 | 669 | <informalexample><screen> | 853 | <informalexample><screen> |
474 | 854 | # apt install tasksel | ||
475 | 670 | # tasksel install standard | 855 | # tasksel install standard |
476 | 671 | </screen></informalexample> | 856 | </screen></informalexample> |
477 | 672 | 857 | ||
479 | 673 | Of course, you can also just use <command>aptitude</command> to install | 858 | Of course, you can also just use <command>apt</command> to install |
480 | 674 | packages individually. | 859 | packages individually. |
481 | 675 | 860 | ||
482 | 676 | </para><para> | 861 | </para><para> |
483 | @@ -680,7 +865,7 @@ | |||
484 | 680 | diskspace by running: | 865 | diskspace by running: |
485 | 681 | 866 | ||
486 | 682 | <informalexample><screen> | 867 | <informalexample><screen> |
488 | 683 | # aptitude clean | 868 | # apt clean |
489 | 684 | </screen></informalexample> | 869 | </screen></informalexample> |
490 | 685 | 870 | ||
491 | 686 | </para> | 871 | </para> |
492 | 687 | 872 | ||
493 | === modified file 'en/appendix/files.xml' | |||
494 | --- en/appendix/files.xml 2016-04-18 21:54:24 +0000 | |||
495 | +++ en/appendix/files.xml 2018-06-21 13:42:34 +0000 | |||
496 | @@ -16,7 +16,7 @@ | |||
497 | 16 | 16 | ||
498 | 17 | </para><para> | 17 | </para><para> |
499 | 18 | 18 | ||
501 | 19 | <informaltable><tgroup cols="2"><tbody> | 19 | <informaltable arch="not-s390"><tgroup cols="2"><tbody> |
502 | 20 | <row> | 20 | <row> |
503 | 21 | <entry><filename>fd0</filename></entry> | 21 | <entry><filename>fd0</filename></entry> |
504 | 22 | <entry>First Floppy Drive</entry> | 22 | <entry>First Floppy Drive</entry> |
505 | @@ -29,20 +29,36 @@ | |||
506 | 29 | <informaltable><tgroup cols="2"><tbody> | 29 | <informaltable><tgroup cols="2"><tbody> |
507 | 30 | <row> | 30 | <row> |
508 | 31 | <entry><filename>sda</filename></entry> | 31 | <entry><filename>sda</filename></entry> |
510 | 32 | <entry>First hard disk</entry> | 32 | <entry>First <phrase arch="s390">SCSI/FCP </phrase>hard disk</entry> |
511 | 33 | </row><row> | 33 | </row><row> |
512 | 34 | <entry><filename>sdb</filename></entry> | 34 | <entry><filename>sdb</filename></entry> |
514 | 35 | <entry>Second hard disk</entry> | 35 | <entry>Second <phrase arch="s390">SCSI/FCP </phrase>hard disk</entry> |
515 | 36 | </row><row> | 36 | </row><row> |
516 | 37 | <entry><filename>sda1</filename></entry> | 37 | <entry><filename>sda1</filename></entry> |
518 | 38 | <entry>First partition of the first hard disk</entry> | 38 | <entry>First partition of the first <phrase arch="s390">SCSI/FCP </phrase>hard disk</entry> |
519 | 39 | </row><row> | 39 | </row><row> |
520 | 40 | <entry><filename>sdb7</filename></entry> | 40 | <entry><filename>sdb7</filename></entry> |
526 | 41 | <entry>Seventh partition of the second hard disk</entry> | 41 | <entry>Seventh partition of the second <phrase arch="s390">SCSI/FCP </phrase>hard disk</entry> |
527 | 42 | </row> | 42 | </row> |
528 | 43 | </tbody></tgroup></informaltable> | 43 | </tbody></tgroup></informaltable> |
529 | 44 | 44 | ||
530 | 45 | <informaltable><tgroup cols="2"><tbody> | 45 | <informaltable arch="s390"><tgroup cols="2"><tbody> |
531 | 46 | <row> | ||
532 | 47 | <entry><filename>dasda</filename></entry> | ||
533 | 48 | <entry>First DASD disk</entry> | ||
534 | 49 | </row><row> | ||
535 | 50 | <entry><filename>dasdb</filename></entry> | ||
536 | 51 | <entry>Second DASD disk</entry> | ||
537 | 52 | </row><row> | ||
538 | 53 | <entry><filename>dasda1</filename></entry> | ||
539 | 54 | <entry>First partition of the first DASD disk</entry> | ||
540 | 55 | </row><row> | ||
541 | 56 | <entry><filename>dasdb7</filename></entry> | ||
542 | 57 | <entry>Seventh partition of the second DASD disk</entry> | ||
543 | 58 | </row> | ||
544 | 59 | </tbody></tgroup></informaltable> | ||
545 | 60 | |||
546 | 61 | <informaltable arch="not-s390"><tgroup cols="2"><tbody> | ||
547 | 46 | <row> | 62 | <row> |
548 | 47 | <entry><filename>sr0</filename></entry> | 63 | <entry><filename>sr0</filename></entry> |
549 | 48 | <entry>First CD-ROM</entry> | 64 | <entry>First CD-ROM</entry> |
550 | @@ -52,7 +68,7 @@ | |||
551 | 52 | </row> | 68 | </row> |
552 | 53 | </tbody></tgroup></informaltable> | 69 | </tbody></tgroup></informaltable> |
553 | 54 | 70 | ||
555 | 55 | <informaltable><tgroup cols="2"><tbody> | 71 | <informaltable arch="not-s390"><tgroup cols="2"><tbody> |
556 | 56 | <row> | 72 | <row> |
557 | 57 | <entry><filename>ttyS0</filename></entry> | 73 | <entry><filename>ttyS0</filename></entry> |
558 | 58 | <entry>Serial port 0, COM1 under MS-DOS</entry> | 74 | <entry>Serial port 0, COM1 under MS-DOS</entry> |
559 | @@ -71,8 +87,8 @@ | |||
560 | 71 | <informaltable><tgroup cols="2"><tbody> | 87 | <informaltable><tgroup cols="2"><tbody> |
561 | 72 | <row> | 88 | <row> |
562 | 73 | <entry><filename>cdrom</filename></entry> | 89 | <entry><filename>cdrom</filename></entry> |
565 | 74 | <entry>Symbolic link to the CD-ROM drive</entry> | 90 | <entry>Symbolic link to the <phrase arch="s390">(virtual) </phrase>CD-ROM drive</entry> |
566 | 75 | </row><row> | 91 | </row><row arch="not-s390"> |
567 | 76 | <entry><filename>mouse</filename></entry> | 92 | <entry><filename>mouse</filename></entry> |
568 | 77 | <entry>Symbolic link to the mouse device file</entry> | 93 | <entry>Symbolic link to the mouse device file</entry> |
569 | 78 | </row> | 94 | </row> |
570 | @@ -176,10 +192,10 @@ | |||
571 | 176 | <title>Disk Space Needed for Tasks</title> | 192 | <title>Disk Space Needed for Tasks</title> |
572 | 177 | <para> | 193 | <para> |
573 | 178 | 194 | ||
578 | 179 | A standard installation for the amd64 architecture, including all standard | 195 | A standard installation for the <phrase arch="not-s390">amd64</phrase><phrase arch="s390">&architecture;</phrase> architecture, including all standard |
579 | 180 | packages and using the default kernel, takes up &std-system-size;MB of disk space. | 196 | packages and using the default kernel, takes up <phrase arch="not-s390">&std-system-size;</phrase><phrase arch="s390">&std-system-size-s390x;</phrase>MB of disk space. |
580 | 181 | A minimal base installation, without the <quote>Standard system</quote> | 197 | A minimal base installation, without the <quote>Basic &debian; server</quote> |
581 | 182 | task selected, will take &base-system-size;MB. | 198 | task selected, will take <phrase arch="not-s390">&base-system-size;</phrase><phrase arch="s390">&base-system-size-s390x;</phrase>MB. |
582 | 183 | 199 | ||
583 | 184 | </para> | 200 | </para> |
584 | 185 | <important><para> | 201 | <important><para> |
585 | @@ -315,9 +331,9 @@ | |||
586 | 315 | <title>Disk Space Needed</title> | 331 | <title>Disk Space Needed</title> |
587 | 316 | <para> | 332 | <para> |
588 | 317 | 333 | ||
592 | 318 | A minimal server installation of &releasename; requires 400MB of disk space. | 334 | A minimal server installation of &releasename; requires <phrase arch="not-s390">400MB</phrase><phrase arch="s390">1.1GB</phrase> of disk space. |
593 | 319 | <phrase condition="supports-desktop">The standard Ubuntu desktop installation | 335 | <phrase arch="s390">However, it's recommended to add some extra space. Better plan with at least 2GB for the operating system plus 1GB as room for growth.</phrase> |
594 | 320 | requires 2GB.</phrase> | 336 | <phrase condition="supports-desktop">The standard Ubuntu desktop installation requires 2GB.</phrase> |
595 | 321 | 337 | ||
596 | 322 | </para> | 338 | </para> |
597 | 323 | </sect1> | 339 | </sect1> |
598 | 324 | 340 | ||
599 | === modified file 'en/appendix/preseed.xml' | |||
600 | --- en/appendix/preseed.xml 2016-04-18 21:37:25 +0000 | |||
601 | +++ en/appendix/preseed.xml 2018-06-21 13:42:34 +0000 | |||
602 | @@ -72,28 +72,44 @@ | |||
603 | 72 | </thead> | 72 | </thead> |
604 | 73 | 73 | ||
605 | 74 | <tbody> | 74 | <tbody> |
608 | 75 | <row> | 75 | <row arch="s390"> |
609 | 76 | <entry>CD/DVD</entry> | 76 | <entry>generic (network install)</entry> |
610 | 77 | <entry>yes</entry> | ||
611 | 78 | <entry>no</entry> | ||
612 | 79 | <entry>yes</entry> | ||
613 | 80 | </row><row> | ||
614 | 81 | <entry>CD/DVD | ||
615 | 82 | <footnote arch="s390" id='load-from-removable-media'> | ||
616 | 83 | <para> | ||
617 | 84 | can be done with the help of the HMC task <guimenuitem>Load from Removable Media or Server</guimenuitem>. | ||
618 | 85 | On &architecture; this is not comparable to other architectures and technically close to a <quote>generic (network install)</quote>. | ||
619 | 86 | </para> | ||
620 | 87 | </footnote> | ||
621 | 88 | </entry> | ||
622 | 77 | <entry>yes</entry> | 89 | <entry>yes</entry> |
623 | 78 | <entry>yes</entry> | 90 | <entry>yes</entry> |
624 | 79 | <entry>yes<footnote id='apx-ps-net'> | 91 | <entry>yes<footnote id='apx-ps-net'> |
625 | 80 | |||
626 | 81 | <para> | 92 | <para> |
627 | 82 | but only if you have network access, and set <literal>preseed/url</literal> | 93 | but only if you have network access, and set <literal>preseed/url</literal> |
628 | 83 | appropriately | 94 | appropriately |
629 | 84 | </para> | 95 | </para> |
633 | 85 | 96 | </footnote> | |
634 | 86 | </footnote></entry> | 97 | </entry> |
635 | 87 | </row><row> | 98 | </row><row arch="not-s390"> |
636 | 88 | <entry>netboot</entry> | 99 | <entry>netboot</entry> |
637 | 89 | <entry>yes</entry> | 100 | <entry>yes</entry> |
638 | 90 | <entry>no</entry> | 101 | <entry>no</entry> |
639 | 91 | <entry>yes</entry> | 102 | <entry>yes</entry> |
641 | 92 | </row><row> | 103 | </row><row arch="not-s390"> |
642 | 93 | <entry>hd-media <phrase condition="bootable-usb">(including usb-stick)</phrase></entry> | 104 | <entry>hd-media <phrase condition="bootable-usb">(including usb-stick)</phrase></entry> |
643 | 94 | <entry>yes</entry> | 105 | <entry>yes</entry> |
644 | 95 | <entry>yes</entry> | 106 | <entry>yes</entry> |
645 | 96 | <entry>yes<footnoteref linkend="apx-ps-net"/></entry> | 107 | <entry>yes<footnoteref linkend="apx-ps-net"/></entry> |
646 | 108 | </row><row arch="s390"> | ||
647 | 109 | <entry>USB drive<footnoteref linkend="load-from-removable-media"/></entry> | ||
648 | 110 | <entry>yes</entry> | ||
649 | 111 | <entry>yes</entry> | ||
650 | 112 | <entry>yes</entry> | ||
651 | 97 | </row><row condition="supports-floppy-boot"> | 113 | </row><row condition="supports-floppy-boot"> |
652 | 98 | <entry>floppy based (cd-drivers)</entry> | 114 | <entry>floppy based (cd-drivers)</entry> |
653 | 99 | <entry>yes</entry> | 115 | <entry>yes</entry> |
654 | @@ -104,11 +120,6 @@ | |||
655 | 104 | <entry>yes</entry> | 120 | <entry>yes</entry> |
656 | 105 | <entry>no</entry> | 121 | <entry>no</entry> |
657 | 106 | <entry>yes</entry> | 122 | <entry>yes</entry> |
658 | 107 | </row><row arch="s390"> | ||
659 | 108 | <entry>generic</entry> | ||
660 | 109 | <entry>yes</entry> | ||
661 | 110 | <entry>no</entry> | ||
662 | 111 | <entry>yes</entry> | ||
663 | 112 | </row> | 123 | </row> |
664 | 113 | </tbody> | 124 | </tbody> |
665 | 114 | 125 | ||
666 | @@ -135,7 +146,8 @@ | |||
667 | 135 | questions from being asked is to preseed them through the boot parameters, | 146 | questions from being asked is to preseed them through the boot parameters, |
668 | 136 | as described in <xref linkend="preseed-bootparms"/>. | 147 | as described in <xref linkend="preseed-bootparms"/>. |
669 | 137 | 148 | ||
671 | 138 | </para><para> | 149 | </para></important> |
672 | 150 | <important><para> | ||
673 | 139 | 151 | ||
674 | 140 | In order to easily avoid the questions that would normally appear before the | 152 | In order to easily avoid the questions that would normally appear before the |
675 | 141 | preseeding occurs, you can start the installer in <quote>auto</quote> | 153 | preseeding occurs, you can start the installer in <quote>auto</quote> |
676 | @@ -256,17 +268,21 @@ | |||
677 | 256 | </para><para> | 268 | </para><para> |
678 | 257 | 269 | ||
679 | 258 | For the other preseeding methods you need to tell the installer what file | 270 | For the other preseeding methods you need to tell the installer what file |
687 | 259 | to use when you boot it. This is normally done by passing the kernel a boot | 271 | to use when you boot it. This is normally done <phrase arch="not-s390">by passing the kernel a boot |
688 | 260 | parameter, either manually at boot time or by editing the bootloader | 272 | parameter, either manually at boot time or</phrase> by editing the bootloader |
689 | 261 | configuration file <phrase arch="linux-any">(e.g. | 273 | configuration file <phrase arch="any-86"> <!-- changed from linux-any to any-x86 --> |
690 | 262 | <filename>syslinux.cfg</filename>) and adding the parameter to the end of | 274 | (e.g. <filename>syslinux.cfg</filename>) and adding the parameter to the end of |
691 | 263 | the append line(s) for the kernel.</phrase><phrase arch="kfreebsd-any">(e.g. | 275 | the append line(s) for the kernel.</phrase> |
692 | 264 | <filename>grub.cfg</filename>) and adding the parameter as a new | 276 | <phrase arch="kfreebsd-any">(e.g. <filename>grub.cfg</filename>) and adding the parameter as a new |
693 | 265 | <literal>set</literal> line for the kernel.</phrase><phrase arch="hurd-any">(e.g. | 277 | <literal>set</literal> line for the kernel.</phrase> |
694 | 278 | <phrase arch="hurd-any">(e.g. | ||
695 | 266 | <filename>grub.cfg</filename>) and adding the parameter to the end of the | 279 | <filename>grub.cfg</filename>) and adding the parameter to the end of the |
696 | 267 | <filename>gnumach.gz</filename> line.</phrase> | 280 | <filename>gnumach.gz</filename> line.</phrase> |
697 | 268 | 281 | ||
699 | 269 | </para><para> | 282 | <phrase arch="s390">(e.g. |
700 | 283 | <filename>parmfile.&debian-lc;</filename>) and adding the parameter to the end (however, the file is empty by default).</phrase> | ||
701 | 284 | |||
702 | 285 | </para><para arch="not-s390"> | ||
703 | 270 | 286 | ||
704 | 271 | If you do specify the preconfiguration file in the bootloader configuration, | 287 | If you do specify the preconfiguration file in the bootloader configuration, |
705 | 272 | you might change the configuration so you don't need to hit enter to boot the | 288 | you might change the configuration so you don't need to hit enter to boot the |
706 | @@ -282,21 +298,28 @@ | |||
707 | 282 | md5sum, and if specified it must match the preconfiguration file or the | 298 | md5sum, and if specified it must match the preconfiguration file or the |
708 | 283 | installer will refuse to use it. | 299 | installer will refuse to use it. |
709 | 284 | 300 | ||
713 | 285 | </para> | 301 | </para><para> |
711 | 286 | |||
712 | 287 | <informalexample><screen> | ||
714 | 288 | Boot parameters to specify: | 302 | Boot parameters to specify: |
715 | 303 | </para> | ||
716 | 304 | <informalexample><screen> | ||
717 | 289 | - if you're netbooting: | 305 | - if you're netbooting: |
718 | 290 | preseed/url=http://host/path/to/preseed.cfg | 306 | preseed/url=http://host/path/to/preseed.cfg |
719 | 291 | preseed/url/checksum=5da499872becccfeda2c4872f9171c3d | 307 | preseed/url/checksum=5da499872becccfeda2c4872f9171c3d |
720 | 292 | - or | 308 | - or |
721 | 309 | preseed/url=ftp://host/path/to/preseed.cfg | ||
722 | 310 | preseed/url/checksum=5da499872becccfeda2c4872f9171c3d | ||
723 | 311 | - or | ||
724 | 293 | preseed/url=tftp://host/path/to/preseed.cfg | 312 | preseed/url=tftp://host/path/to/preseed.cfg |
725 | 294 | preseed/url/checksum=5da499872becccfeda2c4872f9171c3d | 313 | preseed/url/checksum=5da499872becccfeda2c4872f9171c3d |
726 | 314 | </screen></informalexample> | ||
727 | 295 | 315 | ||
729 | 296 | - if you're booting a remastered CD: | 316 | <informalexample><screen> |
730 | 317 | - if you're booting a remastered CD or image: | ||
731 | 297 | preseed/file=/cdrom/preseed.cfg | 318 | preseed/file=/cdrom/preseed.cfg |
732 | 298 | preseed/file/checksum=5da499872becccfeda2c4872f9171c3d | 319 | preseed/file/checksum=5da499872becccfeda2c4872f9171c3d |
733 | 320 | </screen></informalexample> | ||
734 | 299 | 321 | ||
735 | 322 | <informalexample arch="not-s390"><screen> | ||
736 | 300 | - if you're installing from USB media (put the preconfiguration file in the | 323 | - if you're installing from USB media (put the preconfiguration file in the |
737 | 301 | toplevel directory of the USB stick): | 324 | toplevel directory of the USB stick): |
738 | 302 | preseed/file=/hd-media/preseed.cfg | 325 | preseed/file=/hd-media/preseed.cfg |
739 | @@ -333,18 +356,13 @@ | |||
740 | 333 | <userinput><replaceable>path/to/variable</replaceable>=<replaceable>value</replaceable></userinput> | 356 | <userinput><replaceable>path/to/variable</replaceable>=<replaceable>value</replaceable></userinput> |
741 | 334 | for any of the preseed variables listed in the examples in this appendix. | 357 | for any of the preseed variables listed in the examples in this appendix. |
742 | 335 | If a value is to be used to configure packages for the target system, you | 358 | If a value is to be used to configure packages for the target system, you |
746 | 336 | will need to prepend the <firstterm>owner</firstterm><footnote> | 359 | will need to prepend the <firstterm>owner</firstterm><footnote><para> |
744 | 337 | |||
745 | 338 | <para> | ||
747 | 339 | The owner of a debconf variable (or template) is normally the name of the | 360 | The owner of a debconf variable (or template) is normally the name of the |
748 | 340 | package that contains the corresponding debconf template. For variables | 361 | package that contains the corresponding debconf template. For variables |
749 | 341 | used in the installer itself the owner is <quote>d-i</quote>. | 362 | used in the installer itself the owner is <quote>d-i</quote>. |
750 | 342 | Templates and variables can have more than one owner which helps to | 363 | Templates and variables can have more than one owner which helps to |
751 | 343 | determine whether they can be removed from the debconf database if the | 364 | determine whether they can be removed from the debconf database if the |
756 | 344 | package is purged. | 365 | package is purged.</para></footnote> of the variable as in |
753 | 345 | </para> | ||
754 | 346 | |||
755 | 347 | </footnote> of the variable as in | ||
757 | 348 | <userinput><replaceable>owner</replaceable>:<replaceable>path/to/variable</replaceable>=<replaceable>value</replaceable></userinput>. | 366 | <userinput><replaceable>owner</replaceable>:<replaceable>path/to/variable</replaceable>=<replaceable>value</replaceable></userinput>. |
758 | 349 | If you don't specify the owner, the value for the variable will not be | 367 | If you don't specify the owner, the value for the variable will not be |
759 | 350 | copied to the debconf database in the target system and thus remain unused | 368 | copied to the debconf database in the target system and thus remain unused |
760 | @@ -366,7 +384,7 @@ | |||
761 | 366 | <literal>url</literal>. Another example is the <literal>tasks</literal> | 384 | <literal>url</literal>. Another example is the <literal>tasks</literal> |
762 | 367 | alias, which translates to <literal>tasksel:tasksel/first</literal>. | 385 | alias, which translates to <literal>tasksel:tasksel/first</literal>. |
763 | 368 | 386 | ||
765 | 369 | </para><para> | 387 | </para><para arch="not-s390"> |
766 | 370 | 388 | ||
767 | 371 | A <quote>---</quote> in the boot options has special meaning. Kernel | 389 | A <quote>---</quote> in the boot options has special meaning. Kernel |
768 | 372 | parameters that appear after the last <quote>---</quote> may be copied | 390 | parameters that appear after the last <quote>---</quote> may be copied |
769 | @@ -383,10 +401,20 @@ | |||
770 | 383 | (crash). (For earlier kernels, these numbers were lower.) | 401 | (crash). (For earlier kernels, these numbers were lower.) |
771 | 384 | 402 | ||
772 | 385 | </para></note> | 403 | </para></note> |
773 | 404 | |||
774 | 405 | <note arch="s390"><para> | ||
775 | 406 | |||
776 | 407 | The &debian-lc;.parmfile is limited to 11 lines only, each 80 characters long. | ||
777 | 408 | (The precise limit is 11 lines with each * 80 characters plus additional 10 characters.) | ||
778 | 409 | Hence it's recommended to try specifying more than just one parameter per line, separate parameters by single spaces and use as much (shortened) aliases as possible. But do not specify a single parameter (incl. it's value) across multiple lines! | ||
779 | 410 | The case of the parameter as well as the sequence don't matter. | ||
780 | 411 | |||
781 | 412 | </para></note> | ||
782 | 413 | |||
783 | 386 | <para> | 414 | <para> |
784 | 387 | 415 | ||
785 | 388 | For most installations some of the default options in your bootloader | 416 | For most installations some of the default options in your bootloader |
787 | 389 | configuration file, like <literal>vga=normal</literal>, may be safely | 417 | configuration file<phrase arch="not-s390">, like <literal>vga=normal</literal>,</phrase> may be safely |
788 | 390 | removed which may allow you to add more options for preseeding. | 418 | removed which may allow you to add more options for preseeding. |
789 | 391 | 419 | ||
790 | 392 | </para> | 420 | </para> |
791 | @@ -402,7 +430,7 @@ | |||
792 | 402 | <title>Auto mode</title> | 430 | <title>Auto mode</title> |
793 | 403 | <para> | 431 | <para> |
794 | 404 | 432 | ||
796 | 405 | There are several features of &debian; Installer that combine to allow | 433 | There are several features of the &debian; Installer that combine to allow |
797 | 406 | fairly simple command lines at the boot prompt to result in | 434 | fairly simple command lines at the boot prompt to result in |
798 | 407 | arbitrarily complex customized automatic installs. | 435 | arbitrarily complex customized automatic installs. |
799 | 408 | 436 | ||
800 | @@ -507,10 +535,10 @@ | |||
801 | 507 | 535 | ||
802 | 508 | </para><para> | 536 | </para><para> |
803 | 509 | 537 | ||
808 | 510 | The <literal>auto</literal> boot choice is not yet defined on all arches. | 538 | The <literal>auto</literal> boot choice is not yet defined on all arches<phrase arch="s390"> (like on &architecture;)</phrase>, |
809 | 511 | The same effect may be achieved by simply adding the two | 539 | but the same effect may be achieved by simply adding the two |
810 | 512 | parameters <literal>auto=true priority=critical</literal> to the kernel | 540 | parameters <literal>auto=true priority=critical</literal> to the kernel command line. |
811 | 513 | command line. The <literal>auto</literal> kernel parameter is an alias for | 541 | The <literal>auto</literal> kernel parameter is an alias for |
812 | 514 | <literal>auto-install/enable</literal> and setting it to | 542 | <literal>auto-install/enable</literal> and setting it to |
813 | 515 | <literal>true</literal> delays the | 543 | <literal>true</literal> delays the |
814 | 516 | locale and keyboard questions until after there has been a chance to | 544 | locale and keyboard questions until after there has been a chance to |
815 | @@ -599,14 +627,15 @@ | |||
816 | 599 | } | 627 | } |
817 | 600 | </screen></informalexample> | 628 | </screen></informalexample> |
818 | 601 | 629 | ||
820 | 602 | <para> | 630 | <note><para> |
821 | 603 | 631 | ||
823 | 604 | Note that the above example limits this filename to DHCP clients that identify | 632 | The above example limits this filename to DHCP clients that identify |
824 | 605 | themselves as "d-i", so it will not affect regular DHCP clients, but only | 633 | themselves as "d-i", so it will not affect regular DHCP clients, but only |
825 | 606 | the installer. You can also put the text in a stanza for only one particular | 634 | the installer. You can also put the text in a stanza for only one particular |
826 | 607 | host to avoid preseeding all installs on your network. | 635 | host to avoid preseeding all installs on your network. |
827 | 608 | 636 | ||
829 | 609 | </para><para> | 637 | </para></note> |
830 | 638 | <para> | ||
831 | 610 | 639 | ||
832 | 611 | A good way to use the DHCP preseeding is to only preseed values specific to | 640 | A good way to use the DHCP preseeding is to only preseed values specific to |
833 | 612 | your network, such as the &debian; mirror to use. This way installs on your | 641 | your network, such as the &debian; mirror to use. This way installs on your |
834 | @@ -880,9 +909,13 @@ | |||
835 | 880 | # netcfg will choose an interface that has link if possible. This makes it | 909 | # netcfg will choose an interface that has link if possible. This makes it |
836 | 881 | # skip displaying a list if there is more than one interface. | 910 | # skip displaying a list if there is more than one interface. |
837 | 882 | d-i netcfg/choose_interface select auto | 911 | d-i netcfg/choose_interface select auto |
841 | 883 | 912 | <phrase arch="not-s390"># To pick a particular interface instead: | |
842 | 884 | # To pick a particular interface instead: | 913 | #d-i netcfg/choose_interface select eth1</phrase> |
843 | 885 | #d-i netcfg/choose_interface select eth1 | 914 | <phrase arch="s390"># Activate QETH devices (&architecture;-specific OSA adapters or Hipersockets) |
844 | 915 | #d-i s390-netdevice/choose_networktype string qeth | ||
845 | 916 | #d-i s390-netdevice/qeth/choose string 0.0.c000-0.0.c001-0.0.c002 | ||
846 | 917 | #d-i s390-netdevice/qeth/layer2 boolean true | ||
847 | 918 | #d-i s390-netdevice/qeth/port string 0</phrase> | ||
848 | 886 | 919 | ||
849 | 887 | # To set a different link detection timeout (default is 3 seconds). | 920 | # To set a different link detection timeout (default is 3 seconds). |
850 | 888 | # Values are interpreted as seconds. | 921 | # Values are interpreted as seconds. |
851 | @@ -1124,6 +1157,29 @@ | |||
852 | 1124 | 1157 | ||
853 | 1125 | </sect2> | 1158 | </sect2> |
854 | 1126 | 1159 | ||
855 | 1160 | <sect2 id="s390-disk-storage"> | ||
856 | 1161 | <title>&arch-title; specific disk storage</title> | ||
857 | 1162 | |||
858 | 1163 | <para> | ||
859 | 1164 | The &architecture; offers two unique kinds of disk storage - DASD and FCP (or zFCP). | ||
860 | 1165 | |||
861 | 1166 | </para> | ||
862 | 1167 | |||
863 | 1168 | <informalexample role="example"><screen> | ||
864 | 1169 | # Activate DASD disks | ||
865 | 1170 | #d-i s390-dasd/dasd string 0.0.0200,0.0.0300,0.0.0400 | ||
866 | 1171 | |||
867 | 1172 | # DASD configuration; by default dasdfmt (low-level format) if needed | ||
868 | 1173 | #d-i s390-dasd/auto-format boolean true | ||
869 | 1174 | #d-i s390-dasd/force-format boolean true | ||
870 | 1175 | |||
871 | 1176 | # zFCP activation and configuration | ||
872 | 1177 | # d-i s390-zfcp/zfcp string 0.0.1b34:0x400870075678a1b2:0x201480c800000000, \ | ||
873 | 1178 | # 0.0.1b34:0x400870075679a1b2:0x201480c800000000 | ||
874 | 1179 | </screen></informalexample> | ||
875 | 1180 | |||
876 | 1181 | </sect2> | ||
877 | 1182 | |||
878 | 1127 | <sect2 id="preseed-partman"> | 1183 | <sect2 id="preseed-partman"> |
879 | 1128 | <title>Partitioning</title> | 1184 | <title>Partitioning</title> |
880 | 1129 | <para> | 1185 | <para> |
881 | @@ -1636,6 +1692,277 @@ | |||
882 | 1636 | </screen></informalexample> | 1692 | </screen></informalexample> |
883 | 1637 | 1693 | ||
884 | 1638 | </sect2> | 1694 | </sect2> |
885 | 1695 | |||
886 | 1696 | <sect2 id="s390x-specific-preseed-details" arch="s390"> | ||
887 | 1697 | <title>Further &arch-title;-specific Preseed Details</title> | ||
888 | 1698 | |||
889 | 1699 | <para> | ||
890 | 1700 | |||
891 | 1701 | Since the &architecture; comes with it's unique CCW IO-layer, | ||
892 | 1702 | it's architecture-specific devices that are based uppon CCW require special preseed settings, | ||
893 | 1703 | that have a <quote>s390-</quote> prefix. | ||
894 | 1704 | But these settings can also be specified as boot parameters, in this case just without the prefix. | ||
895 | 1705 | |||
896 | 1706 | </para><para> | ||
897 | 1707 | |||
898 | 1708 | All &architecture;-specific preseed settings are prefixed with "s390-...". | ||
899 | 1709 | </para><para> | ||
900 | 1710 | With the help of these settings you can even preseed early questions like about the qeth network devices. | ||
901 | 1711 | </para><para> | ||
902 | 1712 | The best way to look them up is the full list of debconf templates that available <ulink url="https://salsa.debian.org/installer-team">here</ulink>. | ||
903 | 1713 | <!-- former link: https://anonscm.debian.org/cgit/d-i/ --> | ||
904 | 1714 | </para><para> | ||
905 | 1715 | Especially the following templates: | ||
906 | 1716 | </para> | ||
907 | 1717 | <itemizedlist><listitem><para> | ||
908 | 1718 | QETH network devices, see: <ulink url="https://salsa.debian.org/installer-team/s390-netdevice/blob/master/debian/s390-netdevice.templates">s390-netdevice Templates</ulink> | ||
909 | 1719 | <!-- former link: https://anonscm.debian.org/cgit/d-i/s390-netdevice.git/plain/debian/s390-netdevice.templates --> | ||
910 | 1720 | </para></listitem> | ||
911 | 1721 | <listitem><para> | ||
912 | 1722 | DASD disk devices, see: <ulink url="https://salsa.debian.org/installer-team/s390-dasd/blob/master/debian/s390-dasd.templates">s390-dasd Templates</ulink> | ||
913 | 1723 | <!-- former link: https://anonscm.debian.org/cgit/d-i/s390-dasd.git/plain/debian/s390-dasd.templates --> | ||
914 | 1724 | </para></listitem> | ||
915 | 1725 | <listitem><para> | ||
916 | 1726 | zFCP disk devices, see: <ulink url="https://salsa.debian.org/installer-team/s390-zfcp/blob/master/debian/s390-zfcp.templates">s390-dasd Templates</ulink> | ||
917 | 1727 | <!-- former link: https://anonscm.debian.org/cgit/d-i/s390-zfcp.git/plain/debian/s390-zfcp.templates --> | ||
918 | 1728 | </para></listitem></itemizedlist> | ||
919 | 1729 | |||
920 | 1730 | <para> | ||
921 | 1731 | The following tables show the most relevant s390-specific boot parameters: | ||
922 | 1732 | </para> | ||
923 | 1733 | |||
924 | 1734 | <para> | ||
925 | 1735 | Table: s390-netdevice parameters | ||
926 | 1736 | <informaltable> | ||
927 | 1737 | <tgroup cols="3"> | ||
928 | 1738 | <thead> | ||
929 | 1739 | <row> | ||
930 | 1740 | <entry>Key</entry> | ||
931 | 1741 | <entry>Value</entry> | ||
932 | 1742 | <entry>Description</entry> | ||
933 | 1743 | </row> | ||
934 | 1744 | </thead> | ||
935 | 1745 | <tbody> | ||
936 | 1746 | <row> | ||
937 | 1747 | <entry>s390-netdevice/choose_networktype</entry> | ||
938 | 1748 | <entry>selection; choices: ctc, qeth, iucv, virtio</entry> | ||
939 | 1749 | <entry>Network device type</entry> | ||
940 | 1750 | </row><row> | ||
941 | 1751 | <entry>s390-netdevice/ctc/protocol</entry> | ||
942 | 1752 | <entry>selection, choices: S/390 (0), Linux (1), OS/390 (3); default: S/390 (0)</entry> | ||
943 | 1753 | <entry>Protocol for this connection</entry> | ||
944 | 1754 | </row><row> | ||
945 | 1755 | <entry>s390-netdevice/qeth/choose</entry> | ||
946 | 1756 | <entry>selection, choices: {choices}</entry> | ||
947 | 1757 | <entry>OSA-Express QDIO or Hipersockets device</entry> | ||
948 | 1758 | </row><row> | ||
949 | 1759 | <entry>s390-netdevice/qeth/port</entry> | ||
950 | 1760 | <entry>string, default: 0</entry> | ||
951 | 1761 | <entry>Relative Port</entry> | ||
952 | 1762 | </row><row> | ||
953 | 1763 | <entry>s390-netdevice/qeth/layer2</entry> | ||
954 | 1764 | <entry>boolean, default: false</entry> | ||
955 | 1765 | <entry>Device in layer2 mode</entry> | ||
956 | 1766 | </row><row> | ||
957 | 1767 | <entry>s390-netdevice/iucv/peer</entry> | ||
958 | 1768 | <entry>string</entry> | ||
959 | 1769 | <entry>Name of VM peer</entry> | ||
960 | 1770 | </row> | ||
961 | 1771 | </tbody></tgroup></informaltable> | ||
962 | 1772 | </para> | ||
963 | 1773 | |||
964 | 1774 | <para> | ||
965 | 1775 | Table: s390-dasd parameters | ||
966 | 1776 | <informaltable> | ||
967 | 1777 | <tgroup cols="3"> | ||
968 | 1778 | <thead> | ||
969 | 1779 | <row> | ||
970 | 1780 | <entry>Key</entry> | ||
971 | 1781 | <entry>Value</entry> | ||
972 | 1782 | <entry>Description</entry> | ||
973 | 1783 | </row> | ||
974 | 1784 | </thead> | ||
975 | 1785 | <tbody> | ||
976 | 1786 | <row> | ||
977 | 1787 | <entry>s390-dasd/dasd</entry> | ||
978 | 1788 | <entry>string</entry> | ||
979 | 1789 | <entry>one or more DASD devices using comma ',' to separate multiple entries; complete dasd device number, incl. leading zeros, separated by dots '.'</entry> | ||
980 | 1790 | </row><row> | ||
981 | 1791 | <entry>s390-dasd/auto_format</entry> | ||
982 | 1792 | <entry>boolean</entry> | ||
983 | 1793 | <entry>format DASD device automatically in case it is not low-level formatted</entry> | ||
984 | 1794 | </row><row> | ||
985 | 1795 | <entry>s390-dasd/force_format</entry> | ||
986 | 1796 | <entry>boolean</entry> | ||
987 | 1797 | <entry>force DASD device format even in case it was already low-level formatted</entry> | ||
988 | 1798 | </row> | ||
989 | 1799 | </tbody></tgroup></informaltable> | ||
990 | 1800 | </para> | ||
991 | 1801 | |||
992 | 1802 | <para> | ||
993 | 1803 | Table: s390-zfcp parameters | ||
994 | 1804 | <informaltable> | ||
995 | 1805 | <tgroup cols="3"> | ||
996 | 1806 | <thead> | ||
997 | 1807 | <row> | ||
998 | 1808 | <entry>Key</entry> | ||
999 | 1809 | <entry>Value</entry> | ||
1000 | 1810 | <entry>Description</entry> | ||
1001 | 1811 | </row> | ||
1002 | 1812 | </thead> | ||
1003 | 1813 | <tbody> | ||
1004 | 1814 | <row> | ||
1005 | 1815 | <entry>s390-zfcp/zfcp</entry> | ||
1006 | 1816 | <entry>string</entry> | ||
1007 | 1817 | <entry>one or more SCSI devices using comma ',' to separate multiple entries; each entry consists of a zfcp host adapter, optionally followed by the WWPN and LUN, like: 0.0.1234,0.0.5678:0x2005000e11159c32:0x1234567800000000</entry> | ||
1008 | 1818 | </row> | ||
1009 | 1819 | </tbody></tgroup></informaltable> | ||
1010 | 1820 | </para> | ||
1011 | 1821 | |||
1012 | 1822 | <sect3 id="s390x-preseed-example" arch="s390"> | ||
1013 | 1823 | <title>&arch-title; Preseed Example</title> | ||
1014 | 1824 | |||
1015 | 1825 | <para> | ||
1016 | 1826 | |||
1017 | 1827 | This example shows a typical preseed configuration for a &architecture; system. | ||
1018 | 1828 | In such environments static networks are more common that dynamic ones. | ||
1019 | 1829 | For doing the network configuration at an early stage at least some of the s390-netdevice settings need to be used as boot parameters in the parmfile. | ||
1020 | 1830 | |||
1021 | 1831 | </para><para> | ||
1022 | 1832 | |||
1023 | 1833 | The preseed configuration file can be located on a ftp, tftp or http server or it can be included in the root directory of the initrd. If there is already a ftp server setup for ftp-based network installation, the same system can be used as preseed server. This would also ensure that the preseed file is accessible during boot and install time at the same system. In case the Ubuntu servers have no direct connection to the internet, the public update server can't be directly used, hence the install and preseed system may even act a local archive mirror. In case of a non-interactive installetion with dynamic network some additional resources are obviously needed, like DHCP and DNS. | ||
1024 | 1834 | |||
1025 | 1835 | </para><para> | ||
1026 | 1836 | |||
1027 | 1837 | Here is a set of boot parameters that can be put into the <filename>&debian-lc;.parmfile</filename>. | ||
1028 | 1838 | It's using as much aliases as possible to keep it compact: | ||
1029 | 1839 | <informalexample role="example"><screen> | ||
1030 | 1840 | ro locale=en_US auto=true priority=critical s390-netdevice/choose_networktype=qeth s390-netdevice/qeth/choose=0.0.c000-0.0.c001-0.0.c002 s390-netdevice/qeth/layer2=true s390-netdevice/qeth/port=0 netcfg/get_ipaddress=10.245.236.42 netcfg/get_netmask=255.255.255.0 netcfg/get_gateway=10.245.236.1 netcfg/get_nameservers=10.245.236.1 netdevice/qeth/layer2=true netcfg/confirm_static=true netcfg/disable_dhcp=true netcfg/use_autoconfig=1 netcfg/get_hostname=ZLIN42 netcfg/get_domain=canonical.com url=http://install-server/ubuntu/s390x/preseed.cfg | ||
1031 | 1841 | </screen></informalexample> | ||
1032 | 1842 | |||
1033 | 1843 | </para><para> | ||
1034 | 1844 | |||
1035 | 1845 | In case the parmfile is used on z/VM and is located there as <filename>&debian-lc; parmfile</filename> on a Minidisk, please remember the file requirements (mode <command>binary</command> / <command>bin</command>, FTP option <command>locsite fix 80</command> and max. 11 lines with each 80 characters + additional 10 characters). | ||
1036 | 1846 | |||
1037 | 1847 | </para><para> | ||
1038 | 1848 | |||
1039 | 1849 | Especially on LPAR installation it's worth to consider using the cio_ignore parameter to hide some of the devices from Linux, which may speedup the boot and install process significantly. | ||
1040 | 1850 | |||
1041 | 1851 | </para><para> | ||
1042 | 1852 | |||
1043 | 1853 | IPv6 addresses of servers hosting preseed configuration files are possible. | ||
1044 | 1854 | |||
1045 | 1855 | </para><para> | ||
1046 | 1856 | |||
1047 | 1857 | The second part is the preseed.cfg file itself. | ||
1048 | 1858 | |||
1049 | 1859 | <informalexample role="example"><screen> | ||
1050 | 1860 | # | ||
1051 | 1861 | # Sample s390x pressed with static qeth network and DASD disk | ||
1052 | 1862 | # fcp is included as comment | ||
1053 | 1863 | # ftp://server/preseed/preseed.cfg | ||
1054 | 1864 | # | ||
1055 | 1865 | |||
1056 | 1866 | d-i debconf/priority string critical | ||
1057 | 1867 | d-i auto-install/enable boolean true | ||
1058 | 1868 | |||
1059 | 1869 | # use -proposed udebs | ||
1060 | 1870 | d-i apt-setup/proposed boolean false | ||
1061 | 1871 | |||
1062 | 1872 | d-i pkgsel/update-policy select unattended-upgrades | ||
1063 | 1873 | |||
1064 | 1874 | # localization | ||
1065 | 1875 | d-i debian-installer/language string en | ||
1066 | 1876 | d-i debian-installer/country string US | ||
1067 | 1877 | d-i debian-installer/locale string en_US.UTF-8 | ||
1068 | 1878 | |||
1069 | 1879 | # activate qeth | ||
1070 | 1880 | d-i s390-netdevice/choose_networktype string qeth | ||
1071 | 1881 | d-i s390-netdevice/qeth/choose string 0.0.c000-0.0.c001-0.0.c002 | ||
1072 | 1882 | d-i s390-netdevice/qeth/layer2 boolean true | ||
1073 | 1883 | d-i s390-netdevice/qeth/port string 0 | ||
1074 | 1884 | |||
1075 | 1885 | # use static network configuration | ||
1076 | 1886 | d-i netcfg/choose_interface select auto | ||
1077 | 1887 | d-i netcfg/disable_autoconfig boolean true | ||
1078 | 1888 | |||
1079 | 1889 | d-i netcfg/get_ipaddress string 10.245.236.42 | ||
1080 | 1890 | d-i netcfg/get_netmask string 255.255.255.0 | ||
1081 | 1891 | d-i netcfg/get_gateway string 10.245.236.1 | ||
1082 | 1892 | d-i netcfg/get_nameservers string 10.245.236.1 | ||
1083 | 1893 | d-i netcfg/confirm_static boolean true | ||
1084 | 1894 | d-i netcfg/hostname string ZLIN42 | ||
1085 | 1895 | |||
1086 | 1896 | # provide network-console password | ||
1087 | 1897 | d-i network-console/password password pass4install | ||
1088 | 1898 | d-i network-console/password-again password pass4install | ||
1089 | 1899 | d-i network-console/start note | ||
1090 | 1900 | |||
1091 | 1901 | # user setup | ||
1092 | 1902 | d-i passwd/user-fullname string ubuntu | ||
1093 | 1903 | d-i passwd/username string ubuntu | ||
1094 | 1904 | d-i passwd/user-password-crypted password $6czoUlkH40NHPJs5.5wdF.kIJFu33VdH0kNMTF$$$QFT6DumGdp5PNjlnnxowinu6tcztRC. | ||
1095 | 1905 | |||
1096 | 1906 | d-i user-setup/encrypt-home boolean false | ||
1097 | 1907 | |||
1098 | 1908 | # enable shadow passwords | ||
1099 | 1909 | d-i passwd/shadow boolean true | ||
1100 | 1910 | |||
1101 | 1911 | # hw clock | ||
1102 | 1912 | d-i clock-setup/utc boolean true | ||
1103 | 1913 | # time zone | ||
1104 | 1914 | d-i time/zone string US/Eastern | ||
1105 | 1915 | |||
1106 | 1916 | # release to install | ||
1107 | 1917 | d-i mirror/suite string bionic | ||
1108 | 1918 | |||
1109 | 1919 | # do not enable live installer, use normal instead | ||
1110 | 1920 | d-i live-installer/enable boolean false | ||
1111 | 1921 | |||
1112 | 1922 | # activate DASD, dasdfmt if needed | ||
1113 | 1923 | d-i s390-dasd/dasd string 0.0.0200,0.0.0300,0.0.0400 | ||
1114 | 1924 | |||
1115 | 1925 | # DASD configuration | ||
1116 | 1926 | d-i s390-dasd/auto-format boolean true | ||
1117 | 1927 | d-i s390-dasd/force-format boolean true | ||
1118 | 1928 | |||
1119 | 1929 | # zFCP configuration | ||
1120 | 1930 | # d-i s390-zfcp/zfcp string | ||
1121 | 1931 | # 0.0.2b12:0x400807704798b4a4:0x201480c800000000 | ||
1122 | 1932 | |||
1123 | 1933 | # optional lines to overwrite old RAIDs and LVMs .... | ||
1124 | 1934 | # d-i partman-md/device_remove_md boolean true | ||
1125 | 1935 | # d-i partman-lvm/device_remove_lvm boolean true | ||
1126 | 1936 | # d-i partman-lvm/confirm boolean true | ||
1127 | 1937 | # d-i partman-lvm/confirm_nooverwrite boolean true | ||
1128 | 1938 | |||
1129 | 1939 | # auto-partition, all files in one partition | ||
1130 | 1940 | d-i partman-auto/method string regular | ||
1131 | 1941 | d-i partman-auto/choose_recipe select atomic | ||
1132 | 1942 | d-i partman/choose_partition select finish | ||
1133 | 1943 | d-i partman/confirm_nooverwrite boolean true | ||
1134 | 1944 | d-i partman/confirm boolean true | ||
1135 | 1945 | |||
1136 | 1946 | # software selection | ||
1137 | 1947 | d-i tasksel/first multiselect standard system utilities, OpenSSH server, Basic Ubuntu server | ||
1138 | 1948 | |||
1139 | 1949 | # after installation, install some packages - use only one line! | ||
1140 | 1950 | d-i preseed/late_command string in-target sed -i s/prohibit-password/yes/g /etc/ssh/sshd_config; apt-install initramfs-tools screen strace vim | ||
1141 | 1951 | |||
1142 | 1952 | # reboot at the end | ||
1143 | 1953 | d-i finish-install/reboot_in_progress note | ||
1144 | 1954 | </screen></informalexample> | ||
1145 | 1955 | |||
1146 | 1956 | Further excellent examples can be found at the | ||
1147 | 1957 | <ulink url="http://www.vm.ibm.com/education/lvc/zlinlvc.html">IBM Live Virtual Class</ulink> portal | ||
1148 | 1958 | in session <ulink url="http://www.vm.ibm.com/education/lvc/LVC0803.pdf">Fully Automated Installation of Ubuntu Server 16.04 with preseed</ulink>. | ||
1149 | 1959 | It contains disk configurations examples for two DASDs with LVM, two FCP SCSI LUNs with LVM, a single DASD, a qcow2 image file and a single FCP SCSI disk. | ||
1150 | 1960 | </para> | ||
1151 | 1961 | |||
1152 | 1962 | </sect3> | ||
1153 | 1963 | |||
1154 | 1964 | </sect2> | ||
1155 | 1965 | |||
1156 | 1639 | </sect1> | 1966 | </sect1> |
1157 | 1640 | 1967 | ||
1158 | 1641 | 1968 | ||
1159 | @@ -1780,5 +2107,6 @@ | |||
1160 | 1780 | </para> | 2107 | </para> |
1161 | 1781 | 2108 | ||
1162 | 1782 | </sect2> | 2109 | </sect2> |
1163 | 2110 | |||
1164 | 1783 | </sect1> | 2111 | </sect1> |
1165 | 1784 | </appendix> | 2112 | </appendix> |
1166 | 1785 | 2113 | ||
1167 | === modified file 'en/boot-installer/intro-firmware.xml' | |||
1168 | --- en/boot-installer/intro-firmware.xml 2013-10-08 22:00:29 +0000 | |||
1169 | +++ en/boot-installer/intro-firmware.xml 2018-06-21 13:42:34 +0000 | |||
1170 | @@ -7,7 +7,8 @@ | |||
1171 | 7 | flash chip on the device. The installer can be written to flash so it will | 7 | flash chip on the device. The installer can be written to flash so it will |
1172 | 8 | automatically start when you reboot your machines. | 8 | automatically start when you reboot your machines. |
1173 | 9 | 9 | ||
1175 | 10 | </para><note><para> | 10 | </para> |
1176 | 11 | <note><para> | ||
1177 | 11 | 12 | ||
1178 | 12 | In most cases, changing the firmware of an embedded device voids your | 13 | In most cases, changing the firmware of an embedded device voids your |
1179 | 13 | warranty. Sometimes you are also not able to recover your device if there | 14 | warranty. Sometimes you are also not able to recover your device if there |
1180 | 14 | 15 | ||
1181 | === modified file 'en/boot-installer/trouble.xml' | |||
1182 | --- en/boot-installer/trouble.xml 2018-06-06 21:26:51 +0000 | |||
1183 | +++ en/boot-installer/trouble.xml 2018-06-21 13:42:34 +0000 | |||
1184 | @@ -538,13 +538,15 @@ | |||
1185 | 538 | successful, so that we can get as much information as possible on the largest | 538 | successful, so that we can get as much information as possible on the largest |
1186 | 539 | number of hardware configurations. | 539 | number of hardware configurations. |
1187 | 540 | 540 | ||
1189 | 541 | </para><note condition="not-ubuntu"><para> | 541 | </para> |
1190 | 542 | <note condition="not-ubuntu"><para> | ||
1191 | 542 | 543 | ||
1192 | 543 | Your installation report will be published in the Debian Bug | 544 | Your installation report will be published in the Debian Bug |
1193 | 544 | Tracking System (BTS) and forwarded to a public mailing list. Make sure that | 545 | Tracking System (BTS) and forwarded to a public mailing list. Make sure that |
1194 | 545 | you use an e-mail address that you do not mind being made public. | 546 | you use an e-mail address that you do not mind being made public. |
1195 | 546 | 547 | ||
1197 | 547 | </para></note><para> | 548 | </para></note> |
1198 | 549 | <para> | ||
1199 | 548 | 550 | ||
1200 | 549 | If you have a working &debian; system, the easiest way to send an installation | 551 | If you have a working &debian; system, the easiest way to send an installation |
1201 | 550 | report is to install the <classname>installation-report</classname> and | 552 | report is to install the <classname>installation-report</classname> and |
1202 | 551 | 553 | ||
1203 | === added file 'en/hardware/disk-storage.xml' | |||
1204 | --- en/hardware/disk-storage.xml 1970-01-01 00:00:00 +0000 | |||
1205 | +++ en/hardware/disk-storage.xml 2018-06-21 13:42:34 +0000 | |||
1206 | @@ -0,0 +1,36 @@ | |||
1207 | 1 | <!-- retain these comments for translator revision tracking --> | ||
1208 | 2 | <!-- $Id: disk-storage.xml 69111 2014-03-19 19:27:26Z merker $ --> | ||
1209 | 3 | |||
1210 | 4 | <sect2 id="disk-storage" arch="s390"> | ||
1211 | 5 | <title>Disk Storage on &arch-title;</title> | ||
1212 | 6 | <para> | ||
1213 | 7 | |||
1214 | 8 | The &arch-title; platform provides two unique storage types: | ||
1215 | 9 | |||
1216 | 10 | </para> | ||
1217 | 11 | |||
1218 | 12 | <variablelist> | ||
1219 | 13 | <varlistentry> | ||
1220 | 14 | |||
1221 | 15 | <term>DASD</term> | ||
1222 | 16 | <listitem> | ||
1223 | 17 | |||
1224 | 18 | &module-s390-dasd.xml; | ||
1225 | 19 | |||
1226 | 20 | </listitem> | ||
1227 | 21 | |||
1228 | 22 | </varlistentry> | ||
1229 | 23 | <varlistentry> | ||
1230 | 24 | |||
1231 | 25 | <term>FCP</term> | ||
1232 | 26 | |||
1233 | 27 | <listitem> | ||
1234 | 28 | |||
1235 | 29 | &module-s390-fcp.xml; | ||
1236 | 30 | |||
1237 | 31 | </listitem> | ||
1238 | 32 | </varlistentry> | ||
1239 | 33 | </variablelist> | ||
1240 | 34 | |||
1241 | 35 | </sect2> | ||
1242 | 36 | |||
1243 | 0 | 37 | ||
1244 | === modified file 'en/hardware/hardware-supported.xml' | |||
1245 | --- en/hardware/hardware-supported.xml 2018-06-06 21:26:51 +0000 | |||
1246 | +++ en/hardware/hardware-supported.xml 2018-06-21 13:42:34 +0000 | |||
1247 | @@ -154,15 +154,15 @@ | |||
1248 | 154 | --> | 154 | --> |
1249 | 155 | 155 | ||
1250 | 156 | <row condition="not-ubuntu"> | 156 | <row condition="not-ubuntu"> |
1253 | 157 | <entry>64bit IBM S/390</entry> | 157 | <entry>64bit IBM &arch-title;</entry> |
1254 | 158 | <entry>s390x</entry> | 158 | <entry>&architecture;</entry> |
1255 | 159 | <entry>IPL from VM-reader and DASD</entry> | 159 | <entry>IPL from VM-reader and DASD</entry> |
1256 | 160 | <entry>generic</entry> | 160 | <entry>generic</entry> |
1257 | 161 | </row> | 161 | </row> |
1258 | 162 | 162 | ||
1259 | 163 | <row> <!-- FIXME: no option to limit text to ubuntu only ! There is no such thing like condition="not-debian" --> | 163 | <row> <!-- FIXME: no option to limit text to ubuntu only ! There is no such thing like condition="not-debian" --> |
1260 | 164 | <entry>IBM z/Architecture</entry> | 164 | <entry>IBM z/Architecture</entry> |
1262 | 165 | <entry>s390x</entry> | 165 | <entry>&architecture;</entry> |
1263 | 166 | <entry>IBM Z and IBM LinuxONE, no s390 (31-bit mode) support</entry> | 166 | <entry>IBM Z and IBM LinuxONE, no s390 (31-bit mode) support</entry> |
1264 | 167 | <entry>zEC12 and newer machines</entry> | 167 | <entry>zEC12 and newer machines</entry> |
1265 | 168 | </row> | 168 | </row> |
1266 | @@ -395,6 +395,7 @@ | |||
1267 | 395 | 395 | ||
1268 | 396 | &network-cards.xml; | 396 | &network-cards.xml; |
1269 | 397 | &accessibility-hardware.xml; | 397 | &accessibility-hardware.xml; |
1270 | 398 | &disk-storage.xml; | ||
1271 | 398 | &supported-peripherals.xml; | 399 | &supported-peripherals.xml; |
1272 | 399 | 400 | ||
1273 | 400 | </sect1> | 401 | </sect1> |
1274 | 401 | 402 | ||
1275 | === modified file 'en/howto/installation-howto.xml' | |||
1276 | --- en/howto/installation-howto.xml 2018-05-15 18:04:14 +0000 | |||
1277 | +++ en/howto/installation-howto.xml 2018-06-21 13:42:34 +0000 | |||
1278 | @@ -38,7 +38,7 @@ | |||
1279 | 38 | 38 | ||
1280 | 39 | For more information on where to get CDs, see <xref linkend="official-cdrom" />. | 39 | For more information on where to get CDs, see <xref linkend="official-cdrom" />. |
1281 | 40 | 40 | ||
1283 | 41 | </para><para> | 41 | </para><para arch="not-s390"> |
1284 | 42 | 42 | ||
1285 | 43 | Some installation methods require other images than CD images. | 43 | Some installation methods require other images than CD images. |
1286 | 44 | <phrase condition="unofficial-build"> | 44 | <phrase condition="unofficial-build"> |
1287 | @@ -48,15 +48,24 @@ | |||
1288 | 48 | <xref linkend="where-files" /> explains how to find images on &debian; | 48 | <xref linkend="where-files" /> explains how to find images on &debian; |
1289 | 49 | mirrors. | 49 | mirrors. |
1290 | 50 | 50 | ||
1294 | 51 | </para><para> | 51 | </para><para arch="s390"> |
1295 | 52 | 52 | ||
1296 | 53 | The subsections below will give the details about which images you should | 53 | The installation on &architecture; requires at least an installer kernel and initrd file. |
1297 | 54 | This is usually be taken from the <phrase arch="s390"><ulink url="&url-ubuntu-download-s390x;">Official &ubuntu; CD-ROM image</ulink></phrase> (see the ./boot folder) or can be directly downloaded from the &debian; archive page - either the version from <ulink url="http://ports.ubuntu.com/ubuntu-ports/dists/&releasename;/main/installer-s390x/">main</ulink> or (if available) a version from the <ulink url="http://ports.ubuntu.com/ubuntu-ports/dists/&releasename;-updates/main/installer-s390x/">updates</ulink> pocket. | ||
1298 | 55 | |||
1299 | 56 | </para><para> | ||
1300 | 57 | |||
1301 | 58 | The easiest way is probably to download the (CDROM) image, because the files most people need are there on the image. | ||
1302 | 59 | |||
1303 | 60 | </para><para> | ||
1304 | 61 | |||
1305 | 62 | The subsections below will give the details about which image(s) you should | ||
1306 | 54 | get for each possible means of installation. | 63 | get for each possible means of installation. |
1307 | 55 | 64 | ||
1308 | 56 | </para> | 65 | </para> |
1309 | 57 | 66 | ||
1310 | 58 | <sect2 id="howto-getting-images-cdrom"> | 67 | <sect2 id="howto-getting-images-cdrom"> |
1312 | 59 | <title>CDROM</title> | 68 | <title>Booting from CDROM</title> |
1313 | 60 | 69 | ||
1314 | 61 | <para condition="not-ubuntu"> | 70 | <para condition="not-ubuntu"> |
1315 | 62 | 71 | ||
1316 | @@ -70,7 +79,17 @@ | |||
1317 | 70 | 79 | ||
1318 | 71 | </para><para> | 80 | </para><para> |
1319 | 72 | 81 | ||
1321 | 73 | Download the image for your architecture and burn it to a CD. | 82 | First of all download the image for your architecture and burn it to a CD/DVD. |
1322 | 83 | |||
1323 | 84 | </para><para arch="s390">In case you are going to do an installation on &architecture; from CD/DVD-ROM, put the CD/DVD into the HMC's CD/DVD drive and execute the HMC task <guimenuitem>Load from Removable Media or Server</guimenuitem> for the installation and select <guimenuitem>Hardware Management Console CD/DVD-ROM...</guimenuitem>. | ||
1324 | 85 | |||
1325 | 86 | </para><para arch="s390"> | ||
1326 | 87 | |||
1327 | 88 | The installation from a USB drive on &architecture; is very similar (and not comparable to other architectures). | ||
1328 | 89 | In such a case just copy the image to a USB drive, plug it into the HMC, execute the HMC task <guimenuitem>Load from Removable Media or Server</guimenuitem> and select <guimenuitem>Hardware Management Console USB flash memory drive...</guimenuitem> - keep in mind that the USB drive needs to be already inserted before you execute the task, otherwise the USB drive option(s) are not listed. | ||
1329 | 90 | |||
1330 | 91 | </para><para> | ||
1331 | 92 | |||
1332 | 74 | <phrase arch="any-x86">To boot the CD, you may need to change your BIOS | 93 | <phrase arch="any-x86">To boot the CD, you may need to change your BIOS |
1333 | 75 | configuration, as explained in <xref linkend="bios-setup" />.</phrase> | 94 | configuration, as explained in <xref linkend="bios-setup" />.</phrase> |
1334 | 76 | <phrase arch="powerpc"> | 95 | <phrase arch="powerpc"> |
1335 | @@ -171,8 +190,8 @@ | |||
1336 | 171 | 190 | ||
1337 | 172 | It's also possible to boot the &ubuntu; installer completely from the net. The | 191 | It's also possible to boot the &ubuntu; installer completely from the net. The |
1338 | 173 | various methods to netboot depend on your architecture and netboot setup. | 192 | various methods to netboot depend on your architecture and netboot setup. |
1341 | 174 | The files in <filename>netboot/</filename> can be used to netboot the &ubuntu; | 193 | <phrase arch="not-s390">The files in <filename>netboot/</filename> can be used to netboot the &ubuntu; |
1342 | 175 | installer. | 194 | installer.</phrase> |
1343 | 176 | 195 | ||
1344 | 177 | </para><para arch="x86"> | 196 | </para><para arch="x86"> |
1345 | 178 | 197 | ||
1346 | @@ -184,12 +203,46 @@ | |||
1347 | 184 | everything will just work. | 203 | everything will just work. |
1348 | 185 | For detailed instructions, see <xref linkend="install-tftp" />. | 204 | For detailed instructions, see <xref linkend="install-tftp" />. |
1349 | 186 | 205 | ||
1350 | 206 | </para><para arch="s390"> | ||
1351 | 207 | |||
1352 | 208 | Booting the installer from network is on the &architecture; platform quite flexible and convinient, hence the recommended way. | ||
1353 | 209 | But some initial steps are required. | ||
1354 | 210 | The CD/DVD image needs to be extracted and made available via FTP. | ||
1355 | 211 | It's crucial that the FTP server itself is reachable by the HMC, the SE and the LPAR or z/VM guest to be installed. | ||
1356 | 212 | A dedicated network is usually setup just for this purpose. | ||
1357 | 213 | Once this infrastructure is in place the booting of the installer from FTP can be started with the execution of the HMC task <guimenuitem>Load from Removable Media or Server</guimenuitem>, selecting <guimenuitem>FTP Source</guimenuitem> and specifying <guimenuitem>Host Computer</guimenuitem> (usually specified by IP address), <guimenuitem>User ID</guimenuitem>, <guimenuitem>Password</guimenuitem>, <guimenuitem>Account (optional)</guimenuitem> and <guimenuitem>File location (optional)</guimenuitem>. | ||
1358 | 214 | Anonymous FTP is possible, too. | ||
1359 | 215 | |||
1360 | 187 | </para> | 216 | </para> |
1361 | 188 | </sect2> | 217 | </sect2> |
1362 | 189 | 218 | ||
1366 | 190 | <sect2 arch="linux-any" id="howto-getting-images-hard-disk" condition="not-ubuntu"> | 219 | <sect2 arch="linux-any" id="howto-getting-images-hard-disk"> <!-- FIXME: nothing like condition="not-debian" or condition="ubuntu-only" supported, yet --> |
1367 | 191 | <title>Booting from hard disk</title> | 220 | <title>Booting from CMS disk (z/VM)</title> |
1368 | 192 | <para> | 221 | <para arch="s390"> |
1369 | 222 | |||
1370 | 223 | On z/VM the usual way to boot the installer is to use the (virtual) puncher. | ||
1371 | 224 | At least the files <filename>initrd.&debian-lc;</filename> and <filename>kernel.&debian-lc;</filename> are needed. | ||
1372 | 225 | These files need to be carefully transfered to a z/VM CMS disk using mode <command>binary</command> / <command>bin</command> and the FTP option <command>locsite fix 80</command>. | ||
1373 | 226 | </para><para> | ||
1374 | 227 | It's recommended to download <filename>parmfile.&debian-lc;</filename> and <filename>&debian-lc;.exec</filename> as well, but using <command>ascii</command> mode. | ||
1375 | 228 | </para><para> | ||
1376 | 229 | Properly transfered to CMS, the installation files can be booted by just executing the <filename>&debian-lc;.exec</filename> REXX script. | ||
1377 | 230 | Alternatively you can also execute the steps from the script manually. | ||
1378 | 231 | <informalexample role="example"><screen> | ||
1379 | 232 | /* REXX EXEC TO IPL Ubuntu for */ | ||
1380 | 233 | /* z Systems FROM THE VM READER. */ | ||
1381 | 234 | /* */ | ||
1382 | 235 | 'CP CLOSE RDR' | ||
1383 | 236 | 'PURGE RDR ALL' | ||
1384 | 237 | 'SPOOL PUNCH * RDR' | ||
1385 | 238 | 'PUNCH KERNEL UBUNTU * (NOHEADER' | ||
1386 | 239 | 'PUNCH PARMFILE UBUNTU * (NOHEADER' | ||
1387 | 240 | 'PUNCH INITRD UBUNTU * (NOHEADER' | ||
1388 | 241 | 'CHANGE RDR ALL KEEP NOHOLD' | ||
1389 | 242 | 'CP IPL 000C CLEAR' | ||
1390 | 243 | </screen></informalexample> | ||
1391 | 244 | |||
1392 | 245 | </para><para arch="not-s390" condition="not-ubuntu"> | ||
1393 | 193 | 246 | ||
1394 | 194 | It's possible to boot the installer using no removable media, but just an | 247 | It's possible to boot the installer using no removable media, but just an |
1395 | 195 | existing hard disk, which can have a different OS on it. Download | 248 | existing hard disk, which can have a different OS on it. Download |
1396 | @@ -229,7 +282,7 @@ | |||
1397 | 229 | </para><para> | 282 | </para><para> |
1398 | 230 | 283 | ||
1399 | 231 | Now sit back while the installer detects some of your hardware, and | 284 | Now sit back while the installer detects some of your hardware, and |
1401 | 232 | loads the rest of itself from CD, floppy, USB, etc. | 285 | loads the rest of itself from CD, USB<phrase condition="bootable-usb">, floppy</phrase><phrase arch="s390">, network</phrase>, etc. |
1402 | 233 | 286 | ||
1403 | 234 | </para><para> | 287 | </para><para> |
1404 | 235 | 288 | ||
1405 | @@ -246,11 +299,14 @@ | |||
1406 | 246 | 299 | ||
1407 | 247 | </para><para> | 300 | </para><para> |
1408 | 248 | 301 | ||
1411 | 249 | Setting up your clock and time zone is followed by the creation of user accounts. By | 302 | Setting up your clock and time zone is followed by the creation of user accounts. |
1412 | 250 | default you are asked to provide a password for the <quote>root</quote> | 303 | |
1413 | 304 | By default you are asked to provide a password for the <quote>root</quote> | ||
1414 | 251 | (administrator) account and information necessary to create one regular user | 305 | (administrator) account and information necessary to create one regular user |
1417 | 252 | account. If you do not specify a password for the <quote>root</quote> user this | 306 | account. If you choose <quote>No</quote> on the |
1418 | 253 | account will be disabled but the <command>sudo</command> package will be installed | 307 | <guimenuitem>Allow login as root?</guimenuitem> question or if you |
1419 | 308 | do not specify a password for the <quote>root</quote> user this account | ||
1420 | 309 | will be disabled, but the <command>sudo</command> package will be installed | ||
1421 | 254 | later to enable administrative tasks to be carried out on the new system. | 310 | later to enable administrative tasks to be carried out on the new system. |
1422 | 255 | 311 | ||
1423 | 256 | </para><para> | 312 | </para><para> |
1424 | @@ -273,9 +329,11 @@ | |||
1425 | 273 | If you want to customize the partition layout, choose <guimenuitem>Manually | 329 | If you want to customize the partition layout, choose <guimenuitem>Manually |
1426 | 274 | edit partition table</guimenuitem> from the menu, and | 330 | edit partition table</guimenuitem> from the menu, and |
1427 | 275 | the next screen will show you your partition table, how the partitions will | 331 | the next screen will show you your partition table, how the partitions will |
1431 | 276 | be formatted, and where they will be mounted. Select a partition to modify or | 332 | be formatted, and where they will be mounted. |
1432 | 277 | delete it. Remember to assign at least one partition | 333 | Select a partition to modify or delete it. |
1433 | 278 | for swap space and to mount a partition on <filename>/</filename>. | 334 | Remember that since 18.04 a swap file is the default, rather than a swap partition. |
1434 | 335 | But you are still able to assign a partition for swap space. | ||
1435 | 336 | Remember to mount one partition on <filename>/</filename> (root). | ||
1436 | 279 | For more detailed information on how to use the partitioner, please refer | 337 | For more detailed information on how to use the partitioner, please refer |
1437 | 280 | to <xref linkend="di-partition" />; the appendix <xref | 338 | to <xref linkend="di-partition" />; the appendix <xref |
1438 | 281 | linkend="partitioning" /> has more general information about | 339 | linkend="partitioning" /> has more general information about |
1439 | @@ -315,7 +373,7 @@ | |||
1440 | 315 | </para><para> | 373 | </para><para> |
1441 | 316 | 374 | ||
1442 | 317 | The installer will now tell you that the first stage of installation has | 375 | The installer will now tell you that the first stage of installation has |
1444 | 318 | finished. Remove the CD and hit &enterkey; to reboot | 376 | finished. Remove the CD (if needed) and hit &enterkey; to reboot |
1445 | 319 | your machine. It should boot up into the newly installed system and | 377 | your machine. It should boot up into the newly installed system and |
1446 | 320 | allow you to log in. This is explained in <xref linkend="boot-new"/>. | 378 | allow you to log in. This is explained in <xref linkend="boot-new"/>. |
1447 | 321 | 379 | ||
1448 | 322 | 380 | ||
1449 | === modified file 'en/install-methods/usb-setup/x86.xml' | |||
1450 | --- en/install-methods/usb-setup/x86.xml 2016-01-26 07:14:43 +0000 | |||
1451 | +++ en/install-methods/usb-setup/x86.xml 2018-06-21 13:42:34 +0000 | |||
1452 | @@ -8,7 +8,8 @@ | |||
1453 | 8 | We will show how to set up the memory stick to use the first partition, | 8 | We will show how to set up the memory stick to use the first partition, |
1454 | 9 | instead of the entire device. | 9 | instead of the entire device. |
1455 | 10 | 10 | ||
1457 | 11 | </para><note><para> | 11 | </para> |
1458 | 12 | <note><para> | ||
1459 | 12 | 13 | ||
1460 | 13 | Since most USB sticks come pre-configured with a single FAT16 | 14 | Since most USB sticks come pre-configured with a single FAT16 |
1461 | 14 | partition, you probably won't have to repartition or reformat the | 15 | partition, you probably won't have to repartition or reformat the |
1462 | @@ -36,7 +37,8 @@ | |||
1463 | 36 | <command>mkdosfs</command> command is contained in the | 37 | <command>mkdosfs</command> command is contained in the |
1464 | 37 | <classname>dosfstools</classname> &debian; package. | 38 | <classname>dosfstools</classname> &debian; package. |
1465 | 38 | 39 | ||
1467 | 39 | </para></note><para> | 40 | </para></note> |
1468 | 41 | <para> | ||
1469 | 40 | 42 | ||
1470 | 41 | In order to start the kernel after booting from the USB stick, we will | 43 | In order to start the kernel after booting from the USB stick, we will |
1471 | 42 | put a boot loader on the stick. Although any boot loader | 44 | put a boot loader on the stick. Although any boot loader |
1472 | 43 | 45 | ||
1473 | === modified file 'en/partitioning/device-names.xml' | |||
1474 | --- en/partitioning/device-names.xml 2015-12-19 21:18:18 +0000 | |||
1475 | +++ en/partitioning/device-names.xml 2018-06-21 13:42:34 +0000 | |||
1476 | @@ -11,13 +11,13 @@ | |||
1477 | 11 | and mount partitions. Here's the basic naming scheme: | 11 | and mount partitions. Here's the basic naming scheme: |
1478 | 12 | 12 | ||
1479 | 13 | </para> | 13 | </para> |
1482 | 14 | <itemizedlist arch="not-s390"> | 14 | <itemizedlist> |
1483 | 15 | <listitem><para> | 15 | <listitem arch="not-s390"><para> |
1484 | 16 | 16 | ||
1485 | 17 | The first floppy drive is named <filename>/dev/fd0</filename>. | 17 | The first floppy drive is named <filename>/dev/fd0</filename>. |
1486 | 18 | 18 | ||
1487 | 19 | </para></listitem> | 19 | </para></listitem> |
1489 | 20 | <listitem><para> | 20 | <listitem arch="not-s390"><para> |
1490 | 21 | 21 | ||
1491 | 22 | The second floppy drive is named <filename>/dev/fd1</filename>. | 22 | The second floppy drive is named <filename>/dev/fd1</filename>. |
1492 | 23 | 23 | ||
1493 | @@ -33,7 +33,7 @@ | |||
1494 | 33 | and so on. | 33 | and so on. |
1495 | 34 | 34 | ||
1496 | 35 | </para></listitem> | 35 | </para></listitem> |
1498 | 36 | <listitem><para> | 36 | <listitem arch="not-s390"><para> |
1499 | 37 | 37 | ||
1500 | 38 | The first SCSI CD-ROM is named <filename>/dev/scd0</filename>, also | 38 | The first SCSI CD-ROM is named <filename>/dev/scd0</filename>, also |
1501 | 39 | known as <filename>/dev/sr0</filename>. | 39 | known as <filename>/dev/sr0</filename>. |
1502 | @@ -41,7 +41,8 @@ | |||
1503 | 41 | </para></listitem> | 41 | </para></listitem> |
1504 | 42 | </itemizedlist> | 42 | </itemizedlist> |
1505 | 43 | 43 | ||
1507 | 44 | <itemizedlist arch="s390"> | 44 | <para arch="s390"> |
1508 | 45 | <itemizedlist> | ||
1509 | 45 | <listitem><para> | 46 | <listitem><para> |
1510 | 46 | 47 | ||
1511 | 47 | The first DASD device is named | 48 | The first DASD device is named |
1512 | @@ -56,14 +57,31 @@ | |||
1513 | 56 | </para></listitem> | 57 | </para></listitem> |
1514 | 57 | </itemizedlist> | 58 | </itemizedlist> |
1515 | 58 | 59 | ||
1517 | 59 | <para arch="not-s390"> | 60 | After dasdz, the naming starts over with dasdaa, dasdab, ... up to dasdzz. |
1518 | 61 | </para> | ||
1519 | 62 | |||
1520 | 63 | <para arch="s390"> | ||
1521 | 60 | 64 | ||
1522 | 61 | The partitions on each disk are represented by appending a decimal | 65 | The partitions on each disk are represented by appending a decimal |
1523 | 66 | number to the disk name: <filename>dasda1</filename> and | ||
1524 | 67 | <filename>dasda2</filename> represent the first and | ||
1525 | 68 | second partitions of the first DASD device in your system. | ||
1526 | 69 | |||
1527 | 70 | </para> | ||
1528 | 71 | |||
1529 | 72 | <para> | ||
1530 | 73 | |||
1531 | 74 | <phrase arch="s390">From a Linux operating system point of view a SCSI/FCP disk looks like and behaves just like a normal SCSI disk. However they are almost always setup in a highly available way using multipath. | ||
1532 | 75 | </phrase> | ||
1533 | 76 | |||
1534 | 77 | The partitions on each SCSI disk are represented by appending a decimal | ||
1535 | 62 | number to the disk name: <filename>sda1</filename> and | 78 | number to the disk name: <filename>sda1</filename> and |
1536 | 63 | <filename>sda2</filename> represent the first and | 79 | <filename>sda2</filename> represent the first and |
1537 | 64 | second partitions of the first SCSI disk drive in your system. | 80 | second partitions of the first SCSI disk drive in your system. |
1538 | 65 | 81 | ||
1540 | 66 | </para><para arch="not-s390"> | 82 | </para> |
1541 | 83 | |||
1542 | 84 | <para arch="not-s390"> | ||
1543 | 67 | 85 | ||
1544 | 68 | Here is a real-life example. Let's assume you have a system with 2 | 86 | Here is a real-life example. Let's assume you have a system with 2 |
1545 | 69 | SCSI disks, one at SCSI address 2 and the other at SCSI address 4. | 87 | SCSI disks, one at SCSI address 2 and the other at SCSI address 4. |
1546 | @@ -74,14 +92,18 @@ | |||
1547 | 74 | <filename>sda3</filename>. The same applies to the | 92 | <filename>sda3</filename>. The same applies to the |
1548 | 75 | <filename>sdb</filename> disk and its partitions. | 93 | <filename>sdb</filename> disk and its partitions. |
1549 | 76 | 94 | ||
1551 | 77 | </para><para arch="not-s390"> | 95 | </para> |
1552 | 96 | |||
1553 | 97 | <para> | ||
1554 | 78 | 98 | ||
1555 | 79 | Note that if you have two SCSI host bus adapters (i.e., controllers), | 99 | Note that if you have two SCSI host bus adapters (i.e., controllers), |
1556 | 80 | the order of the drives can get confusing. The best solution in this | 100 | the order of the drives can get confusing. The best solution in this |
1557 | 81 | case is to watch the boot messages, assuming you know the drive models | 101 | case is to watch the boot messages, assuming you know the drive models |
1558 | 82 | and/or capacities. | 102 | and/or capacities. |
1559 | 83 | 103 | ||
1561 | 84 | </para><para arch="x86"> | 104 | </para> |
1562 | 105 | |||
1563 | 106 | <para arch="x86"> | ||
1564 | 85 | 107 | ||
1565 | 86 | Linux represents the primary partitions as the drive name, plus the | 108 | Linux represents the primary partitions as the drive name, plus the |
1566 | 87 | numbers 1 through 4. For example, the first primary partition on the | 109 | numbers 1 through 4. For example, the first primary partition on the |
1567 | @@ -91,19 +113,15 @@ | |||
1568 | 91 | partition, that is, the primary partition holding the logical | 113 | partition, that is, the primary partition holding the logical |
1569 | 92 | partitions, is not usable by itself. | 114 | partitions, is not usable by itself. |
1570 | 93 | 115 | ||
1572 | 94 | </para><para arch="sparc"> | 116 | </para> |
1573 | 117 | |||
1574 | 118 | <para arch="sparc"> | ||
1575 | 95 | 119 | ||
1576 | 96 | Sun disk partitions allow for 8 separate partitions (or slices). The | 120 | Sun disk partitions allow for 8 separate partitions (or slices). The |
1577 | 97 | third partition is usually (and is preferred to have) the <quote>Whole | 121 | third partition is usually (and is preferred to have) the <quote>Whole |
1578 | 98 | Disk</quote> partition. This partition references all of the sectors of the | 122 | Disk</quote> partition. This partition references all of the sectors of the |
1579 | 99 | disk, and is used by the boot loader (either SILO, or Sun's). | 123 | disk, and is used by the boot loader (either SILO, or Sun's). |
1580 | 100 | 124 | ||
1581 | 101 | </para><para arch="s390"> | ||
1582 | 102 | |||
1583 | 103 | The partitions on each disk are represented by appending a decimal | ||
1584 | 104 | number to the disk name: <filename>dasda1</filename> and | ||
1585 | 105 | <filename>dasda2</filename> represent the first and | ||
1586 | 106 | second partitions of the first DASD device in your system. | ||
1587 | 107 | |||
1588 | 108 | </para> | 125 | </para> |
1589 | 126 | |||
1590 | 109 | </sect1> | 127 | </sect1> |
1591 | 110 | 128 | ||
1592 | === modified file 'en/partitioning/partition-programs.xml' | |||
1593 | --- en/partitioning/partition-programs.xml 2015-12-19 21:18:18 +0000 | |||
1594 | +++ en/partitioning/partition-programs.xml 2018-06-21 13:42:34 +0000 | |||
1595 | @@ -99,9 +99,9 @@ | |||
1596 | 99 | <listitem><para> | 99 | <listitem><para> |
1597 | 100 | 100 | ||
1598 | 101 | &arch-title; version of <command>fdisk</command>; Please read the | 101 | &arch-title; version of <command>fdisk</command>; Please read the |
1602 | 102 | fdasd manual page or chapter 13 in | 102 | IBM Linux on Z and LinuxONE s390-tools overview and find the fdasd section there |
1603 | 103 | <ulink url="http://oss.software.ibm.com/developerworks/opensource/linux390/docu/l390dd08.pdf"> | 103 | <ulink url="https://www.ibm.com/developerworks/linux/linux390/s390-tools-overview.html"> |
1604 | 104 | Device Drivers and Installation Commands</ulink> for details. | 104 | s390-tools overview</ulink> for further details. |
1605 | 105 | 105 | ||
1606 | 106 | </para></listitem> | 106 | </para></listitem> |
1607 | 107 | </varlistentry> | 107 | </varlistentry> |
1608 | @@ -111,7 +111,7 @@ | |||
1609 | 111 | 111 | ||
1610 | 112 | One of these programs will be run by default when you select | 112 | One of these programs will be run by default when you select |
1611 | 113 | <guimenuitem>Partition disks</guimenuitem> (or similar). It may be possible | 113 | <guimenuitem>Partition disks</guimenuitem> (or similar). It may be possible |
1613 | 114 | to use a different partitioning tool from the command line on VT2, but this | 114 | to use a different partitioning tool<phrase arch="not-s390"> from the command line on VT2</phrase>, but this |
1614 | 115 | is not recommended. | 115 | is not recommended. |
1615 | 116 | 116 | ||
1616 | 117 | </para><para arch="any-x86">Remember to mark your boot partition as | 117 | </para><para arch="any-x86">Remember to mark your boot partition as |
1617 | 118 | 118 | ||
1618 | === modified file 'en/partitioning/schemes.xml' | |||
1619 | --- en/partitioning/schemes.xml 2015-12-19 21:18:18 +0000 | |||
1620 | +++ en/partitioning/schemes.xml 2018-06-21 13:42:34 +0000 | |||
1621 | @@ -7,7 +7,7 @@ | |||
1622 | 7 | <para> | 7 | <para> |
1623 | 8 | 8 | ||
1624 | 9 | For new users, personal &debian; boxes, home systems, and other | 9 | For new users, personal &debian; boxes, home systems, and other |
1626 | 10 | single-user setups, a single <filename>/</filename> partition (plus | 10 | single-user setups, a single <filename>/</filename> partition (possibly plus a separate |
1627 | 11 | swap) is probably the easiest, simplest way to go. However, if your | 11 | swap) is probably the easiest, simplest way to go. However, if your |
1628 | 12 | partition is larger than around 6GB, choose ext3 as your partition | 12 | partition is larger than around 6GB, choose ext3 as your partition |
1629 | 13 | type. Ext2 partitions need periodic file system integrity checking, | 13 | type. Ext2 partitions need periodic file system integrity checking, |
1630 | 14 | 14 | ||
1631 | === modified file 'en/partitioning/sizing.xml' | |||
1632 | --- en/partitioning/sizing.xml 2018-06-06 21:26:51 +0000 | |||
1633 | +++ en/partitioning/sizing.xml 2018-06-21 13:42:34 +0000 | |||
1634 | @@ -13,9 +13,9 @@ | |||
1635 | 13 | strictly true. <phrase><!-- FIXME: nothing like condition="not-debian" or condition="ubuntu-only" supported, yet -->In fact, since Ubuntu 18.04 a swap file rather than a swap partition is now used by default.</phrase> | 13 | strictly true. <phrase><!-- FIXME: nothing like condition="not-debian" or condition="ubuntu-only" supported, yet -->In fact, since Ubuntu 18.04 a swap file rather than a swap partition is now used by default.</phrase> |
1636 | 14 | <quote>Swap</quote> is scratch space for an operating system, | 14 | <quote>Swap</quote> is scratch space for an operating system, |
1637 | 15 | which allows the system to use disk storage as <quote>virtual | 15 | which allows the system to use disk storage as <quote>virtual |
1641 | 16 | memory</quote>. By putting swap on a separate partition, &arch-kernel; can make much | 16 | memory</quote>. |
1642 | 17 | more efficient use of it. <!-- the following no longer applies to Ubuntu 18.04 - see above --> <!-->It is possible to force &arch-kernel; to use a | 17 | &arch-kernel; may use a separate swap partition more efficiently compared to a swap file, but on the other hand side a swap file wastes less disk space compared to a permanently allocated swap partition. |
1643 | 18 | regular file as swap, but it is not recommended.</--> | 18 | <!-- the following no longer applies to Ubuntu 18.04 - see above --> <!-->It is possible to force &arch-kernel; to use a regular file as swap, but it is not recommended.</--> |
1644 | 19 | 19 | ||
1645 | 20 | </para><para> | 20 | </para><para> |
1646 | 21 | 21 | ||
1647 | 22 | 22 | ||
1648 | === modified file 'en/post-install/rescue.xml' | |||
1649 | --- en/post-install/rescue.xml 2018-06-06 21:26:51 +0000 | |||
1650 | +++ en/post-install/rescue.xml 2018-06-21 13:42:34 +0000 | |||
1651 | @@ -13,30 +13,110 @@ | |||
1652 | 13 | have a system to work from while you fix it, and rescue mode can be useful | 13 | have a system to work from while you fix it, and rescue mode can be useful |
1653 | 14 | for this. | 14 | for this. |
1654 | 15 | 15 | ||
1659 | 16 | </para><para arch="not-s390"> | 16 | </para><para> |
1660 | 17 | 17 | ||
1661 | 18 | <!-- TODO: describe what to do on arches where this isn't set up in the | 18 | There are several options to rescue a broken &debian; system on &architecture;: |
1662 | 19 | bootloader --> | 19 | |
1663 | 20 | </para> | ||
1664 | 21 | <itemizedlist> | ||
1665 | 22 | <listitem arch="not-s390"><para> | ||
1666 | 23 | <!-- TODO: describe what to do on arches where this isn't set up in the bootloader --> | ||
1667 | 20 | 24 | ||
1668 | 21 | To access rescue mode, select <userinput>rescue</userinput> from the | 25 | To access rescue mode, select <userinput>rescue</userinput> from the |
1673 | 22 | boot menu, type <userinput>rescue</userinput> at the | 26 | boot menu (if available) or append the boot parameter <userinput>rescue</userinput> |
1674 | 23 | <prompt>boot:</prompt> prompt, or boot with the | 27 | or <userinput>systemd.unit=emergency.target</userinput> |
1675 | 24 | <userinput>rescue/enable=true</userinput> boot parameter. You'll be | 28 | to the <guimenuitem>linux</guimenuitem> kernel boot entry of the boot loader. |
1676 | 25 | shown the first few screens of the installer, with a note in the | 29 | |
1677 | 30 | </para><para> | ||
1678 | 31 | |||
1679 | 32 | While booting the system enter the boot loader menu: | ||
1680 | 33 | |||
1681 | 34 | <informalexample role="example"><screen> | ||
1682 | 35 | GNU GRUB version 2.02 | ||
1683 | 36 | |||
1684 | 37 | ┌────────────────────────────────────────────────────────────────────────────┐ | ||
1685 | 38 | │*Ubuntu │ | ||
1686 | 39 | │ Advanced options for Ubuntu │ | ||
1687 | 40 | │ │ | ||
1688 | 41 | │ │ | ||
1689 | 42 | │ │ | ||
1690 | 43 | │ │ | ||
1691 | 44 | │ │ | ||
1692 | 45 | │ │ | ||
1693 | 46 | │ │ | ||
1694 | 47 | │ │ | ||
1695 | 48 | │ │ | ||
1696 | 49 | │ │ | ||
1697 | 50 | │ │ | ||
1698 | 51 | └────────────────────────────────────────────────────────────────────────────┘ | ||
1699 | 52 | |||
1700 | 53 | Use the ↑ and ↓ keys to select which entry is highlighted. | ||
1701 | 54 | Press enter to boot the selected OS, 'e' to edit the commands | ||
1702 | 55 | before booting or 'c' for a command-line. | ||
1703 | 56 | </screen></informalexample> | ||
1704 | 57 | |||
1705 | 58 | Then type <command>e</command> to edit the boot loader configuration and entries, | ||
1706 | 59 | navigate to your prefered Linux kernel line and append either | ||
1707 | 60 | <userinput>rescue</userinput> or <userinput>systemd.unit=emergency.target</userinput>. | ||
1708 | 61 | |||
1709 | 62 | <informalexample role="example"><screen> | ||
1710 | 63 | GNU GRUB version 2.02 | ||
1711 | 64 | |||
1712 | 65 | ┌────────────────────────────────────────────────────────────────────────────┐ | ||
1713 | 66 | │ insmod ext2 │ | ||
1714 | 67 | │ set root='hd0,gpt2'or Ubuntu │ | ||
1715 | 68 | │ if [ x$feature_platform_search_hint = xy ]; then │ | ||
1716 | 69 | │ search --no-floppy --fs-uuid --set=root --hint-bios=hd0,g\│ | ||
1717 | 70 | │pt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ea967ae0-7519-11eB-85b\│ | ||
1718 | 71 | │d-5254008bdef4 │ | ||
1719 | 72 | │ else │ | ||
1720 | 73 | │ search --no-floppy --fs-uuid --set=root ea967ae0-7519-11e\│ | ||
1721 | 74 | │8-85bd-5254008bdef4 │ | ||
1722 | 75 | │ fi │ | ||
1723 | 76 | │ echo 'Loading Linux 4.15.0-23-generic ...' │ | ||
1724 | 77 | │ linux /boot/vmlinuz-4.15.0-23-generic root=UUID=ea96\│ | ||
1725 | 78 | │7ae0-7519-11eB-85bd-5254008bdef4 ro maybe-ubiquity rescue │ | ||
1726 | 79 | └────────────────────────────────────────────────────────────────────────────┘ | ||
1727 | 80 | |||
1728 | 81 | Minimum Emacs-like screen editing is supported. TAB lists | ||
1729 | 82 | completions. Press Ctrl-x or F10 to boot, Ctrl-c or F2 for | ||
1730 | 83 | a command-line or ESC to discard edits and return to the GRUB menu. | ||
1731 | 84 | </screen></informalexample> | ||
1732 | 85 | |||
1733 | 86 | Then press either Ctrl-x or F10 to boot with the modified entry | ||
1734 | 87 | and the system will enter the rescue mode. | ||
1735 | 88 | |||
1736 | 89 | <informalexample role="example"><screen> | ||
1737 | 90 | ... | ||
1738 | 91 | [ OK ] Started Update UTMP about System Runlevel Changes. | ||
1739 | 92 | You are in rescue mode. After logging in, type "journalctl -xb" to view | ||
1740 | 93 | system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" | ||
1741 | 94 | to boot into default mode. | ||
1742 | 95 | Press Enter for maintenance | ||
1743 | 96 | (or press Control-D to continue): | ||
1744 | 97 | root@ubuntu:~# | ||
1745 | 98 | </screen></informalexample> | ||
1746 | 99 | |||
1747 | 100 | </para></listitem> | ||
1748 | 101 | |||
1749 | 102 | <listitem arch="not-s390"><para> | ||
1750 | 103 | <!-- TODO: describe what to do on arches where this isn't set up in the bootloader --> | ||
1751 | 104 | |||
1752 | 105 | Alternatively the installer can be booted with the <userinput>rescue=true</userinput> boot parameter. <!-- FIXME: Does this still apply for amd64, since there is subuquity on amd64? --> | ||
1753 | 106 | You'll be shown the first few screens of the installer, with a note in the | ||
1754 | 26 | corner of the display to indicate that this is rescue mode, not a full | 107 | corner of the display to indicate that this is rescue mode, not a full |
1755 | 27 | installation. Don't worry, your system is not about to be overwritten! | 108 | installation. Don't worry, your system is not about to be overwritten! |
1756 | 28 | Rescue mode simply takes advantage of the hardware detection | 109 | Rescue mode simply takes advantage of the hardware detection |
1757 | 29 | facilities available in the installer to ensure that your disks, | 110 | facilities available in the installer to ensure that your disks, |
1768 | 30 | network devices, and so on are available to you while repairing your | 111 | network devices, and so on are available to you while repairing your system. |
1769 | 31 | system. | 112 | |
1770 | 32 | 113 | </para><para> | |
1771 | 33 | </para><para arch="s390"> | 114 | |
1772 | 34 | 115 | </para></listitem> | |
1773 | 35 | There are two options to rescue a broken &debian; on &architecture; system: | 116 | |
1774 | 36 | 117 | <listitem arch="s390"><para> <!-- FIXME: nothing like condition="not-debian" or condition="ubuntu-only" supported, yet --> | |
1775 | 37 | </para><para arch="s390"> | 118 | |
1776 | 38 | 119 | The zipl boot menu offers by default an option to boot an <guimenuitem>old</guimenuitem> kernel via the boot option number <guimenuitem>2</guimenuitem>. | |
1767 | 39 | First of all the zipl boot menu usually offers an option to boot an <guimenuitem>old</guimenuitem> kernel via the boot option number <guimenuitem>2</guimenuitem>. | ||
1777 | 40 | <informalexample role="example"><screen> | 120 | <informalexample role="example"><screen> |
1778 | 41 | zIPL v2.3.0-build-20180425 interactive boot menu | 121 | zIPL v2.3.0-build-20180425 interactive boot menu |
1779 | 42 | 122 | ||
1780 | @@ -46,43 +126,213 @@ | |||
1781 | 46 | 2. old | 126 | 2. old |
1782 | 47 | Please choose (default will boot in 10 seconds): | 127 | Please choose (default will boot in 10 seconds): |
1783 | 48 | </screen></informalexample> | 128 | </screen></informalexample> |
1785 | 49 | Boot problems are often introduced by a kernel change. | 129 | Boot problems are often introduced with a kernel change. |
1786 | 50 | So there is a good chance that the prior / old kernel will still work. | 130 | So there is a good chance that the prior / old kernel will still work. |
1787 | 51 | 131 | ||
1811 | 52 | </para><para arch="s390"> | 132 | </para></listitem> |
1812 | 53 | 133 | <listitem arch="s390"><para> <!-- FIXME: nothing like condition="not-debian" or condition="ubuntu-only" supported, yet --> | |
1813 | 54 | The second option is to boot an installation kernel and select from the inital screen the <guimenuitem>Start shell</guimenuitem> entry. | 134 | |
1814 | 55 | <informalexample role="example"><screen> | 135 | Another option is to use the installation kernel and initrd in it's rescue mode (sometimes also known as recovery mode). |
1815 | 56 | ┌────────────────────────┤ [!!] Configuring d-i ├─────────────────────────┐ | 136 | To activate the rescue mode, one needs to boot with the <quote>rescue/enable=true</quote> boot parameter, |
1816 | 57 | │ │ | 137 | and this parameter needs to be added to the <filename>parmfile.&debian-lc;</filename> file. |
1817 | 58 | │ This is the network console for the Debian installer. From here, you │ | 138 | This is slightly different for an LPAR compared to a z/VM guest. |
1818 | 59 | │ may start the Debian installer, or execute an interactive shell. │ | 139 | |
1819 | 60 | │ │ | 140 | </para><para> |
1820 | 61 | │ To return to this menu, you will need to log in again. │ | 141 | For an LPAR change to the network install server, where the image got extracted and enter the image's ./boot folder. |
1821 | 62 | │ │ | 142 | You can now just open the <filename>parmfile.&debian-lc;</filename>, add the <quote>rescue/enable=true</quote> boot parameter |
1822 | 63 | │ Network console option: │ | 143 | and proceed like you would usually do for an LPAR installation, means with the HMC task |
1823 | 64 | │ │ | 144 | <guimenuitem>Load from Removable Media or Server</guimenuitem>. |
1824 | 65 | │ Start installer │ | 145 | </para><para> |
1825 | 66 | │ Start installer (expert mode) │ | 146 | But at this point it's better to add a dedicated boot entry for the rescue mode. |
1826 | 67 | │ Start shell │ | 147 | Therefore you need to copy the <filename>parmfile.&debian-lc;</filename> and the <filename>&debian-lc;.ins</filename> |
1827 | 68 | │ │ | 148 | to create seperate versions for the rescue mode which finally result in a separate rescue mode entry at the <guimenuitem>Load from Removable Media or Server</guimenuitem> task: |
1828 | 69 | └─────────────────────────────────────────────────────────────────────────┘ | 149 | |
1829 | 70 | </screen></informalexample> | 150 | <informalexample role="example"><screen> |
1830 | 71 | The functionality in the &d-i; shell is limited, however, it can still act as a rescue system to fix a broken installation. | 151 | Login to your network boot (FTP) server. |
1831 | 72 | 152 | ||
1832 | 73 | </para><para arch="not-s390"> | 153 | $ cd <path to the extracted &debian-lc; server image>/&debian-lc;-server-&release;/boot |
1833 | 74 | 154 | $ cp &debian-lc;.ins rescue.ins | |
1834 | 155 | $ cp parmfile.&debian-lc; parmfile.rescue | ||
1835 | 156 | |||
1836 | 157 | Change rescue.ins from it's default: | ||
1837 | 158 | $ cat rescue.ins | ||
1838 | 159 | * &debian; for z Series (default kernel) | ||
1839 | 160 | kernel.&debian-lc; 0x00000000 | ||
1840 | 161 | initrd.off 0x0001040c | ||
1841 | 162 | initrd.siz 0x00010414 | ||
1842 | 163 | parmfile.&debian-lc; 0x00010480 | ||
1843 | 164 | initrd.&debian-lc; 0x01000000 | ||
1844 | 165 | |||
1845 | 166 | To the following: | ||
1846 | 167 | $ cat rescue.ins | ||
1847 | 168 | * &debian; for z Series (default kernel) | ||
1848 | 169 | kernel.&debian-lc; 0x00000000 | ||
1849 | 170 | initrd.off 0x0001040c | ||
1850 | 171 | initrd.siz 0x00010414 | ||
1851 | 172 | parmfile.rescue 0x00010480 | ||
1852 | 173 | initrd.&debian-lc; 0x01000000 | ||
1853 | 174 | |||
1854 | 175 | And open parmfile.rescue and add <quote>rescue/enable=true</quote> (the parmfile is empty by default): | ||
1855 | 176 | $ cat parmfile.rescue | ||
1856 | 177 | rescue/enable=true | ||
1857 | 178 | </screen></informalexample> | ||
1858 | 179 | |||
1859 | 180 | Now start the <guimenuitem>Load from Removable Media or Server</guimenuitem> task, select <guimenuitem>FTP source</guimenuitem>, | ||
1860 | 181 | enter the data of your network boot (FTP) server, and the step <guimenuitem>Select the software to install</guimenuitem> | ||
1861 | 182 | you will find in addition to the default entry another entry for the rescue mode: | ||
1862 | 183 | |||
1863 | 184 | <informalexample role="example"><screen> | ||
1864 | 185 | Load from Removable Media or Server - Select Software to Install - P00ABCDE:LINLPAR | ||
1865 | 186 | Select the software to install. | ||
1866 | 187 | Select | Name | Description | ||
1867 | 188 | * | &debian-lc;-server-&release;/boot/rescue.ins | &debian; for z Series (default kernel) | ||
1868 | 189 | o | &debian-lc;-server-&release;/boot/&debian-lc;.ins | &debian; for z Series (default kernel) | ||
1869 | 190 | </screen></informalexample> | ||
1870 | 191 | |||
1871 | 192 | Make sure <guimenuitem>&debian-lc;-server-&release;/boot/rescue.ins</guimenuitem> is selected and proceed with <guimenuitem>OK</guimenuitem>. | ||
1872 | 193 | </para><para> | ||
1873 | 194 | For a z/VM guest you need to access the Minidisk where the installer files, | ||
1874 | 195 | including the <filename>parmfile.&debian-lc;</filename> is located, add the <quote>rescue/enable=true</quote> boot parameter | ||
1875 | 196 | and proceed like you would usually do for a z/VM installation, means by executing the <guimenuitem>&debian-lc; exec</guimenuitem> REXX script. | ||
1876 | 197 | |||
1877 | 198 | But here it's again better to add a dedicated boot script for the rescue mode. | ||
1878 | 199 | Therefore you need to copy the <filename>parmfile &debian-lc;</filename> and the <filename>&debian-lc; exec</filename> | ||
1879 | 200 | to create seperate versions for the rescue mode: | ||
1880 | 201 | |||
1881 | 202 | <informalexample role="example"><screen> | ||
1882 | 203 | Logon to your z/VM system, have CMS active (ipl-ed) | ||
1883 | 204 | and make sure you have r/w acces to the Minidisk where the installations files are located. | ||
1884 | 205 | In this example <quote>File Mode</quote> (Fm) <quote>A</quote> is used, that might be different on your system. | ||
1885 | 206 | Copy the following files: | ||
1886 | 207 | |||
1887 | 208 | copyfiles &debian-lc; exec a rescue exec a | ||
1888 | 209 | copyfiles parmfile &debian-lc; a parmfile rescue a | ||
1889 | 210 | |||
1890 | 211 | listfiles rescue * a | ||
1891 | 212 | RESCUE EXEC A1 | ||
1892 | 213 | listfiles * rescue a | ||
1893 | 214 | PARMFILE RESCUE A1 | ||
1894 | 215 | |||
1895 | 216 | Change PARMFILE RESCUE (by default it's empty): | ||
1896 | 217 | |||
1897 | 218 | x PARMFILE RESCUE A | ||
1898 | 219 | * * * Top of File * * * | ||
1899 | 220 | |||
1900 | 221 | * * * End of File * * * | ||
1901 | 222 | |||
1902 | 223 | To the following: | ||
1903 | 224 | |||
1904 | 225 | x PARMFILE RESCUE A | ||
1905 | 226 | * * * Top of File * * * | ||
1906 | 227 | rescue/enable=true | ||
1907 | 228 | * * * End of File * * * | ||
1908 | 229 | |||
1909 | 230 | Now modify the RESCUE EXEC file as well so that it point to the new <filename>parmfile rescue</filename> file: | ||
1910 | 231 | x RESCUE EXEC A | ||
1911 | 232 | * * * Top of File * * * | ||
1912 | 233 | /* REXX EXEC TO IPL &debian;'s Rescue Mode */ | ||
1913 | 234 | /* z Systems FROM THE VM READER. */ | ||
1914 | 235 | /* */ | ||
1915 | 236 | 'CP CLOSE RDR' | ||
1916 | 237 | 'PURGE RDR ALL' | ||
1917 | 238 | 'SPOOL PUNCH * RDR' | ||
1918 | 239 | 'PUNCH KERNEL UBUNTU * (NOHEADER' | ||
1919 | 240 | 'PUNCH PARMFILE RESCUE * (NOHEADER' | ||
1920 | 241 | 'PUNCH INITRD UBUNTU * (NOHEADER' | ||
1921 | 242 | 'CHANGE RDR ALL KEEP NOHOLD' | ||
1922 | 243 | 'CP IPL 000C CLEAR' | ||
1923 | 244 | * * * End of File * * * | ||
1924 | 245 | </screen></informalexample> | ||
1925 | 246 | </para> | ||
1926 | 247 | |||
1927 | 248 | <para>Now start the z/VM guest installation as usual, but using the newly created REXX script for the rescue mode, hence just type: | ||
1928 | 249 | <command>rescue <Enter></command> | ||
1929 | 250 | </para><para> | ||
1930 | 251 | Don't worry, your system is not about to be overwritten! <quote>Rescue</quote> mode simply takes advantage of the hardware detection facilities available in the installer to ensure that your disks, network devices, and so on are available to you while repairing your system. | ||
1931 | 252 | </para> | ||
1932 | 253 | |||
1933 | 254 | <para>Using either of the two installation types you'll be shown the first few screens of the installer, with a note in the corner of the display to indicate that this is rescue mode, not a full installation: | ||
1934 | 255 | |||
1935 | 256 | <informalexample role="example"><screen> | ||
1936 | 257 | Rescue mode | ||
1937 | 258 | ┌─────────┤ [?] Ubuntu installer main menu ├─────────┐ | ||
1938 | 259 | │ │ | ||
1939 | 260 | │ Choose the next step in the install process: │ | ||
1940 | 261 | │ │ | ||
1941 | 262 | │ Configure the network device │ | ||
1942 | 263 | │ Configure the network │ | ||
1943 | 264 | │ Choose language │ | ||
1944 | 265 | │ Choose a mirror of the Ubuntu archive │ | ||
1945 | 266 | │ Download installer components │ | ||
1946 | 267 | │ Change debconf priority │ | ||
1947 | 268 | │ Save debug logs │ | ||
1948 | 269 | │ Execute a shell │ | ||
1949 | 270 | │ Abort the installation │ | ||
1950 | 271 | │ │ | ||
1951 | 272 | └────────────────────────────────────────────────────┘ | ||
1952 | 273 | </screen></informalexample> | ||
1953 | 274 | |||
1954 | 275 | Don't worry, your system is not about to be overwritten! Rescue mode simply takes advantage of the hardware detection facilities available in the installer to ensure that your disks, network devices, and so on are available to you while repairing your system.</para> | ||
1955 | 276 | |||
1956 | 277 | <para> | ||
1957 | 75 | Instead of the partitioning tool, you should now be presented with a list of | 278 | Instead of the partitioning tool, you should now be presented with a list of |
1958 | 76 | the partitions on your system, and asked to select one of them. Normally, | 279 | the partitions on your system, and asked to select one of them. Normally, |
1959 | 77 | you should select the partition containing the root file system that you | 280 | you should select the partition containing the root file system that you |
1960 | 78 | need to repair. You may select partitions on RAID and LVM devices as well as | 281 | need to repair. You may select partitions on RAID and LVM devices as well as |
1964 | 79 | those created directly on disks. | 282 | those created directly on disks: |
1965 | 80 | 283 | ||
1966 | 81 | </para><para arch="not-s390"> | 284 | <informalexample role="example"><screen> |
1967 | 285 | Rescue mode | ||
1968 | 286 | ┌───────────────────────┤ [!!] Enter rescue mode ├────────────────────────┐ | ||
1969 | 287 | │ │ | ||
1970 | 288 | │ Enter a device you wish to use as your root file system. You will be │ | ||
1971 | 289 | │ able to choose among various rescue operations to perform on this │ | ||
1972 | 290 | │ file system. │ | ||
1973 | 291 | │ │ | ||
1974 | 292 | │ If you choose not to use a root file system, you will be given a │ | ||
1975 | 293 | │ reduced choice of operations that can be performed without one. This │ | ||
1976 | 294 | │ may be useful if you need to correct a partitioning problem. │ | ||
1977 | 295 | │ │ | ||
1978 | 296 | │ Device to use as root file system: │ | ||
1979 | 297 | │ │ | ||
1980 | 298 | │ /dev/sda1 │ | ||
1981 | 299 | │ /dev/sdb1 │ | ||
1982 | 300 | │ Assemble RAID array │ | ||
1983 | 301 | │ │ | ||
1984 | 302 | │ <Go Back> │ | ||
1985 | 303 | │ │ | ||
1986 | 304 | └─────────────────────────────────────────────────────────────────────────┘ | ||
1987 | 305 | </screen></informalexample> | ||
1988 | 306 | |||
1989 | 307 | <!--- | ||
1990 | 308 | The <guimenuitem>Ubuntu installer main menu</guimenuitem> provides the menu item <guimenuitem>Enter rescue mode</guimenuitem>. | ||
1991 | 309 | |||
1992 | 310 | <informalexample role="example"><screen> | ||
1993 | 311 | Rescue mode | ||
1994 | 312 | ┌──────────────┤ [?] Ubuntu installer main menu ├──────────────┐ | ||
1995 | 313 | │ │ | ||
1996 | 314 | │ Choose the next step in the install process: │ | ||
1997 | 315 | │ │ | ||
1998 | 316 | │ Detect virtual driver disks from hardware manufacturer │ | ||
1999 | 317 | │ Configure the network device │ | ||
2000 | 318 | │ Configure the network │ | ||
2001 | 319 | │ Choose language │ | ||
2002 | 320 | │ Choose a mirror of the Ubuntu archive │ | ||
2003 | 321 | │ Download installer components │ | ||
2004 | 322 | │ Configure the clock │ | ||
2005 | 323 | │ Configure direct access storage devices (DASD) │ | ||
2006 | 324 | │ Activate FCP devices for installation │ | ||
2007 | 325 | │ Detect disks │ | ||
2008 | 326 | │ Enter rescue mode * │ | ||
2009 | 327 | │ │ | ||
2010 | 328 | └──────────────────────────────────────────────────────────────┘ | ||
2011 | 329 | </screen></informalexample> | ||
2012 | 330 | --> | ||
2013 | 331 | |||
2014 | 332 | </para><para> <!-- removed: arch="not-s390" --> | ||
2015 | 82 | 333 | ||
2016 | 83 | If possible, the installer will now present you with a shell prompt in the | 334 | If possible, the installer will now present you with a shell prompt in the |
2019 | 84 | file system you selected, which you can use to perform any necessary | 335 | file system you selected, which you can use to perform any necessary repairs. |
2018 | 85 | repairs. | ||
2020 | 86 | 336 | ||
2021 | 87 | <phrase arch="any-x86"> | 337 | <phrase arch="any-x86"> |
2022 | 88 | For example, if you need to reinstall the GRUB boot loader into the master | 338 | For example, if you need to reinstall the GRUB boot loader into the master |
2023 | @@ -90,16 +340,45 @@ | |||
2024 | 90 | <userinput>grub-install '(hd0)'</userinput> to do so. | 340 | <userinput>grub-install '(hd0)'</userinput> to do so. |
2025 | 91 | </phrase> | 341 | </phrase> |
2026 | 92 | 342 | ||
2028 | 93 | </para><para arch="not-s390"> | 343 | </para><para> <!-- removed: arch="not-s390" --> |
2029 | 94 | 344 | ||
2030 | 95 | If the installer cannot run a usable shell in the root file system you | 345 | If the installer cannot run a usable shell in the root file system you |
2031 | 96 | selected, perhaps because the file system is corrupt, then it will issue a | 346 | selected, perhaps because the file system is corrupt, then it will issue a |
2032 | 97 | warning and offer to give you a shell in the installer environment instead. | 347 | warning and offer to give you a shell in the installer environment instead. |
2033 | 348 | |||
2034 | 98 | You may not have as many tools available in this environment, but they will | 349 | You may not have as many tools available in this environment, but they will |
2036 | 99 | often be enough to repair your system anyway. The root file system you | 350 | often be enough to repair your system anyway. |
2037 | 351 | The root file system you | ||
2038 | 100 | selected will be mounted on the <filename>/target</filename> directory. | 352 | selected will be mounted on the <filename>/target</filename> directory. |
2039 | 101 | 353 | ||
2041 | 102 | </para><para arch="not-s390"> | 354 | </para></listitem> |
2042 | 355 | <listitem><para> <!-- FIXME: Does this still apply for amd64, since there is subuquity on amd64? --> | ||
2043 | 356 | |||
2044 | 357 | A trivial option is to just boot the standard installation kernel and initrd without any additional kernel parameter, and select from the inital screen the <guimenuitem>Start shell</guimenuitem> entry. | ||
2045 | 358 | |||
2046 | 359 | <informalexample role="example"><screen> | ||
2047 | 360 | ┌────────────────────────┤ [!!] Configuring d-i ├─────────────────────────┐ | ||
2048 | 361 | │ │ | ||
2049 | 362 | │ This is the network console for the Debian installer. From here, you │ | ||
2050 | 363 | │ may start the Debian installer, or execute an interactive shell. │ | ||
2051 | 364 | │ │ | ||
2052 | 365 | │ To return to this menu, you will need to log in again. │ | ||
2053 | 366 | │ │ | ||
2054 | 367 | │ Network console option: │ | ||
2055 | 368 | │ │ | ||
2056 | 369 | │ Start installer │ | ||
2057 | 370 | │ Start installer (expert mode) │ | ||
2058 | 371 | │ Start shell │ | ||
2059 | 372 | │ │ | ||
2060 | 373 | └─────────────────────────────────────────────────────────────────────────┘ | ||
2061 | 374 | </screen></informalexample> | ||
2062 | 375 | |||
2063 | 376 | The functionality in the &d-i; shell is limited, however, it can still act as a rescue system to fix a broken installation. | ||
2064 | 377 | While not using the rescue mode, be careful to not accidentially repartition or format any disk which may cause data loss. | ||
2065 | 378 | |||
2066 | 379 | </para> | ||
2067 | 380 | </listitem> | ||
2068 | 381 | </itemizedlist><para> | ||
2069 | 103 | 382 | ||
2070 | 104 | In either case, after you exit the shell, the system will reboot. | 383 | In either case, after you exit the shell, the system will reboot. |
2071 | 105 | 384 | ||
2072 | 106 | 385 | ||
2073 | === modified file 'en/preparing/non-debian-partitioning.xml' | |||
2074 | --- en/preparing/non-debian-partitioning.xml 2018-06-06 21:26:51 +0000 | |||
2075 | +++ en/preparing/non-debian-partitioning.xml 2018-06-21 13:42:34 +0000 | |||
2076 | @@ -21,7 +21,7 @@ | |||
2077 | 21 | If you already have an operating system on your system | 21 | If you already have an operating system on your system |
2078 | 22 | 22 | ||
2079 | 23 | <phrase arch="any-x86"> | 23 | <phrase arch="any-x86"> |
2081 | 24 | (Windows 9x, Windows NT/2000/XP/2003/Vista/7, OS/2, MacOS, Solaris, FreeBSD, …) | 24 | (Windows 9x, Windows NT/2000/XP/2003/Vista/7/8/10, OS/2, MacOS, Solaris, FreeBSD, …) |
2082 | 25 | </phrase> | 25 | </phrase> |
2083 | 26 | 26 | ||
2084 | 27 | <phrase arch="s390"> | 27 | <phrase arch="s390"> |
2085 | @@ -34,12 +34,13 @@ | |||
2086 | 34 | partitions with other Unix systems, but that's not covered here. | 34 | partitions with other Unix systems, but that's not covered here. |
2087 | 35 | At the very least you will need a dedicated partition for the &debian; | 35 | At the very least you will need a dedicated partition for the &debian; |
2088 | 36 | root filesystem. | 36 | root filesystem. |
2090 | 37 | <note><para arch="s390"> | 37 | |
2091 | 38 | <note arch="s390"><para> | ||
2092 | 38 | Please notice that it's quite unusual on &architecture; to use different partitions of one disk for different operating systems. However, the operating system boundary is usually an entire disk or mini disk rather than a partition. | 39 | Please notice that it's quite unusual on &architecture; to use different partitions of one disk for different operating systems. However, the operating system boundary is usually an entire disk or mini disk rather than a partition. |
2093 | 39 | </para></note> | 40 | </para></note> |
2097 | 40 | 41 | </para> | |
2098 | 41 | </para><para> | 42 | |
2099 | 42 | 43 | <para> | |
2100 | 43 | You can find information about your current partition setup by using | 44 | You can find information about your current partition setup by using |
2101 | 44 | a partitioning tool for your current operating system<phrase | 45 | a partitioning tool for your current operating system<phrase |
2102 | 45 | arch="any-x86">, such as the integrated Disk Manager in Windows or fdisk in | 46 | arch="any-x86">, such as the integrated Disk Manager in Windows or fdisk in |
2103 | 46 | 47 | ||
2104 | === modified file 'en/using-d-i/modules/localechooser.xml' | |||
2105 | --- en/using-d-i/modules/localechooser.xml 2015-12-19 21:18:18 +0000 | |||
2106 | +++ en/using-d-i/modules/localechooser.xml 2018-06-21 13:42:34 +0000 | |||
2107 | @@ -63,13 +63,15 @@ | |||
2108 | 63 | that country selected as the default. Use the <guibutton>Go Back</guibutton> | 63 | that country selected as the default. Use the <guibutton>Go Back</guibutton> |
2109 | 64 | option to select countries on a different continent. | 64 | option to select countries on a different continent. |
2110 | 65 | 65 | ||
2112 | 66 | </para><note><para> | 66 | </para> |
2113 | 67 | <note><para> | ||
2114 | 67 | 68 | ||
2115 | 68 | It is important to select the country where you live or where you are | 69 | It is important to select the country where you live or where you are |
2116 | 69 | located as it determines the time zone that will be configured for the | 70 | located as it determines the time zone that will be configured for the |
2117 | 70 | installed system. | 71 | installed system. |
2118 | 71 | 72 | ||
2120 | 72 | </para></note><para> | 73 | </para></note> |
2121 | 74 | <para> | ||
2122 | 73 | 75 | ||
2123 | 74 | If you selected a combination of language and country for which no locale is | 76 | If you selected a combination of language and country for which no locale is |
2124 | 75 | defined and there exist multiple locales for the language, then the installer | 77 | defined and there exist multiple locales for the language, then the installer |
2125 | 76 | 78 | ||
2126 | === modified file 'en/using-d-i/modules/mdcfg.xml' | |||
2127 | --- en/using-d-i/modules/mdcfg.xml 2015-12-19 21:18:18 +0000 | |||
2128 | +++ en/using-d-i/modules/mdcfg.xml 2018-06-21 13:42:34 +0000 | |||
2129 | @@ -211,7 +211,8 @@ | |||
2130 | 211 | <guimenu>Use as:</guimenu> <guimenuitem>physical volume for | 211 | <guimenu>Use as:</guimenu> <guimenuitem>physical volume for |
2131 | 212 | RAID</guimenuitem> </menuchoice>.) | 212 | RAID</guimenuitem> </menuchoice>.) |
2132 | 213 | 213 | ||
2134 | 214 | </para><note><para> | 214 | </para> |
2135 | 215 | <note><para> | ||
2136 | 215 | 216 | ||
2137 | 216 | Make sure that the system can be booted with the partitioning scheme | 217 | Make sure that the system can be booted with the partitioning scheme |
2138 | 217 | you are planning. In general it will be necessary to create a separate | 218 | you are planning. In general it will be necessary to create a separate |
2139 | @@ -222,7 +223,8 @@ | |||
2140 | 222 | <filename>/</filename> and RAID1 for <filename>/boot</filename> can be | 223 | <filename>/</filename> and RAID1 for <filename>/boot</filename> can be |
2141 | 223 | an option. | 224 | an option. |
2142 | 224 | 225 | ||
2144 | 225 | </para></note><para> | 226 | </para></note> |
2145 | 227 | <para> | ||
2146 | 226 | 228 | ||
2147 | 227 | Next, you should choose <guimenuitem>Configure software | 229 | Next, you should choose <guimenuitem>Configure software |
2148 | 228 | RAID</guimenuitem> from the main <command>partman</command> menu. | 230 | RAID</guimenuitem> from the main <command>partman</command> menu. |
2149 | 229 | 231 | ||
2150 | === modified file 'en/using-d-i/modules/netcfg.xml' | |||
2151 | --- en/using-d-i/modules/netcfg.xml 2018-06-06 21:26:51 +0000 | |||
2152 | +++ en/using-d-i/modules/netcfg.xml 2018-06-21 13:42:34 +0000 | |||
2153 | @@ -56,7 +56,8 @@ | |||
2154 | 56 | Fill in the answers from | 56 | Fill in the answers from |
2155 | 57 | <xref linkend="needed-info"/>. | 57 | <xref linkend="needed-info"/>. |
2156 | 58 | 58 | ||
2158 | 59 | </para><note><para> | 59 | </para> |
2159 | 60 | <note><para> | ||
2160 | 60 | 61 | ||
2161 | 61 | Some technical details you might, or might not, find handy: the program | 62 | Some technical details you might, or might not, find handy: the program |
2162 | 62 | assumes the network IP address is the bitwise-AND of your system's IP | 63 | assumes the network IP address is the bitwise-AND of your system's IP |
2163 | @@ -64,7 +65,9 @@ | |||
2164 | 64 | the bitwise OR of your system's IP address with the bitwise negation of | 65 | the bitwise OR of your system's IP address with the bitwise negation of |
2165 | 65 | the netmask. It will also guess your gateway. If you can't find any of | 66 | the netmask. It will also guess your gateway. If you can't find any of |
2166 | 66 | these answers, use the offered defaults — if necessary, you can | 67 | these answers, use the offered defaults — if necessary, you can |
2168 | 67 | change them by editing <filename>/etc/netplan/01-netcfg.yaml</filename> (or <filename>/etc/network/interfaces</filename> - in case you switched from netplan to ifupdown) once the system has been installed. | 68 | change them by editing <filename>/etc/netplan/01-netcfg.yaml</filename> |
2169 | 69 | (or <filename>/etc/network/interfaces</filename> - in case you switched from netplan to ifupdown) | ||
2170 | 70 | once the system has been installed. | ||
2171 | 68 | 71 | ||
2172 | 69 | </para></note> | 72 | </para></note> |
2173 | 70 | </sect4> | 73 | </sect4> |
2174 | 71 | 74 | ||
2175 | === modified file 'en/using-d-i/modules/network-console.xml' | |||
2176 | --- en/using-d-i/modules/network-console.xml 2018-06-06 21:26:51 +0000 | |||
2177 | +++ en/using-d-i/modules/network-console.xml 2018-06-21 13:42:34 +0000 | |||
2178 | @@ -69,7 +69,8 @@ | |||
2179 | 69 | login the fingerprint of the remote system will be displayed and | 69 | login the fingerprint of the remote system will be displayed and |
2180 | 70 | you will have to confirm that it is correct. | 70 | you will have to confirm that it is correct. |
2181 | 71 | 71 | ||
2183 | 72 | </para><note><para> | 72 | </para> |
2184 | 73 | <note><para> | ||
2185 | 73 | 74 | ||
2186 | 74 | The <command>ssh</command> server in the installer uses a default | 75 | The <command>ssh</command> server in the installer uses a default |
2187 | 75 | configuration that does not send keep-alive packets. In principle, | 76 | configuration that does not send keep-alive packets. In principle, |
2188 | @@ -108,7 +109,8 @@ | |||
2189 | 108 | <command>ssh-keygen -R <<replaceable>hostname</replaceable>|<replaceable>IP address</replaceable>></command>. | 109 | <command>ssh-keygen -R <<replaceable>hostname</replaceable>|<replaceable>IP address</replaceable>></command>. |
2190 | 109 | </para></footnote> and try again. | 110 | </para></footnote> and try again. |
2191 | 110 | 111 | ||
2193 | 111 | </para></note><para> | 112 | </para></note> |
2194 | 113 | <para> | ||
2195 | 112 | 114 | ||
2196 | 113 | After the login you will be presented with an initial screen where you | 115 | After the login you will be presented with an initial screen where you |
2197 | 114 | have two possibilities called <guimenuitem>Start menu</guimenuitem> and | 116 | have two possibilities called <guimenuitem>Start menu</guimenuitem> and |
2198 | 115 | 117 | ||
2199 | === modified file 'en/using-d-i/modules/partman-crypto.xml' | |||
2200 | --- en/using-d-i/modules/partman-crypto.xml 2018-06-06 21:26:51 +0000 | |||
2201 | +++ en/using-d-i/modules/partman-crypto.xml 2018-06-21 13:42:34 +0000 | |||
2202 | @@ -30,14 +30,20 @@ | |||
2203 | 30 | unencrypted, because currently there is no way to load the kernel from | 30 | unencrypted, because currently there is no way to load the kernel from |
2204 | 31 | an encrypted partition. | 31 | an encrypted partition. |
2205 | 32 | 32 | ||
2207 | 33 | </para><note><para> | 33 | </para> |
2208 | 34 | <note><para> | ||
2209 | 34 | 35 | ||
2210 | 35 | Please note that the performance of encrypted partitions will be | 36 | Please note that the performance of encrypted partitions will be |
2211 | 36 | less than that of unencrypted ones because the data needs to be | 37 | less than that of unencrypted ones because the data needs to be |
2212 | 37 | decrypted or encrypted for every read or write. The performance impact | 38 | decrypted or encrypted for every read or write. The performance impact |
2214 | 38 | depends on your CPU speed, chosen cipher, the key length and whether you use hardware assisted cryptography operations or not<phrase arch="s390"> (like supported by CPACF, the Central Processor Assist for Cryptographic Function feature, or the CryptoExpress adapter cards)</phrase>. | 39 | depends on your CPU speed, chosen cipher, the key length and whether |
2215 | 40 | you use hardware assisted cryptography operations or not<phrase arch="s390"> | ||
2216 | 41 | (like supported by CPACF, | ||
2217 | 42 | the Central Processor Assist for Cryptographic Function feature, | ||
2218 | 43 | or the CryptoExpress adapter cards)</phrase>. | ||
2219 | 39 | 44 | ||
2221 | 40 | </para></note><para> | 45 | </para></note> |
2222 | 46 | <para> | ||
2223 | 41 | 47 | ||
2224 | 42 | To use encryption, you have to create a new partition by selecting | 48 | To use encryption, you have to create a new partition by selecting |
2225 | 43 | some free space in the main partitioning menu. Another option is to | 49 | some free space in the main partitioning menu. Another option is to |
2226 | 44 | 50 | ||
2227 | === modified file 'en/using-d-i/modules/partman.xml' | |||
2228 | --- en/using-d-i/modules/partman.xml 2018-06-06 21:26:51 +0000 | |||
2229 | +++ en/using-d-i/modules/partman.xml 2018-06-21 13:42:34 +0000 | |||
2230 | @@ -332,12 +332,14 @@ | |||
2231 | 332 | This example shows two hard drives divided into several partitions; | 332 | This example shows two hard drives divided into several partitions; |
2232 | 333 | the first disk has some free space. Each partition line consists of | 333 | the first disk has some free space. Each partition line consists of |
2233 | 334 | the partition number, its type, size, optional flags, file system, and | 334 | the partition number, its type, size, optional flags, file system, and |
2235 | 335 | mountpoint (if any).<note>This particular setup cannot be created | 335 | mountpoint (if any).</para> |
2236 | 336 | <note><para> | ||
2237 | 337 | This particular setup cannot be created | ||
2238 | 336 | using guided partitioning but it does show possible variation that can | 338 | using guided partitioning but it does show possible variation that can |
2243 | 337 | be achieved using manual partitioning.</note> | 339 | be achieved using manual partitioning. |
2244 | 338 | 340 | </para></note> | |
2245 | 339 | </para><para> | 341 | |
2246 | 340 | 342 | <para> | |
2247 | 341 | This concludes the guided partitioning. If you are satisfied with the | 343 | This concludes the guided partitioning. If you are satisfied with the |
2248 | 342 | generated partition table, you can choose <guimenuitem>Finish | 344 | generated partition table, you can choose <guimenuitem>Finish |
2249 | 343 | partitioning and write changes to disk</guimenuitem> from the menu to | 345 | partitioning and write changes to disk</guimenuitem> from the menu to |
2250 | 344 | 346 | ||
2251 | === modified file 'en/using-d-i/modules/pkgsel.xml' | |||
2252 | --- en/using-d-i/modules/pkgsel.xml 2018-06-06 21:26:51 +0000 | |||
2253 | +++ en/using-d-i/modules/pkgsel.xml 2018-06-21 13:42:34 +0000 | |||
2254 | @@ -46,7 +46,9 @@ | |||
2255 | 46 | computer you are installing. If you disagree with these selections you can | 46 | computer you are installing. If you disagree with these selections you can |
2256 | 47 | deselect them. You can even opt to install no tasks at all at this point. | 47 | deselect them. You can even opt to install no tasks at all at this point. |
2257 | 48 | 48 | ||
2259 | 49 | </para><para arch="s390"> | 49 | </para> |
2260 | 50 | |||
2261 | 51 | <para arch="s390"> | ||
2262 | 50 | 52 | ||
2263 | 51 | In case the installer has a hard requirements on certain packages, like on | 53 | In case the installer has a hard requirements on certain packages, like on |
2264 | 52 | &architecture; where openssh is needed for the second installation stage, | 54 | &architecture; where openssh is needed for the second installation stage, |
2265 | @@ -54,6 +56,7 @@ | |||
2266 | 54 | <guimenuitem>OpenSSH server</guimenuitem> task is selected to not. | 56 | <guimenuitem>OpenSSH server</guimenuitem> task is selected to not. |
2267 | 55 | 57 | ||
2268 | 56 | </para> | 58 | </para> |
2269 | 59 | |||
2270 | 57 | <tip><para> | 60 | <tip><para> |
2271 | 58 | 61 | ||
2272 | 59 | In the standard user interface of the installer, you can use the space bar | 62 | In the standard user interface of the installer, you can use the space bar |
2273 | @@ -76,7 +79,7 @@ | |||
2274 | 76 | </para><para> | 79 | </para><para> |
2275 | 77 | 80 | ||
2276 | 78 | Note that this will only work if the packages needed for the desired desktop | 81 | Note that this will only work if the packages needed for the desired desktop |
2278 | 79 | environment are actually available. If you are installing using a single | 82 | environment are actually available. If you are installing using a single |
2279 | 80 | full CD image, they will possibly need to be downloaded from a network mirror as | 83 | full CD image, they will possibly need to be downloaded from a network mirror as |
2280 | 81 | some of the needed packages for your choice might only be included on later | 84 | some of the needed packages for your choice might only be included on later |
2281 | 82 | CDs. Installing any of the available desktop environments this way should | 85 | CDs. Installing any of the available desktop environments this way should |
2282 | 83 | 86 | ||
2283 | === modified file 'en/using-d-i/modules/s390/dasd.xml' | |||
2284 | --- en/using-d-i/modules/s390/dasd.xml 2005-10-07 19:51:38 +0000 | |||
2285 | +++ en/using-d-i/modules/s390/dasd.xml 2018-06-21 13:42:34 +0000 | |||
2286 | @@ -1,2 +1,9 @@ | |||
2287 | 1 | <!-- retain these comments for translator revision tracking --> | 1 | <!-- retain these comments for translator revision tracking --> |
2288 | 2 | <!-- $Id: dasd.xml 11648 2004-03-22 00:37:46Z joeyh $ --> | 2 | <!-- $Id: dasd.xml 11648 2004-03-22 00:37:46Z joeyh $ --> |
2289 | 3 | |||
2290 | 4 | <para> | ||
2291 | 5 | |||
2292 | 6 | DASDs (Direct Attached Storage Devices) are Enhanced Count Key Data (ECKD) encoded, FICON-attached devices and belong to the CCW (channel command word) IO-layer that is unique to &architecture;. They are available in different types, like the common types 3390-3 (or Model 3), 3390-9 (or Model 9), 3390-27 (or Model 27), 3390-54 (or Model 54), or others. | ||
2293 | 7 | The DASD block size is 4096 bytes (4KB) and they support up to 3 partitions per volume. | ||
2294 | 8 | |||
2295 | 9 | </para> | ||
2296 | 3 | 10 | ||
2297 | === added file 'en/using-d-i/modules/s390/fcp.xml' | |||
2298 | --- en/using-d-i/modules/s390/fcp.xml 1970-01-01 00:00:00 +0000 | |||
2299 | +++ en/using-d-i/modules/s390/fcp.xml 2018-06-21 13:42:34 +0000 | |||
2300 | @@ -0,0 +1,13 @@ | |||
2301 | 1 | |||
2302 | 2 | <para> | ||
2303 | 3 | |||
2304 | 4 | FCP (Fiber Channel Protocol, also known as zfcp) devices are SCSI (Small Computer System Interface) disk storage devices that are attached using the Fiber Channel Protocol (FCP), use a 512-byte Fixed Block Architecture (FBA) encoding and also belong to the CCW IO-layer. These SCSI (over-FCP) devices can be defined in any size (up to 2TB) at the storage subsystem and support up to 15 partitions per volume. | ||
2305 | 5 | |||
2306 | 6 | <note><para> | ||
2307 | 7 | |||
2308 | 8 | z/VM supports FCP devices as <quote>emulated devices</quote>, or in short <quote>EDEV</quote>. | ||
2309 | 9 | In this case SCSI disks are configured as disk units of type DASD 9336 FBA. | ||
2310 | 10 | For more details see the IBM z/VM documentation. | ||
2311 | 11 | </para></note> | ||
2312 | 12 | |||
2313 | 13 | </para> |