Hi I’m new on the forum and apologies if i misplaced a category or so. So the problem is, I updated the 6.1 lts kde plasma manjaro today. During the installation it got cancelled due to download being less than 0 byte transfer speed/10sec. So i tried again, everything went successfully and now i cant login, not even to tty and get dropped in an emergency shell. Took a look at other forum posts and since i cant upload a pic ill just write it down:
mount: /new_root: can’t find UUID=xxxxxxx
you are now being dropped into an emergency shell
sh: can’t access tty: job control turned off
[rootfs ]pacman-mirrors -f 5
sh: pacman-mirrors: not found
[rootfs ]# sudo manjaroo-chroot -a & pacman -s linux 61
sh: pacman: not found
[rootfs ]# sh: sudo: not found
[rootfs ]# manjaro-chroot -a
sh: manjaro-chroot: not found
Also some brief info about my laptop:
Intel nvidia, 1050ti.
The windows is kept and the (manjaro) os is stored on a portable ssd. I dont have (i guess) a grub. Instead i set a boot order in the bios. Been using manjaro for 2 years or so, this is the first time i get into an emergency shell with atm no commands working i find online
you need to chroot, so boot into manjaro live usb, make sure you are connected to internet, open terminal and chroot: manjaro-chroot -a
rerun update: pacman-mirrors -f 5 && pacman -Syyu
if there are errors post the output here, if there are no errors and you are up to date, post output from: mhwd-kernel -li && mhwd -l -li
manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sdb3]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
updates links had to be removed
[manjaro /]# pacman-mirrors -f 5 && pacman -Syyu
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool:
::INFO => Mirror status: :
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
0.506 Switzerland :
0.293 Belarus :
0.306 Austria :
0.328 Belgium :
0.359 Germany :
::INFO Writing mirror list
::Belarus :
::Austria :
::Belgium :
::Germany :
::Switzerland :
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases...
core 163.5 KiB 545 KiB/s 00:00 [#######################################] 100%
extra 1862.4 KiB 2.95 MiB/s 00:01 [#######################################] 100%
community 7.6 MiB 10.8 MiB/s 00:01 [#######################################] 100%
multilib 167.5 KiB 584 KiB/s 00:00 [#######################################] 100%
:: Starting full system upgrade...
there is nothing to do
and mhwd-kernels:
[manjaro /]# mhwd-kernel -li && mhwd -l -li
Currently running: 6.1.19-1-MANJARO (linux61)
The following kernels are installed in your system:
* linux510
* linux515
* linux54
* linux61
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
Warning: No installed USB configs!
> 0000:01:00.0 (0302:10de:1c8c) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
video-hybrid-intel-nvidia-470xx-prime 2023.03.23 false PCI
video-hybrid-intel-nvidia-390xx-bumblebee 2023.03.23 false PCI
video-nvidia 2023.03.23 false PCI
video-nvidia-470xx 2023.03.23 false PCI
video-nvidia-390xx 2023.03.23 false PCI
video-linux 2018.05.04 true PCI
> 0000:00:02.0 (0300:8086:3e9b) Display controller Intel Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
video-hybrid-intel-nvidia-470xx-prime 2023.03.23 false PCI
video-hybrid-intel-nvidia-390xx-bumblebee 2023.03.23 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
edit:
[manjaro /]# cat /etc/fstab
# /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=160B-0730 /boot/efi vfat umask=0077 0 2
UUID=fbff6adb-bb32-d601-e0ef-6adbbb32d601 / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
UUID=6391b196-9080-4d80-ad95-477b4eb43d9c none swap defaults 0 0
[manjaro /]# cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3"
GRUB_CMDLINE_LINUX="nouveau.modeset=0"
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#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 'videoinfo'
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-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false
[manjaro /]# cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES=""
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect block filesystems)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev block filesystems)
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS=(base udev block mdadm encrypt filesystems)
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block lvm2 filesystems)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap filesystems"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
ldconfig returned nothing. nothing to post in this case.
well thats the manjaro partition …
exit chroot: exit
just in case unmount it: sudo umount /dev/sdb3
then rerun fsck: sudo fsck -f /dev/sdb3
if there are errors and you are prompted for repair press ‘Y’, then reboot and see if it helped…
Wow! it worked! now i could boot in! thank you!
May i ask what could be the cause? next time id like to avoid it if its possible.
Also as i see the umount and fsck solved the issue, am i right about it or could be something else?
oh well… well now i can boot in so im grateful.
Got minor screen tear issue now tho but on that, i already gave up on it, it sometimes gets fixed and sometimes it break ¯_(ツ)_/¯