Booting Fails after install

Hey everyone first time posting here, I couldn’t find anyone else having this issue, but after I select EndevourOS from the grub menu I get this

Starting version 249.4-2-arch
ERROR: device 'UUID=...' not found. Skipping fsck.
mount: new_root: can't find UUID='same as above'.
You are not being dropped into an emergency shell.
sh: can't access tty; job control turned off

then I get a prompt as root user. This is a Dell XPS 13 that my work sent me if you need any more information let me know.

Here are some things you could check.

Boot into your live usb, launch the file manager, mount your system partition and navigate to /etc/fstab. Make sure you have matching UUID for your partitions in fstab and the ones you get from:

lsblk -fs

If they match, you could arch-chroot to your install (https://discovery.endeavouros.com/?s=chroot) using the instructions corresponding to your install mode.

Once in chroot run the following commands:

pacman -Syu

mkinitcpio -P

grub-mkconfig -o /boot/grub/grub.cfg

When done, type exit to leave chroot.

If you get any error messages, post them here.

Reboot and see if that has solved the issue.

here is what I got from those

mkinitcpio -P

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux'
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux'

grub-mkconfig -o /boot/grub/grub.cfg

/usr/bin/grub-mkconfig: line 261: /boot/grub/grub.cfg.new: No such file or directory

Something seems to have gone wrong in your installation.

You could try the following. Hopefully it will get us closer to a resolution of the issue.

In chroot:

pacman -S linux linux-headers

mkinitcpio -p linux

pacman -S grub

grub-install

grub-mkconfig -o /boot/grub/grub.cfg

exit

If you get any error messages, please post them back here again.

1 Like

This one?
https://wiki.archlinux.org/title/Dell_XPS_13_(9350)

  • This install is UEFI or MBR?
  • Do you have a folder or a partition which looks like this /boot/EFI or /boot/efi?

This one?
https://wiki.archlinux.org/title/Dell_XPS_13_(9350)

its the 9310

This install is UEFI or MBR?

UEFI

Do you have a folder or a partition which looks like this /boot/EFI or /boot/efi?

I have a /boot/efi

Did that, got no errors, got a few warning regarding Possibly misssing firmware

Those warnings are normal.
Cross fingers and reboot!
:crossed_fingers:t5:

same issue, does it have anything to do with trying to mount /new_root? sorry if thats a dumb question, I haven’t installed linux on a machine in a few years due to working with macs for work

Frankly, I am not sure what might be the reason now. Could you please boot up your live usb and post some more info. Hopefully that would give some clue to somebody looking in here.

efibootmgr -v

lsblk -fs

sudo parted -l

And then in the file manager, mount your system partition and navigate to these two files and post their contents:

/etc/fstab

/etc/default/grub

/boot/grub/grub.cfg

Did you disable secure boot?

BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,0006,0004,0001,0003,0000
Boot0000* UEFI Memorex USB Flash Drive 071C16CB19519023	PciRoot(0x0)/Pci(0xd,0x0)/USB(3,0)/HD(2,GPT,31323032-3830-4632-b232-303331313431,0x3a80bc,0x31000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0001* Arch_Linux	HD(1,GPT,2b485ab7-6de6-8149-b7d5-9eaf7cb6f1f3,0x1000,0x96000)/File(\EFI\Arch_Linux\grubx64.efi)
Boot0002* endeavouros	HD(1,GPT,0b5969f6-13af-1749-a6d0-9435f0815980,0x1000,0x100000)/File(\EFI\endeavouros\grubx64.efi)
Boot0003* UEFI RST PC711 NVMe SK hynix 1TB NA7N584112407L1B 	PciRoot(0x0)/Pci(0xe,0x0)/NVMe(0x1,AC-E4-2E-00-15-DD-43-78)/HD(1,GPT,0b5969f6-13af-1749-a6d0-9435f0815980,0x1000,0x100000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0004* Arch-Linux-grub	HD(1,GPT,60929739-f896-b44f-8b76-f851a253f1f1,0x1000,0x100000)/File(\EFI\Arch-Linux-grub\grubx64.efi)
Boot0005* Windows Boot Manager	HD(1,GPT,860a3ee5-8f81-4f54-be88-2db15523f1b8,0x800,0x5f000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0006* Arch-Linux-grub~	HD(1,GPT,60929739-f896-b44f-8b76-f851a253f1f1,0x1000,0x100000)/File(\EFI\Arch-Linux-grub~\grubx64.efi)
NAME      FSTYPE   FSVER            LABEL              UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0     squashfs 4.0                                                                                     
sda1      iso9660  Joliet Extension EndeavourOS_202108 2021-08-26-23-11-41-00                              
└─sda     iso9660  Joliet Extension EndeavourOS_202108 2021-08-26-23-11-41-00                              
sda2      vfat     FAT16            ARCHISO_EFI        18C2-A58E                                           
└─sda     iso9660  Joliet Extension EndeavourOS_202108 2021-08-26-23-11-41-00                              
sda3                                                                                                       
└─sda     iso9660  Joliet Extension EndeavourOS_202108 2021-08-26-23-11-41-00                              
nvme0n1p1 vfat     FAT32            NO_LABEL           A021-1EB3                             510.7M     0% /boot/efi
└─nvme0n1                                                                                                  
nvme0n1p2 ext4     1.0                                 3838fc04-e914-4192-9e66-43a2094e5bc9  884.2G     1% /
└─nvme0n1                                                                                                  
Model: Memorex USB Flash Drive (scsi)
Disk /dev/sda: 31.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name       Flags
 1      32.8kB  1963MB  1963MB               ISO9660    hidden
 2      1963MB  2066MB  103MB   fat16        Appended2  boot, esp
 3      2066MB  2066MB  307kB                Gap1       hidden, msftdata


Model: PC711 NVMe SK hynix 1TB (nvme)
Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      2097kB  539MB   537MB   fat32              boot, esp
 2      539MB   1024GB  1024GB  ext4         root

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=A021-1EB3                            /boot/efi      vfat    umask=0077 0 2
UUID=3838fc04-e914-4192-9e66-43a2094e5bc9 /              ext4    defaults,noatime 0 1

#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME=/boot/grub/themes/EndeavourOS/theme.txt

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y
GRUB_DISABLE_SUBMENU=y

# To enable usage of os-prober, set GRUB_DISABLE_OS_PROBER to 'false'.
# Note: enabling os-prober creates a potential security risk!
# More info: https://www.gnu.org/software/grub/manual/grub/grub.html
GRUB_DISABLE_OS_PROBER=true

#
# 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
search --no-floppy --fs-uuid --set=root 3838fc04-e914-4192-9e66-43a2094e5bc9
    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
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3838fc04-e914-4192-9e66-43a2094e5bc9
insmod gfxmenu
loadfont ($root)/boot/grub/themes/EndeavourOS/unifont-regular-16.pf2
insmod png
set theme=($root)/boot/grub/themes/EndeavourOS/theme.txt
export theme
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 'EndeavourOS, on linux' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-3838fc04-e914-4192-9e66-43a2094e5bc9' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root 3838fc04-e914-4192-9e66-43a2094e5bc9
	echo	'Loading kernel linux ...'
	linux	/boot/vmlinuz-linux root=UUID=3838fc04-e914-4192-9e66-43a2094e5bc9 rw  quiet loglevel=3 nowatchdog
	echo	'Loading initial ramdisk ...'
	initrd	/boot/intel-ucode.img /boot/initramfs-linux.img
}
menuentry 'EndeavourOS, on linux (fallback initramfs)' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-3838fc04-e914-4192-9e66-43a2094e5bc9' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root 3838fc04-e914-4192-9e66-43a2094e5bc9
	echo	'Loading kernel linux ...'
	linux	/boot/vmlinuz-linux root=UUID=3838fc04-e914-4192-9e66-43a2094e5bc9 rw  quiet loglevel=3 nowatchdog
	echo	'Loading initial ramdisk ...'
	initrd	/boot/intel-ucode.img /boot/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/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### 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 ###

1 Like

Yes, I don’t have issues booting into the flash drive or even getting past the UEFI screen its when it goes to start the shell

Is it possible to get the following link to this comand

inxi -Faz --no-host | eos-sendlog

From the emergency shell or from the live usb?

If you can get into TTY and you have network i think will work or from live usb.

Did it in the arch-root from the live usb

https://clbin.com/G82np