Results 1 to 6 of 6

Thread: SOLVED: Dell XPS 13 9360 -- fatal error when trying to install grub on /dev/nvme0n1

  1. #1
    Join Date
    Jan 2015
    Beans
    9

    Post SOLVED: Dell XPS 13 9360 -- fatal error when trying to install grub on /dev/nvme0n1

    So I have got a brand new Dell XPS 13 9360 (pre-installed OS: Windows 10 Home 64-bit).

    I chose to install Ubuntu 16.04.2 in UEFI mode and create dual-boot with Windows 10.

    I have changed RAID to AHCI, disabled secure boot, and disabled both fast boot in Windows 10 and in BIOS.

    When I installed Ubuntu I encountered this error:

    Unable to install GRUB in /dev/nvme0n1.
    Executing 'grub-install /dev/nvme0n1' failed.
    This is a fatal error.

    I have tried even to create a separate ESP partition at the beginning of the free-space after the Windows partitions.

    Any help appreciated.
    Last edited by ytxmobile; February 20th, 2017 at 10:23 PM. Reason: solved

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Dell XPS 13 9360 -- fatal error when trying to install grub on /dev/nvme0n1

    If you have Windows in UEFI mode, grub should be installing to the same ESP - efi system partition as Windows has used, if installing in UEFI boot mode.
    You should not be installing in BIOS boot mode.

    Grub does want to only install to drive seen as sda, but others have installed to NVMe drives, so it must somehow work.

    You cannot have two ESP and use both, only one at a time is usable.

    May be best to see details, you can run from Ubuntu live installer or any working install:
    Post the link to the Create BootInfo summary report. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info and:
    https://sourceforge.net/p/boot-repair/home/Home/


    Dell XPS 13 9360 Dualboot Windows 10 and Ubuntu 16.04 AHCI NVMe
    http://askubuntu.com/questions/86748...1344306_867488
    Ubuntu 16 on the DELL XPS15 9550 Tutorial
    https://ubuntuforums.org/showthread.php?t=2345444
    Ubuntu 16.04 on Dell Xps 15 9550 (i7-6700HQ - 1TB SSD - UHD 4k touch)
    http://ubuntuforums.org/showthread.php?t=2317843

    XPS 13 9350 Windows reinstall & discussion of RAID vs. AHCI
    https://www.reddit.com/r/Dell/commen...install_guide/
    Install Ubuntu 15.10 on Dell XPS 15 2015 9550 with Nvidia 960
    http://askubuntu.com/questions/73661...ith-nvidia-960
    https://samnicholls.net/2016/01/14/h...ows-10-xps-13/
    Dell support - Update on XPS 13/15 2016 Developer Edition availability
    http://en.community.dell.com/techcen...0562?pi22229=9
    http://www.dell.com/support/article/...1/SLN301754/en
    Kernel 4.6 has Dell & Alienware improvements including 9350
    http://www.phoronix.com/scan.php?pag...Laptop-Drivers
    Dell XPS 13 Developer Edition New Kaby Lake 16.04 Sputnik
    http://news.softpedia.com/news/dell-...u-509039.shtml

    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jan 2015
    Beans
    9

    Re: Dell XPS 13 9360 -- fatal error when trying to install grub on /dev/nvme0n1

    Quote Originally Posted by oldfred View Post
    If you have Windows in UEFI mode, grub should be installing to the same ESP - efi system partition as Windows has used, if installing in UEFI boot mode.
    You should not be installing in BIOS boot mode.

    Grub does want to only install to drive seen as sda, but others have installed to NVMe drives, so it must somehow work.

    You cannot have two ESP and use both, only one at a time is usable.

    May be best to see details, you can run from Ubuntu live installer or any working install:
    Post the link to the Create BootInfo summary report. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info and:
    https://sourceforge.net/p/boot-repair/home/Home/


    Dell XPS 13 9360 Dualboot Windows 10 and Ubuntu 16.04 AHCI NVMe
    http://askubuntu.com/questions/86748...1344306_867488
    Ubuntu 16 on the DELL XPS15 9550 Tutorial
    https://ubuntuforums.org/showthread.php?t=2345444
    Ubuntu 16.04 on Dell Xps 15 9550 (i7-6700HQ - 1TB SSD - UHD 4k touch)
    http://ubuntuforums.org/showthread.php?t=2317843

    XPS 13 9350 Windows reinstall & discussion of RAID vs. AHCI
    https://www.reddit.com/r/Dell/commen...install_guide/
    Install Ubuntu 15.10 on Dell XPS 15 2015 9550 with Nvidia 960
    http://askubuntu.com/questions/73661...ith-nvidia-960
    https://samnicholls.net/2016/01/14/h...ows-10-xps-13/
    Dell support - Update on XPS 13/15 2016 Developer Edition availability
    http://en.community.dell.com/techcen...0562?pi22229=9
    http://www.dell.com/support/article/...1/SLN301754/en
    Kernel 4.6 has Dell & Alienware improvements including 9350
    http://www.phoronix.com/scan.php?pag...Laptop-Drivers
    Dell XPS 13 Developer Edition New Kaby Lake 16.04 Sputnik
    http://news.softpedia.com/news/dell-...u-509039.shtml

    I tried with setting the boot loader to be installed in the partition where Windows Boot Manager is located.
    But I have got the same error as well:

    Unable to install GRUB in /dev/nvme0n1p1.
    Executing 'grub-install /dev/nvme0n1p1' failed.
    This is a fatal error.


    And I have tried https://samnicholls.net/2016/01/14/h...ows-10-xps-13/, and found that this tutorial does not work for me -- I ended up with being unable to enter Windows 10 and had to perform a system reset (keeping my personal files).

    I wonder if NVME really matters.

    Quote Originally Posted by oldfred View Post
    If you have Windows in UEFI mode, grub should be installing to the same ESP - efi system partition as Windows has used, if installing in UEFI boot mode.
    You should not be installing in BIOS boot mode.

    Grub does want to only install to drive seen as sda, but others have installed to NVMe drives, so it must somehow work.

    You cannot have two ESP and use both, only one at a time is usable.

    May be best to see details, you can run from Ubuntu live installer or any working install:
    Post the link to the Create BootInfo summary report. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info and:
    https://sourceforge.net/p/boot-repair/home/Home/


    Dell XPS 13 9360 Dualboot Windows 10 and Ubuntu 16.04 AHCI NVMe
    http://askubuntu.com/questions/86748...1344306_867488
    Ubuntu 16 on the DELL XPS15 9550 Tutorial
    https://ubuntuforums.org/showthread.php?t=2345444
    Ubuntu 16.04 on Dell Xps 15 9550 (i7-6700HQ - 1TB SSD - UHD 4k touch)
    http://ubuntuforums.org/showthread.php?t=2317843

    XPS 13 9350 Windows reinstall & discussion of RAID vs. AHCI
    https://www.reddit.com/r/Dell/commen...install_guide/
    Install Ubuntu 15.10 on Dell XPS 15 2015 9550 with Nvidia 960
    http://askubuntu.com/questions/73661...ith-nvidia-960
    https://samnicholls.net/2016/01/14/h...ows-10-xps-13/
    Dell support - Update on XPS 13/15 2016 Developer Edition availability
    http://en.community.dell.com/techcen...0562?pi22229=9
    http://www.dell.com/support/article/...1/SLN301754/en
    Kernel 4.6 has Dell & Alienware improvements including 9350
    http://www.phoronix.com/scan.php?pag...Laptop-Drivers
    Dell XPS 13 Developer Edition New Kaby Lake 16.04 Sputnik
    http://news.softpedia.com/news/dell-...u-509039.shtml

    And does that boot-repair work for nvme as well?

    My partitioning and error message again:
    IMG_20170220_124512.jpg
    IMG_20170220_124203.jpg

    Quote Originally Posted by oldfred View Post
    If you have Windows in UEFI mode, grub should be installing to the same ESP - efi system partition as Windows has used, if installing in UEFI boot mode.
    You should not be installing in BIOS boot mode.

    Grub does want to only install to drive seen as sda, but others have installed to NVMe drives, so it must somehow work.

    You cannot have two ESP and use both, only one at a time is usable.

    May be best to see details, you can run from Ubuntu live installer or any working install:
    Post the link to the Create BootInfo summary report. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info and:
    https://sourceforge.net/p/boot-repair/home/Home/


    Dell XPS 13 9360 Dualboot Windows 10 and Ubuntu 16.04 AHCI NVMe
    http://askubuntu.com/questions/86748...1344306_867488
    Ubuntu 16 on the DELL XPS15 9550 Tutorial
    https://ubuntuforums.org/showthread.php?t=2345444
    Ubuntu 16.04 on Dell Xps 15 9550 (i7-6700HQ - 1TB SSD - UHD 4k touch)
    http://ubuntuforums.org/showthread.php?t=2317843

    XPS 13 9350 Windows reinstall & discussion of RAID vs. AHCI
    https://www.reddit.com/r/Dell/commen...install_guide/
    Install Ubuntu 15.10 on Dell XPS 15 2015 9550 with Nvidia 960
    http://askubuntu.com/questions/73661...ith-nvidia-960
    https://samnicholls.net/2016/01/14/h...ows-10-xps-13/
    Dell support - Update on XPS 13/15 2016 Developer Edition availability
    http://en.community.dell.com/techcen...0562?pi22229=9
    http://www.dell.com/support/article/...1/SLN301754/en
    Kernel 4.6 has Dell & Alienware improvements including 9350
    http://www.phoronix.com/scan.php?pag...Laptop-Drivers
    Dell XPS 13 Developer Edition New Kaby Lake 16.04 Sputnik
    http://news.softpedia.com/news/dell-...u-509039.shtml

    [SOLVED]
    I deleted the partitions that I created manually. Then I used sudo dosfsck -t -a -w /dev/nvme0n1p1 (as of http://askubuntu.com/questions/86272...led-to-install)
    After running this command, I opened the Ubuntu Installer, and this time the option to "Install alongside Windows Boot Manager" shows up.
    I chose that and the installation was successful.
    But what should I do if I want to manually create the partitions?
    Last edited by ytxmobile; February 20th, 2017 at 10:23 PM.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: SOLVED: Dell XPS 13 9360 -- fatal error when trying to install grub on /dev/nvme0

    You should be able to create partitions.
    Gparted after v24 supports NVMe partitions. And then use Something Else to install.
    And you normally specify drive on where to install grub, and it finds ESP - efi system partition.

    gparted should be at least version 0.24.0-1 to recognize NVMe devices
    http://gparted.sourceforge.net/index.php
    Filesystem support
    http://ubuntuforums.org/showthread.php?t=2318570
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Jan 2015
    Beans
    9

    Re: SOLVED: Dell XPS 13 9360 -- fatal error when trying to install grub on /dev/nvme0

    I have GParted v25 in the Ubuntu Live image.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: SOLVED: Dell XPS 13 9360 -- fatal error when trying to install grub on /dev/nvme0

    I often also download the gparted ISO and use that for partitioning.
    If you have a working install, then you can adjust partitions, from live installer or gparted ISO.

    Gparted is at 0.28.1
    http://gparted.sourceforge.net/index.php
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •