系统恢复

下面介绍 NetHSM 系统软件的恢复过程。这些说明仅适用于 API 无法运行的情况,例如不响应 API 请求。如果 API 可操作,请执行`工厂重置<administration.html#reset-to-factory-defaults>`__。请严格按照说明操作,以防意外删除数据。

重要

只有当磁盘上的 GUID 分区表 (GPT) 和分区本身未损坏时,系统恢复才会起作用。启动过程中出现的以下信息可能表明分区已损坏。

Booting 'NetHSM automatic boot (USB or primary system)'

GRUB: No valid configuration found on (usb0).
GRUB: No valid configuration found on (ahci0,gpt1).

GRUB: Booting failed. System will switch off in 10 second.

如果它们已损坏,本说明将导致 NetHSM 系统软件的出厂安装。

系统恢复的步骤如下。

  1. 从提供的私人下载页面下载以*...installer.img.zip结尾的安装程序映像* 。

    重要

    下载损坏时安装的同一版本的安装程序镜像。不支持降级或跳版本升级。

  2. 解压安装程序映像。

  3. 将安装程序映像写入 U 盘。为此,你可以使用图形工具`balenaEtcher<https://etcher.balena.io/>`__。在 Linux 上,也可以使用命令行工具 dd。忽略任何分区表丢失的警告。

  4. Connect the USB flash drive with any USB port of the NetHSM.

    备注

    某些 USB 驱动器与 NetHSM 不兼容。这会导致 NetHSM 无法将其识别为启动媒体。如果 NetHSM 无法从连接的 USB 驱动器启动,请尝试不同型号的 USB 驱动器。

  5. Optionally: Connect a keyboard and monitor with the NetHSM.

  6. Make sure the system is turned off, but connected to power.

  7. Turn the NetHSM on by pressing the power button on the front.

  8. Now the software is going to be installed. Wait for ca. one minute until the NetHSM shuts down. Optionally, if you have a monitor connected: When you see the boot menu, select NetHSM automatic boot (USB or primary system) in the first menu and then NetHSM Software Installer in the second menu.

    警告

    请勿从菜单中选择``NetHSM Factory Reset - DELETES ALL DATA!``。这将无法恢复磁盘上的数据。

NetHSM 安装程序将安装系统软件并关闭。