You are not logged in.

#1 2021-01-12 00:16:47

owl2
Member
Registered: 2021-01-11
Posts: 5

[SOLVED] nvme device not found through its UUID

First time installation on a Dell XPS 13 9310.

After rebooting from the live image, I get

Starting version 247.2-1-arch
ERROR: device 'UUID=a2d8cacb-75ea-43d5-b71f-c3812e9141b4' not found. Skipping fsck.
mount: /new_root: can't find UUID=a2d8cacb-75ea-43d5-b71f-c3812e9141b4.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]# 

blkid confirms the UUID of the device. It's also in /etc/fstab and even in the /boot/grub/grub.cfg:

root@archiso ~ # blkid
/dev/sda1: BLOCK_SIZE="2048" UUID="2021-01-01-09-18-56-00" LABEL="ARCH_202101" TYPE="iso9660" PARTLABEL="ISO9660" PARTUUID="31323032-3130-4130-b031-303931383536"
/dev/sda2: SEC_TYPE="msdos" LABEL_FATBOOT="ARCHISO_EFI" LABEL="ARCHISO_EFI" UUID="96C2-37AA" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="Appended2" PARTUUID="31323032-3130-4130-b032-303931383536"
/dev/loop0: TYPE="squashfs"
/dev/nvme0n1p1: UUID="218F-11E4" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="boot" PARTUUID="4d5e8474-a66f-4311-b748-ca239f3e3032"
/dev/nvme0n1p2: UUID="17567fdd-d932-436d-bc0d-033ebe4d1ae2" TYPE="swap" PARTLABEL="swap" PARTUUID="dbbf8522-f1c4-4877-9fda-7a11c646ae62"
/dev/nvme0n1p3: UUID="a2d8cacb-75ea-43d5-b71f-c3812e9141b4" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="arch" PARTUUID="b75e5898-e826-4a79-b72d-c0e239fccb68"
/dev/sda3: PARTLABEL="Gap1" PARTUUID="31323032-3130-4130-b033-303931383536"
root@archiso ~ # cat /mnt/etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p3
UUID=a2d8cacb-75ea-43d5-b71f-c3812e9141b4	/         	ext4      	rw,relatime	0 1

# /dev/nvme0n1p1
UUID=218F-11E4      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2

# /dev/nvme0n1p2
UUID=17567fdd-d932-436d-bc0d-033ebe4d1ae2	none      	swap      	defaults  	0 0

/boot/grub/grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  a2d8cacb-75ea-43d5-b71f-c3812e9141b4
else
  search --no-floppy --fs-uuid --set=root a2d8cacb-75ea-43d5-b71f-c3812e9141b4
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a2d8cacb-75ea-43d5-b71f-c3812e9141b4' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod fat
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  218F-11E4
	else
	  search --no-floppy --fs-uuid --set=root 218F-11E4
	fi
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=a2d8cacb-75ea-43d5-b71f-c3812e9141b4 rw  loglevel=3 quiet
	echo	'Loading initial ramdisk ...'
	initrd	/intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-a2d8cacb-75ea-43d5-b71f-c3812e9141b4' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-a2d8cacb-75ea-43d5-b71f-c3812e9141b4' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  218F-11E4
		else
		  search --no-floppy --fs-uuid --set=root 218F-11E4
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=a2d8cacb-75ea-43d5-b71f-c3812e9141b4 rw  loglevel=3 quiet
		echo	'Loading initial ramdisk ...'
		initrd	/intel-ucode.img /initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-a2d8cacb-75ea-43d5-b71f-c3812e9141b4' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  218F-11E4
		else
		  search --no-floppy --fs-uuid --set=root 218F-11E4
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=a2d8cacb-75ea-43d5-b71f-c3812e9141b4 rw  loglevel=3 quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

I really hope this isn't embarassingly obvious, but I can't figure out why I don't get to a regular login prompt.

Last edited by owl2 (2021-01-12 19:55:13)

Offline

#2 2021-01-12 08:47:15

RagnarOlafsson
Member
Registered: 2021-01-11
Posts: 14

Re: [SOLVED] nvme device not found through its UUID

  • Did you run

    mkinitcpio -p linux
  • Are the packages in the installation up-to-date?

  • Are you sure the nvme is not failing?

Offline

#3 2021-01-12 09:01:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] nvme device not found through its UUID

Is your disk configured for RAID in your UEFI? see: https://bugs.archlinux.org/task/68704 and try adding the vmd module to your mkinitcpio

Offline

#4 2021-01-12 19:54:50

owl2
Member
Registered: 2021-01-11
Posts: 5

Re: [SOLVED] nvme device not found through its UUID

V1del wrote:

Is your disk configured for RAID in your UEFI? see: https://bugs.archlinux.org/task/68704 and try adding the vmd module to your mkinitcpio

That was it! After checking the output of `hwinfo --storage` and seeing RAID listed in the first storage device, it became clear.

Note that I did not adjust the flags to `mkinitcpio`. Instead, I reconfigured the BIOS as I have no need for the RAID operation mode and simply set it to AHCI. Reinstalled and booted fine. Thanks a lot!

Just curious how you knew this. I searched and read a lot, but it would've taken me much longer to link this problem to RAID settings.

Marking this as solved. Thanks again!

Offline

#5 2021-01-12 20:20:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] nvme device not found through its UUID

It's a problem that comes up every now  and then (fairly certain  basically every somewhat modernish dell defaults to that) and if you've been around here for a while and read the posts people make there'll eventually be someone (... like you) that runs into it again, so from that point it's just recognizing the symptoms as something you've seen before.

I've never personally ran into a UEFI set up  this way. But I'd say the link to some setting in the UEFI isn't too far fetched. If you're sure you didn't miss anything during installation, it must be something happening earlier. I did have a similarish experience on my Acer, where it has a UEFI quirk that it doesn't store NVRAM entries added via efibootmgr, but you must add them via their own interface (... in a weird and roundabout way)

Last edited by V1del (2021-01-12 20:21:13)

Offline

Board footer

Powered by FluxBB