익명 04:14

Clean Install of 18.04 Boots to Grub Prompt

Clean Install of 18.04 Boots to Grub Prompt

I'm stuck at a grub prompt since installing Ubuntu 18.04. I have tried all the things I can find online but I'm stumped.

It was a clean install of Ubuntu 18.04 started from a USB stick. I had 17.10 installed but selected to overwrite my old installation during the new install. I also have a Windows 10 partition as I dual boot.

The install happened fine, but now when I boot my machine I end up at the grub> prompt.

If I type exit Ubuntu boots with no problems.

If I manually select the drive with Windows on from my BIOS it loads with no problems.

I tried using the grub-rescue disk tool but it says it can't run because it's not in EFI mode.

An output of the diagnostics from this shows:

=================== 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

I've tried installing grub using this:

sudo grub-install --efi-directory=/dev/nvme0n1p1/

But I get an error:

Installing for i386-pc platform.
grub-install: error: install device is not specified.

It's a nvmie drive. I'm a bit stumped. Any ideas of what else I can try?



Top Answer/Comment:

I was able to solve mine (though I was using EFI and not legacy) by booting from the install thumb drive, selecting rescue mode, and re-installing grub on /dev/sda.

상단 광고의 [X] 버튼을 누르면 내용이 보입니다