You are not logged in.

#1 2018-08-20 05:00:02

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Boot problem: nvme disk not recognized

I am trying to install arch on a new desktop (dell 7920t) with a hard drive and a nvme disk. I set configured the bios to EFI enabled and secure boot disabled. Working with the latest arch boot (01/08/18) I partitioned /dev/sda1 as an EFI partition (1GB formatted to vfat) and set one partition spanning the whole nvme disk (256 GB formatted to ext4). The nvme is mounted as the root and sda1 as /boot. pacstrap went fine and boot loader installation and configuration (I repeated the procedure several times, either with grub or bootctl) was also with problems. I set

options=root=UUID=xxxxx rw

where the xxxx is the nvme partition uuid.

The problem is that always (always means that I repartioned, reformatted, and run the installation procedure from scratch) get the same error on boot:

mount:  /new_root: can't find UUID=xxxx
You are being dropped into an emergency shell.

At the emergency shell when I type:

blkid

only the /dev/sda partitions appear and not sign of the nvme

I tried to add nvme to the MODULES in mkinitcpio.conf and recreate  initramfs-linux.img, but it did not help (apparently the nvme module in compiled into the kernel).

Is there a way to boot the system in this configuration, or should I give up and set both root and boot partitions on the hard disk?

   Nadav.

Offline

#2 2018-08-23 07:14:34

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Re: Boot problem: nvme disk not recognized

I installed and booted the system on the hard drive, and it can see the nvme disk and its partitions.

Drive data from lshw output:

vendor: Toshiba America Info Systems
capabilities: storage pciexpress pm msi msix nvm_express bus_master cap_list

$ ls -l /dev/nvme0n1
brw-rw---- 1 root disk 259, 0 Aug 22 16:13 /dev/nvme0n1

$ readlink /sys/dev/block/259\:0/device/device/driver
../../../../../../bus/pci/drivers/nvme

It looks that nvme is the right device driver which should be already present at the boot:

*  Could my boot problem cause is that the device is not automatically identified at the boot time?
*  Is there a way to baypass the automatic identification at the boot, and force the device attachment?

Offline

#3 2018-08-23 07:53:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,671

Re: Boot problem: nvme disk not recognized

Two things to check, verify that the NVME device isn't set to some RAID mode or similar and/or update your UEFI firmware.

Offline

#4 2018-08-23 09:06:22

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Re: Boot problem: nvme disk not recognized

How can I check for a RAID mode?

Offline

#5 2018-08-23 09:08:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,671

Re: Boot problem: nvme disk not recognized

In your UEFI, though I'd usually expect the device to not be visible at all if that was the case, so that might not be it.

Last edited by V1del (2018-08-23 09:09:52)

Offline

#6 2018-08-23 10:00:45

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Re: Boot problem: nvme disk not recognized

Indeed RAID mode was defined. I'll be able to see if problem solved, next week. I'll report.

Offline

#7 2018-08-27 10:41:03

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Re: Boot problem: nvme disk not recognized

Unchecking the efi raid did not help

Offline

#8 2018-09-02 23:15:08

Dante777
Member
From: Greece
Registered: 2016-07-12
Posts: 3

Re: Boot problem: nvme disk not recognized

Have you tried adding "nvme" into the MODULES array of /etc/mkinitcpio.conf, rebuild the initramfs and reboot?

EDIt: Ignore the above, the OP already referred to this.

Last edited by Dante777 (2018-09-03 09:26:23)

Offline

#9 2018-09-04 11:16:36

radiomike
Member
Registered: 2013-12-19
Posts: 52

Re: Boot problem: nvme disk not recognized

As an alternative approach, what happens if you put the EFI partition on the nvme drive?

Offline

#10 2018-09-18 18:41:08

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Re: Boot problem: nvme disk not recognized

The boot partition is located on the name disk, and apparently it is read on boot, including the configuration file that points to the root  on the 2nd partition. It looks like that the nvme eif partition is accessible for booting, but somewhere down the booting stage, this disk "disapears". When I boot from the hard drive, the nvme disk is accessible after the boot completes.

Offline

#11 2018-09-18 18:47:40

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Re: Boot problem: nvme disk not recognized

An autocompletion eror in the previous post. First sentence should be:
The boot partition is located on the nvme disk, and....

Offline

#12 2018-09-19 08:23:08

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Re: Boot problem: nvme disk not recognized

I tried the rootwait and rootdelay=25 kernel options (one option at a time), without success

Offline

#13 2018-09-19 10:06:32

nadavhoresh
Member
Registered: 2016-11-04
Posts: 13

Re: Boot problem: nvme disk not recognized

An annoying observation: Ubuntu 18.04 installs smoothly on the same nvme partitions (an efi boot partition and a Linux root partition)

Offline

#14 2018-09-24 11:26:17

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,421

Re: Boot problem: nvme disk not recognized

Does booting with the fallback image work ?

lsmod output from nvme drive NOT recognized and nvme drive IS recognized situations would also help


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB