Unable to install GRUB in /dev/nvme

JakeP

I booted from a live usb and installed 15.10 but at the end of the installation process, I get an error:

Unable to install GRUB in /dev/nvme.

Next, it gives the option to change where the bootloader is installed but on pressing OK at this point, grub does nothing. I can't find any information regarding /dev/nvme, only /dev/sda which has always been what I've seen doing linux installations in the past. Why is it /dev/nvme now and how do I fix this? Thanks.

EDIT: It's probably also worth noting that I turned off secure boot and switched from UEFI to legacy because the ubuntu installation kept freezing at the purple loading screen on UEFI mode.

magiclantern

You need to tell the installer to install Grub to /dev/nvme0n1 (at least that's how it shows up on my NUC 5i5RYK with an NVMe drive. However, at least in my case, it appears the installer is broken as I still was not be able to boot into the newly installed system.

However, I did find two methods that fix broken Ubuntu 15.10 boot failure after initial install:

  1. Use the GUI program Boot Repair:

    The default or "Recommended Repair" doesn't work, but I selected the "Advanced Options" and uncheck "SecureBoot" but keep all other default options then follow the instructions, the system correctly boots to the newly installed OS.

    Results available at http://paste.ubuntu.com/14439023/

  2. Install Ubuntu 15.04 first, then upgrade to 15.10. As an alternative to running Boot Repair, I found that if I install 15.04, run all updates:

    sudo apt-get update
    sudo apt-get upgrade
    

    then run

    sudo do-release-upgrade -d
    

    then 15.10 will successfully boot.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Manually install GRUB

분류에서Dev

Ubuntu Install crashes after Grub

분류에서Dev

How to install GRUB on a new drive?

분류에서Dev

GRUB2 failed to install

분류에서Dev

Unable to boot without 'grub rescue> ' commands

분류에서Dev

grub unable to add windows to boot menu

분류에서Dev

grub-install fails on ubuntu 20.04.1

분류에서Dev

Grub-install: what's the root directory

분류에서Dev

실수로 'sudo grub-install'

분류에서Dev

install multiple os in pendrive using grub

분류에서Dev

How to install GRUB with dualboot in Legacy mode?

분류에서Dev

How to install Grub in an external hard drive?

분류에서Dev

Unable to Install Guard

분류에서Dev

Unable to install MongoDB perl

분류에서Dev

Unable to install vim plugins

분류에서Dev

Unable to install devstack

분류에서Dev

Unable to install Nodemon

분류에서Dev

"apt-get install grub" wants to install packages although the GRUB bootmenu works?

분류에서Dev

unable to install samba on ubuntu 14.04

분류에서Dev

Unable to install a CGI script on Ubuntu

분류에서Dev

Unable to install a CGI script on Ubuntu

분류에서Dev

unable to install windows and remove manjaro

분류에서Dev

unable to install R package "marmap"

분류에서Dev

grub-install fails after upgrading from 12.04 to 14.04 (grub-pc is broken)

분류에서Dev

Why can't (and how can) I install both grub-pc and grub-efi packages?

분류에서Dev

grub-install 실패 및 일반적으로 grub2 실패

분류에서Dev

grub-install 실패 및 일반적으로 grub2 실패

분류에서Dev

After install next to Windows 8, no grub, Windows 8 still booting

분류에서Dev

Can I Install grub on an USB and make it a rescue disk?