如何修复 grub 环境问题?

如何修复 grub 环境问题?

我的笔记本电脑上有两个操作系统,即 Ubuntu 22.04 和 Windows 10,它们是双启动的。我的笔记本电脑是 Acer Spin3。我想在 Windows 10 中恢复出厂设置并删除所有驱动器上的所有数据。因此,最初在 Windows 中,我格式化了安装 Ubuntu 的驱动器。然后,当我在 Windows 中启动恢复出厂设置时,设备作为重置过程的一部分重新启动。但它在 grub 环境中重新启动,并显示以下消息:

Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completion. Anywhere else TAB lists possible device or file completions.

我跟着这个答案。我唯一能找到与 grub 相关的东西的地方是,ls (hd0,1)/efi/ubuntu/命令显示grubx64.efi shimx64.efi mmx64.efi bootx64.csv grub.cfg。然后我按照答案操作,但什么也没发生。答案说系统重新启动,但我的系统没有。

我该如何修复此问题?

相关内容