You are not logged in.

#1 2018-08-26 14:17:04

nikitaevg
Member
Registered: 2018-08-26
Posts: 1

Arch not booting. Device '/dev/nvme0n1p4' not found.

Hi all!

I have MacBook Air, and I have arch installed on it, without Mac OS. Here is my problem:
Until 4.16 version of linux everything was working. After updating to 4.17 version I got these messages in log while booting:

:: running hook [udev]
:: Triggering uevents...
Waiting 10 seconds for device /dev/nvme0n1p4 ...
ERROR: device '/dev/nvme0n1p4' not found. Skipping fsck.
:: mounting '/dev/nvme0n1p4' on real root
mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.

I've searched in Google for such problem, haven't found any solution, or those solutions weren't working. So I've loaded into liveCD and downgraded the kernel. This worked just fine. But, this is not what I want, I want it to work just fine without those hacks. So, if anyone has any ideas, please, help me. And, this problem remains with 4.18 core. Also, I've tried pacman -Syu after booting in liveCD and chrooting, didn't help.
Here are some information, that might help:
blkid

/dev/nvme0n1p1: SEC_TYPE="msdos" UUID="9433-CB61" TYPE="vfat" PARTLABEL="boot" PARTUUID="01591e63-1b85-450c-9c96-c79257bf7518"
/dev/nvme0n1p2: UUID="b1982640-1a64-41d6-9f98-0350eac71e93" TYPE="ext4" PARTLABEL="disk" PARTUUID="4aba1218-1d62-4034-aa6e-b3725ef0a164"
/dev/nvme0n1p3: UUID="300c6764-fa71-40f6-8745-e8d6da12fe9f" TYPE="swap" PARTLABEL="Swap" PARTUUID="6beb9564-d8e8-4897-9f7b-5196a8f4b5b9"
/dev/nvme0n1p4: UUID="7794204d-c095-4585-b260-bb3348c51019" TYPE="ext4" PARTLABEL="Root" PARTUUID="a1de158f-6569-4038-ab83-0671b9acc97d"
/dev/sda1: UUID="2018-06-01-04-00-38-00" LABEL="ARCH_201806" TYPE="iso9660" PTUUID="69771a46" PTTYPE="dos" PARTUUID="69771a46-01"
/dev/sda2: SEC_TYPE="msdos" LABEL="ARCHISO_EFI" UUID="4B54-041E" TYPE="vfat" PARTUUID="69771a46-02"
/dev/loop0: TYPE="squashfs"
/dev/nvme0n1: PTUUID="309a7a47-87d5-4253-be5e-1b52bcb92d12" PTTYPE="gpt"
/dev/sdc1: UUID="E025-0A62" TYPE="vfat" PARTUUID="049a7347-01"

lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0         7:0    0 460.7M  1 loop 
sda           8:0    1  14.6G  0 disk 
	sda1        8:1    1   571M  0 part 
	sda2        8:2    1    64M  0 part 
sdc           8:32   1   3.8G  0 disk 
	sdc1        8:33   1   3.8G  0 part /mnt/b
nvme0n1     259:0    0   113G  0 disk 
	nvme0n1p1 259:1    0   256M  0 part /boot
	nvme0n1p2 259:2    0  75.1G  0 part 
	nvme0n1p3 259:3    0     4G  0 part 
	nvme0n1p4 259:4    0  33.7G  0 part /

/etc/fstab

# /dev/nvme0n1p4
UUID=7794204d-c095-4585-b260-bb3348c51019	/         	ext4      	rw,relatime,data=ordered,discard	0 2

# /dev/nvme0n1p1
UUID=9433-CB61      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro	0 1

/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 loadfont unicode ; 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-7794204d-c095-4585-b260-bb3348c51019' {
	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  9433-CB61
	else
	  search --no-floppy --fs-uuid --set=root 9433-CB61
	fi
	echo	'Loading Linux linux ...'
	initrd  /intel-ucode.img /initramfs-linux.img
	linux	/vmlinuz-linux root=UUID=7794204d-c095-4585-b260-bb3348c51019 rw quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-7794204d-c095-4585-b260-bb3348c51019' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-7794204d-c095-4585-b260-bb3348c51019' {
		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  9433-CB61
		else
		  search --no-floppy --fs-uuid --set=root 9433-CB61
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=7794204d-c095-4585-b260-bb3348c51019 rw quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/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-7794204d-c095-4585-b260-bb3348c51019' {
		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  9433-CB61
		else
		  search --no-floppy --fs-uuid --set=root 9433-CB61
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=7794204d-c095-4585-b260-bb3348c51019 rw 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 ###

Thanks in advance.

Last edited by nikitaevg (2018-08-26 15:56:50)

Offline

#2 2018-08-26 15:49:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,648

Re: Arch not booting. Device '/dev/nvme0n1p4' not found.

It has something to do with a non-volatile RAM file system.  I have not tried Arch on a Mac-Book Air, but it might be that you are booting from non-volatile memory.  Sorry I cannot be more help.

The real reason for the post is as a moderator; please change your BBCode 'quote' tags to 'code' tags.  Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB