通过 CD-ROM 或 USB 密钥安装
对于尚未注册到 SUSE Multi-Linux Manager 的客户端,如果无法通过 PXE 进行网络引导,可以使用可引导 CD-ROM 或 USB 密钥来安装系统。
准备此类可移动媒体的其中一个方法是使用 Cobbler。有关使用 Cobbler 准备 ISO 映像的信息,请参见使用 Cobbler 构建 ISO 映像。
对于 SUSE 系统,通常建议使用 KIWI 来准备 ISO 映像。有关详细信息,请参见使用 KIWI 构建 SUSE ISO 映像。
在所有情况下,您都需要使用生成的映像刻录 CD-ROM 或准备 USB 密钥。
1. 使用 Cobbler 构建 ISO 映像
Cobbler 可创建包含一组发行套件、内核和菜单的 ISO 引导映像。该映像的工作方式与 PXE 安装类似。
|
IBM Z 上不支持使用 Cobbler 构建 ISO。 |
与通过 PXE 进行网络引导类似,为了使用 Cobbler 准备 ISO 映像,您需要准备发行套件和配置文件。有关创建发行套件的信息,请参见 可自动安装的发行套件。有关创建配置文件的信息,请参见 自动安装配置文件。
The Cobbler buildiso command takes parameters to define the name and output location of the boot ISO. Specifying the distribution with --distro is mandatory when running buildiso command. --iso is the output location:
mgrctl exec -- cobbler buildiso --iso=/path/to/boot.iso --distro=<your-distro-label>
必须按 Cobbler 中所列(而不是简单地按 Web UI 中所示)使用发行套件和配置文件标签。要列出 Cobbler 存储的发行套件和配置文件的名称,请运行以下命令:
mgrctl exec -- cobbler distro list mgrctl exec -- cobbler profile list
The boot ISO includes all profiles and systems by default. You can limit which profiles and systems are used with the --profiles and --systems options:
mgrctl exec -- cobbler buildiso --systems="system1 system2 system3" \ --profiles="<your-profile1-label> <your-profile2-label> <your-profile3-label>" \ --distro=<your-distro-label>
With --esp you can enable the built boot ISOs with Secure Boot. You explicitly specify the EFI System Partition (ESP). By default, Cobbler generates the ESP partition, which disables Secure Boot.
mgrctl exec -- cobbler buildiso \ --esp="/usr/share/tftpboot-installation/SLE-15-SP6-x86_64/boot/x86_64/efi" \ --iso=/path/to/boot.iso --distro=<your-distro-label>
efi-
On the container host, execute the following command to get the
distroname:mgrctl exec -- cobbler distro list
This command outputs strings such as
sles15-sp6:1:SUSE. -
On the container host, execute the following command to get information about the
distrofiles location:mgrctl exec -- cobbler distro report --name sles15-sp6:1:SUSE
此命令会输出类似如下的报告:
Name : sles15-sp6:1:SUSE Architecture : x86_64 ...output omitted... Initrd : /usr/share/tftpboot-installation/SLE-15-SP6-x86_64/boot/x86_64/loader/initrd Kernel : /usr/share/tftpboot-installation/SLE-15-SP6-x86_64/boot/x86_64/loader/linux ...output omitted...
-
See the contents of the boot directory. In the example above, the boot partition is the
/usr/share/tftpboot-installation/SLE-15-SP6-x86_64/boot/x86_64/efifile, but this can differ based on the ISO distributor.
|
If you cannot write an ISO image to a public |
2. 使用 KIWI 构建 SUSE ISO 映像
KIWI 是一个映像创建系统。您可以使用 KIWI 创建供目标系统用于安装 SUSE 系统的可引导 ISO 映像。重引导或打开系统时,它会从映像引导,从 SUSE Multi-Linux Manager 加载 AutoYaST 配置,并根据 AutoYaST 配置文件安装 SUSE Linux Enterprise Server。
To use the ISO image, boot the system and type autoyast at the prompt (assuming you left the label for the AutoYaST boot as autoyast). Press Enter to begin the AutoYaST installation.
有关 KIWI 的详细信息,请参见 http://doc.opensuse.org/projects/kiwi/doc/。
3. 使用 Cobbler 构建 Red Hat ISO 映像
有关详细信息,请参见 使用 Cobbler 构建 ISO 映像。