3.6. 安装前的硬件和操作系统的相关设置

在本节中,我们将讨论安装之前有关硬件设置的一些问题。如果这些问题的确存在的话,您就需要在安装 Debian 前先做一些准备工作了。一般来说,准备工作包括:检查或者可能修改系统中 BIOS/系统固件(system firmware)的设定。所谓BIOS系统固件就是硬件运行所需的核心软件。它在系统引导过程(即开机之后)中起到了至关重要的作用。

3.6.1. BIOS 设置

In order to install Debian GNU/Linux on a S/390 or zSeries machine you have first boot a kernel into the system. The boot mechanism of this platform is inherently different to other ones, especially from PC-like systems, and you will notice a big difference while you work with this platform: most (if not all) of the time you will work remote, with the help of some client session software like telnet, or a browser. This is due to that special system architecture where the 3215/3270 console is line-based instead of character-based.

Linux 在该平台上可以是本地化方式运行于裸机上,以所谓的 LPAR(Logical Partition) 方式或者 由 VM 系统提供的虚拟机方式。您可以在所有的系统上使用启动磁带;您也可以使用其他的介质,但它们并不一定都可用。例如,您可以在虚拟机上使用虚拟读卡器,或者在 HMC (Hardware Management Console) 可用的情况下,从 LPAR 上的 HMC 启动。

在实际安装之前,您必须仔细检查一些规划和准备步骤。IBM 有关于整个过程的文档,如,怎样准备安装介质和如何从该介质启动。这里毋需复制那些信息。但是,我们会在此说明需要哪些 Debian 规格的数据,以及在哪里能找到它们。使用这些信息资源,在引导之前您必须准备好计算机和安装介质。当您在客户端会话中看到欢迎画面,再返回到本文档查看 Debian 规格的安装步骤。

3.6.2. 本地化(Native)和 LPAR 安装

请参考 Linux for S/390 Redbook 第 5 章和 Linux for IBM eServer zSeries and S/390: Distributions Redbook 第 3.2 节有关如何为 Linux 建立 LPAR 的部分。

3.6.3. 作为一个 VM guest 安装

请参考 Linux for S/390 Redbook 第 6 章和 Linux for IBM eServer zSeries and S/390: Distributions Redbook 第 3.1 节有关如何为运行 Linux 建立 VM guest 的部分。

您需要从 generic 子目录复制所有的文件到 CMS 磁盘。并确保 kernel.debianinitrd.debian 以 80 字符固定长度二进制模式传输(FTP 客户端使用 BINARYLOCSITE FIX 80)。parmfile.debian 可以是 ASCII 或 EBCDIC 格式。映像里面包含有一个 debian.exec 示例脚本,用于按正确次序存放文件。

3.6.4. 建立安装服务器

如果您没有连接到互联网(直接或者间接通过 web 代理),您需要创建一个您的 S/390 能访问的本地安装服务器。该服务器包含所有您需要安装的软件包,并可以通过 NFS,HTTP 或 FTP 访问。

The installation server needs to copy the exact directory structure from any Debian GNU/Linux mirror, but only the S/390 and architecture-independent files are required. You can also copy the contents of all installation images into such a directory tree.