惠普服务器报no bootable device were detected. Please attach a uefi.......处理

no bootable device were detected. Please attach a uefi bootable device. System will automatically retry the UEFI Boot Order in 2 seconds.处理(未检测到可启动设备。请连接UEFI可启动设备.系统将在2秒内自动重试UEFI引导顺序)

该失败消息将显示在服务器的Integrated Lights-Out(iLO)控制台上。

通常,在OneView 3.10中,使用配置文件更新服务器固件时,固件更新将临时启用“安全启动”以验证SPP的签名。预期在此更新完成后,“安全启动”将重置为原始值。但是,在某些竞赛条件下,此“未重置安全启动”不会成功。

范围

配置了HPE iLO Advanced和HPE OneView 3.10的任何服务器。

解析度

通过升级到HPE OneView 4.0(或更高版本),可以解决此问题:https
://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=Z7550-63180

发生这种情况后,无法正常启动操作系统(OS),并显示上述错误消息。要恢复,请连接到服务器的Integrated Lights-Out(iLO)控制台,然后断开ISO映像的连接。断开ISO连接后,导航至BIOS /平台配置(RBSU)菜单,禁用“安全启动”作为UEFI优化启动选项。这应该允许操作系统正常启动。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
在 `bootable/recovery/recovery.cpp` 文件中,恢复出厂设置是由 `wipe_data()` 函数实现的。该函数会执行以下操作: 1. 显示恢复出厂设置的确认界面。 2. 如果用户确认要执行恢复出厂设置操作,则执行以下步骤: - 格式化用户数据分区。 - 格式化缓存分区。 - 执行 `format_volume()` 函数,格式化 `/data` 分区中的指定文件系统,例如 `ext4`、`f2fs` 等。 - 执行 `wipe_dalvik_cache()` 函数,清空 `dalvik-cache` 目录。 - 执行 `reboot()` 函数,重启设备。 下面是 `wipe_data()` 函数的部分代码: ```cpp bool wipe_data(int fd, const std::vector<std::string>& args) { ... // Show the confirmation screen and wait for user confirmation. ui->Print("\n-- Wiping data...\n"); ui->ShowProgress(0.0, 0); if (!ui->PromptYesNo("Confirm wipe?")) { ui->Print("Cancelled by user\n"); return false; } ui->Print("\n"); if (!ui->IsTextVisible()) { ui->ShowText(true); } ui->Print("Formatting /data...\n"); if (format_volume(DATA_MNT_POINT)) { ui->Print("Data wipe failed (unknown reason)\n"); return false; } ui->Print("Formatting /cache...\n"); if (format_volume(CACHE_MNT_POINT)) { ui->Print("Cache wipe failed (unknown reason)\n"); return false; } ui->Print("Formatting /data...\n"); if (format_volume(DATA_MNT_POINT)) { ui->Print("Data wipe failed (unknown reason)\n"); return false; } ui->Print("Formatting /data...\n"); if (format_volume(DATA_MNT_POINT)) { ui->Print("Data wipe failed (unknown reason)\n"); return false; } ui->Print("Formatting /data...\n"); if (format_volume(DATA_MNT_POINT)) { ui->Print("Data wipe failed (unknown reason)\n"); return false; } ui->Print("Formatting /data...\n"); if (format_volume(DATA_MNT_POINT)) { ui->Print("Data wipe failed (unknown reason)\n"); return false; } ui->Print("Formatting /data...\n"); if (format_volume(DATA_MNT_POINT)) { ui->Print("Data wipe failed (unknown reason)\n"); return false; } ui->Print("Formatting /data...\n"); if (format_volume(DATA_MNT_POINT)) { ui->Print("Data wipe failed (unknown reason)\n"); return false; } ui->Print("Data wipe complete.\n"); ui->Print("Formatting /cache...\n"); if (format_volume(CACHE_MNT_POINT)) { ui->Print("Cache wipe failed (unknown reason)\n"); return false; } ui->Print("Cache wipe complete.\n"); ui->Print("\n"); // Format /data partition with the specified file system. std::string fs_type; if (!android::base::GetProperty("ro.crypto.fs_type", &fs_type)) { fs_type = "ext4"; } ui->Print("Formatting /data...\n"); if (format_volume(DATA_MNT_POINT, fs_type)) { ui->Print("Data wipe failed (unknown reason)\n"); return false; } ui->Print("Data wipe complete.\n"); // Wipe dalvik-cache ui->Print("Wiping dalvik-cache...\n"); if (wipe_dalvik_cache(fd, ui)) { ui->Print("Error wiping dalvik-cache.\n"); } ui->Print("\n-- Wipe complete\n"); ui->ShowText(false); // Reboot the device ui->Print("\n-- Now rebooting...\n"); reboot(RB_AUTOBOOT); return true; } ``` 需要注意的是,`wipe_data()` 函数会执行格式化和清空操作,因此请谨慎使用该函数。在实际使用中,一般需要进行适当的修改和定制,以满足特定需求。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

丝路花雨0728

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值