[Fix] Can’t login - black screen & chroot guide

Original author on old forum @AlManja

If you are stuck and you can’t log into your system, use one of these steps below. They are sorted from easiest at the top. Start with the first step and if it doesn’t work, try with the next one and so on..

Once you get access to the system, then proceed with updating the system or installing/removing packages, checking log files… Steps (you only need one) are:

  1. log to tty terminal
  2. boot without X
  3. chroot auto (with manjaro-chroot)
  4. chroot (with manjaro-chroot)
  5. chroot into encrypted system (with manjaro-chroot)
  6. chroot into encrypted system (without manjaro-chroot)

1. log to TTY terminal

At black screen press together:

Ctrl+Alt+F3 ← open a tty & login with your user

You can use any of these: F2, F4, F5, F6 but F3 is preferred (non GUI)
Now you are ready to update system… at the end type reboot to restart your system.

(Note you can always use this also in normally working system, say it starting to get really slow, you switch to TTY, run in the terminal " top " or " htop " to see what is slowing down the system, kill the problematic process and then you can return back to your regular session with Ctrl+Alt+F7 )

2. Boot without X - TTY1

  • Press " e " when the GRUB menu displays and for the kernel you wish to use
  • scroll down to the " linux " command line
  • press " End " key(or use arrow key, to get to the end of the kernel command line)
  • press space key/bar (to add a space - was not needed in my case though)
  • type " 3 " (no quotes)
  • press F10
    The system should now load but without X
  • next log in as normal user (not root) and start with system update…
  • at the end type: reboot to restart your system

3. manjaro-chroot - auto

Boot up from live Manjaro media then enter into the terminal:

manjaro-chroot -a

This is automatic chroot, useful when multi boot, will list all bootable partitions, select the proper (Manjaro) root partition then proceed with updating or fixing the system

4. manjaro-chroot

For example on the right I used sda1 is / manjaro; sda2 is swap, sda3 is home

lsblk ← list partitions
sudo mount /dev/sdxx /mnt ← example: sudo mount /dev/sda1 /mnt
sudo mount /dev/sdxx /mnt/home/ ← example: sudo mount /dev/sda3 /mnt/home/
sudo mount /mnt/boot/efi ← (optional) if you have UEFI!
sudo manjaro-chroot /mnt

Now you can start updating/fixing your system…

5. chroot into encrypted system

cryptsetup luksOpen /dev/sda2 ssd
cryptsetup luksOpen /dev/sda3 swap

sudo mount /dev/mapper/ssd /mnt
sudo mount /dev/sda1 /mnt/boot/efi

sudo manjaro-chroot /mnt

6. encrypted, not using manjaro-chroot

sudo su

cryptsetup luksOpen /dev/sda2 ssd
cryptsetup luksOpen /dev/sda3 swap

mount /dev/mapper/ssd /mnt
mount /dev/sda1 /mnt/boot/efi

mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -t devpts pts /mnt/dev/pts/
mount -o bind /run /mnt/run
cp /etc/resolv.conf /mnt/etc/resolv.conf

chroot /mnt

To update your system run:

sudo pacman -Syyu

If you have an issue with file conflicts:

sudo pacman -Sy manjaro-keyring
sudo pacman -Sy manjaro-system
sudo pacman -Syyu

9 Likes
[Fix] System doesn’t boot, boots to a black screen, or stops at a message
Black screen at boot
Another emergency shell
How do I mount root in /mnt
Ran out of HDD space while updating
Multiple boot errors that leave my system unbootable
When booting into manjaro i get some text and than a black screen
Resized and reorganized some partitions, but received "resume: Hibernation device not found" error
Black screen on dual-boot install; no cursor and no console
Accidentally modified /.bashrc and now I cant login, it asks for username and password, and even after i enter correct ones i can't login
Manjaro boots to a black screen
Compositor broke? How to fix
[HowTo] Resolve an unbootable Manjaro (black screen, login failed, cant boot, etc)
Get an error (blank screen on boot) manjaro/xfce4 fresh install
Blinking cursor at boot time
[Stable Update] 2021-06-07 - Kernels, Perl, Haskell, Tesseract, Cutefish, KDE, Nvidia
Wifi Qualcom Atheros is not working in Manjaro KDE
Проблемма с экраном приветсвия и расскладкой клавиатуры
Error: end of file /boot/vmlinuz-6.1-x86_64
Stuck on /dev/sdb2 clean on boot; how do I remove video drivers l?
Update today fails and stuck
Glibc causing pacman fail
Pamac updates broke my entire computer (kernel panic)
Dependency failed for Light Display Manager
File vmlinuz6.3-x86_64 not found
Manjaro froze, after hard reset won't turn on
No internet connection at all. xfce
Best way forward going from nvidia to amd
LUKS encrypted install fails to boot (grub) after update
[How To] Troubleshoot black screen on boot
Grub works, no X, can’t open TTY
Kernel panic after update 2022-11-14
Cannot boot after partially upgrading openssl
Laptop is nothing but problems bootloop after install
Full disk encrypted manjaro no longer booting after BIOS reset to defaults
Can not start my laptop - frozen screen
Black screen after updates - error: file 'initramfs-6.5-x86_64.img' not found - BIOS complication?
I blindly overwrote instead of carefully merging pacnews: Tty login incorrect and lightdm won't start now
Wifi (device) is not showing [Intel Wireless 7265 driver: iwlwifi]
Pacman error "invalid or corrupted package"
Manjaro GNOME Problem
Unknown option "memory recursiveprot"
My system boots at a black screen and at the top left corner says ''GRUB'' and it doesnt let me type or do anything else
Unable to find RAID boot device. Dropped into emergency shell
Manjaro won't boot after switching kernel
System boots to black screen every now and then
Manjaro boots to black screen after Grub
Cant boot my 5.10 kernel!
Can't start kernel , maybe because of Nvdia drivers
Update-grub does not update main grub entry
Cloned SSD - Put Cloned SDD Into Different Desktop - No Boot?
How to install GRUB in Manjaro?

What I said on the other one
https://forum.manjaro.org/t/how-to-save-your-manjaro-installation-when-it-breaks/3902/2?u=cscs

3 Likes

I often encounter this black screen especially after update and reboot. I have tried switching to TTY, it doesn’t work (step 1 eliminated). The black screen happens before anything else appears including grub, so step 2 is eliminated.
Moving to step 3, you write

After plugging in the media, how do I switch from the black screen to whatever page that allows me to boot from the live Manjaro?

As an additional information, my keyboard light is lit during my black screen.