自从安装 Ubuntu 18.04 以来,我一直停留在 grub 提示符下。我已经尝试了所有可以在网上找到的东西,但我很难过。
这是从 U 盘启动的 Ubuntu 18.04 的全新安装。我安装了 17.10,但选择在新安装期间覆盖旧安装。我在双启动时也有一个 Windows 10 分区。
安装进行得很好,但是现在当我启动我的机器时,我最终会出现grub>提示。
如果我输入 exit Ubuntu boots 没有问题。
如果我从我的 BIOS 手动选择带有 Windows 的驱动器,它加载没有问题。
我尝试使用 grub-rescue 磁盘工具,但它说它无法运行,因为它不在 EFI 模式下。
诊断结果的输出显示:
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of nvme0n1p7, using the following options: nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
Run Code Online (Sandbox Code Playgroud)
我试过用这个安装grub:
sudo grub-install --efi-directory=/dev/nvme0n1p1/
Run Code Online (Sandbox Code Playgroud)
但我收到一个错误:
Installing for i386-pc platform.
grub-install: error: install device is not specified.
Run Code Online (Sandbox Code Playgroud)
这是一个 nvmie 驱动器。我有点难住了。还有什么我可以尝试的想法吗?
| 归档时间: |
|
| 查看次数: |
27663 次 |
| 最近记录: |