3

I have an ASUS G701VIK where I have installed two NVME SSD 960 Pro M.2. The system has Windows 10 running on the same two drives and works correctly.

On disk 1 (GPT) I have the following partitions:

  • Recovery NTFS 450 MB
  • FAT32 100Mb (EFI System Partition)
  • Other 16Mb (Reserved Partition)
  • C:(NTFS) 493 Gb (shrunk using Mini Tool Wizard to create the next)
  • (Ext4) 460 GB

There is also a Disk 2, with just one NTFS Volume.

I have disable Secure Boot and Fast Boot on the BIOS of the machine.

I have created a bootable USB drive using Win32DiskImager, for Ubuntu 16.04 LTS and 17.04 with the same result.

The computer boots from the USB, during boot I modify the GRUB boot script to include: nouveau.modeset=0 (that is necessary for the graphics card) and also have tried adding nvme_load=YES and remove quiet splash

If I go to the GRUB command line and type ls -all I get the list of devices, where the partition types are correctly recognized except for the 3rd one.

It also complains about some efi files being missing: tar.mod, sfs.mod, nilfs2.mod, minix.mod, afs.mod, affs.mod.

In all cases, the result is that during the installation process the only drive that is recognized is the USB Drive, but not the M2 SSD drives.

I have read many posts all in this and other forums but haven't found any that helps me. I have also contacted the manufacturer and I am waiting for an answer (not that I have great hopes of them solving the issue for me).

The idea is to setup dual boot with Windows 10.

I am quite newbie on Ubuntu and Linux in general. Please ask for anything you think may be relevant to the problem and I haven't mentioned.

grub console

select disk to install

EDIT: answering the questions below, there is no nvme driver in the list, just PCIe. The only errors are related to wifi how to install the driver? is nvme_load the command?

Fast boot is disabled, as it is Secure Boot.

EDIT2: Adding links to the outputs of all 3 commands requested: (I haven“t run nvme_load this time)

lspci -k output
lsblk output
dmesg output

karel
  • 122,292
  • 133
  • 301
  • 332
Picarus
  • 43

2 Answers2

2
00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 31)
    Subsystem: ASUSTeK Computer Inc. SATA Controller [RAID mode]
    Kernel driver in use: ahci
    Kernel modules: ahci

[    9.805918] ahci 0000:00:17.0: Found 2 remapped NVMe devices.
[    9.805918] ahci 0000:00:17.0: Switch your BIOS from RAID to AHCI mode to use them.

dmesg has given you the solution. For whatever reason, the kernel requires the SATA controller to be in AHCI mode instead of RAID mode to allow you to use the two NVMe drives. So changing the mode in BIOS/UEFI settings should do.

Edit: apparently in some machines, the RAID mode is hardcoded and the user cannot make changes to that in the BIOS/UEFI settings. In that case, it is impossible (as of today, at least) to use the NVMe drives in Linux:

https://github.com/torvalds/linux/commit/aecec8b60422118b52e3347430ba9382e57d6d76

Also see replies in this thread for more details:

http://marc.info/?l=linux-ide&m=147709610621480&w=2

Your only chance will be to see if the vendor provides firmware update that allows you to change the mode to AHCI. You may also try request alternative firmware build by seeking technical support directly from the vendor, though you are likely to be out of luck on that.

Tom Yan
  • 330
0

the same with me, an HP EliteBook with M2 NGFF. Ubuntu live boot ok but can't install. Error noted that "Can't configure your hardware..." My Solution: replace a HDD to SATA slot and change boot order to legacy, and then install Ubuntu on HDD and Windows 10 on M2 PCIe NGFF

LEEWU
  • 1