我们用于数据库备份程序的其中一台服务器出现问题,我没有办法了。在某些时候,它完全冻结了,因此它被强制重启。之后,机器无法再启动到操作系统。
这台机器在 HPE Proliant ML30 Gen9 上运行 Ubuntu 18.04.3 LTS,经过仔细检查,我意识到 ubuntu 启动选项不见了。
HPE Proliant 配置了智能阵列、禁用安全启动和 UEFI。
经过一番研究,我尝试修改 UEFI Shell 但无济于事,因为操作系统未列为文件系统,但显示了存储设备。
然后我尝试运行 HPE Embedded Smart Storage Administrator,在加载 HPE SSA 时我看到了 GRUB 2 界面的片刻。HPE SSA 完成加载后,我按下c
并能够进入 GRUB 的 cli。
在这里,我能够导航硬盘,最终发现所有数据都正常,没有数据丢失,但不知何故,引导加载程序丢失到 UEFI 环境中。
该/boot/efi
目录是空的,但该/boot/grub
目录有一些文件和文件夹。
然后我尝试启动 Ubuntu,但结果如下:
在这一点上,我的想法已经用完了,我无法继续寻找答案,因为问题变得太具体了。
I even went back to the UEFI Shell trying to enter the BLK3
device (because it looks like it is that partition) but I couldn't navigate to the /boot
folder so I could use the bfcg
command.
I don't know what else I can do to restore Ubuntu's bootloader. Any advice or help will be appreciated.
PS: The server used to have a graphical interface. The team uses TeamViewer to monitor the server and check on the backup procedures.
PS2: insmod all_video
didn't work. grub prompted a " file not found"
error, even after setting the root variable.
PS3: I tried plugging some USB flash drives. I tried Ubuntu 18.04.3 partitioned as GPT, Ubuntu 20.04.3 partitioned as GPT, and Ubuntu 20.04.3 partitioned as MBR. None were picked up by HPE Proliant (Legacy AND UEFI), nor do they appear in UEFI Shell, nor do I know how to mount them from the GRUB interface.
PS4: As a last resort, I could install RHEL using the HPE Embedded Intelligent Provisioning tool.
PS5: This is my first time using HPE Proliant systems.
Edit: (hd2)
, (hd3)
, (hd4)
and their related partitions were created when I used HPE tools. On reboot, those partitions and their associated file systems would be gone from the UEFI Shell and the Boot options.