Skip to main content
  1. Posts/

Fixing Manjaro Linux Boot Problems: A Recovery Guide

·4 mins· ·
Linux Manjaro Troubleshooting Boot Recovery Chroot System-Repair
Milav Dabgar
Author
Milav Dabgar
Experienced lecturer in the electrical and electronic manufacturing industry. Skilled in Embedded Systems, Image Processing, Data Science, MATLAB, Python, STM32. Strong education professional with a Master’s degree in Communication Systems Engineering from L.D. College of Engineering - Ahmedabad.
Table of Contents

Boot issues in Manjaro Linux often occur after system updates, especially when kernel or bootloader packages are updated. This comprehensive guide will walk you through the recovery process step-by-step, helping you get your system back up and running.

Prerequisites
#

Before starting the recovery process, you’ll need:

  • A Manjaro Linux live USB/DVD (use the same version as your installed system if possible)
  • Basic knowledge of terminal commands
  • Access to your system’s root password (if set)

Step 1: Boot from the Live USB/DVD
#

  1. Insert your Manjaro Linux live USB or DVD
  2. Restart your computer
  3. Access your BIOS/UEFI boot menu (usually by pressing F12, F11, or Esc during startup)
  4. Select the USB drive or DVD to boot from
  5. Choose “Boot Manjaro Linux” from the boot menu (not the installer option)
  6. Wait for the live environment to fully load

Step 2: Identify Your Manjaro Partition
#

First, you need to identify which partition contains your Manjaro installation:

# List all partitions
sudo fdisk -l

# Or use this command to show mounted partitions and their sizes
lsblk -f

# If you're unsure which partition has Manjaro, run OS-Prober
sudo os-prober

Note down the partition that contains your Manjaro installation (e.g., /dev/sda2, /dev/nvme0n1p3, etc.).

Step 3: Mount Your Manjaro System
#

Now you’ll mount your Manjaro partition and prepare to chroot into it:

# Become root (you'll be prompted for the password)
sudo su

# Mount your Manjaro root partition (replace /dev/sdXY with your actual partition)
mount /dev/sdXY /mnt

# Check if you have a separate boot partition
lsblk -f

# If you have a separate boot partition, mount it too
# For standard boot partition:
mount /dev/sdXZ /mnt/boot
# For EFI partition:
mount /dev/sdXZ /mnt/boot/efi

Step 4: Prepare the chroot Environment
#

Before entering the chroot environment, mount the necessary system directories:

# Mount the proc filesystem
mount -t proc proc /mnt/proc/

# Mount the sys filesystem
mount --rbind /sys /mnt/sys/

# Mount the dev filesystem
mount --rbind /dev /mnt/dev/

# Mount the run filesystem
mount --rbind /run /mnt/run/

Step 5: Enter the chroot Environment
#

Now you can enter your installed Manjaro system through chroot:

# Enter chroot environment
chroot /mnt

You are now working within your installed Manjaro system, not the live environment.

Step 6: Update and Repair the System
#

Now that you’re in the chroot environment, update and repair your system:

# Synchronize and update all packages
pacman -Syyu

# If there were problems with specific packages, reinstall them
# For example, to reinstall the kernel:
pacman -S linux$(uname -r | cut -d. -f1-2 | tr -d .)

# To reinstall GRUB (for BIOS systems):
pacman -S grub
grub-install /dev/sdX  # Replace with your drive (not partition)
grub-mkconfig -o /boot/grub/grub.cfg

# For UEFI systems:
pacman -S grub efibootmgr
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
grub-mkconfig -o /boot/grub/grub.cfg

Step 7: Exit and Reboot
#

Once you’ve completed the repairs, exit the chroot environment and reboot:

# Exit the chroot environment
exit

# Unmount all mounted partitions
umount -R /mnt

# Reboot the system
reboot

Common Issues and Solutions
#

Missing or Corrupted Kernel
#

If your system won’t boot because of a missing or corrupted kernel:

# Within the chroot environment, reinstall the kernel
pacman -S linux$(uname -r | cut -d. -f1-2 | tr -d .)

Corrupted GRUB Configuration
#

If GRUB is not showing or is showing errors:

# Within the chroot environment
grub-mkconfig -o /boot/grub/grub.cfg

Failed Update
#

If your system failed during an update:

# Within the chroot environment
pacman -Syyuu  # Force synchronization and update

Package Manager Database Locks
#

If pacman is locked:

# Within the chroot environment
rm /var/lib/pacman/db.lck

Preventive Measures
#

To avoid boot problems in the future:

  1. Always back up important data before major updates
  2. Create a timeshift snapshot before updating:
    sudo timeshift --create --comments "Before system update"
    
  3. Keep a live USB handy for emergency recovery
  4. Read update notifications carefully before proceeding

This guide should help you recover your Manjaro Linux system when it fails to boot after an update. If you’re still experiencing issues after following these steps, please leave a comment below detailing the problem and any error messages you’re seeing.

Related

Complete Guide: Setting Up Nextcloud on Raspberry Pi
·10 mins
Raspberry Pi Nextcloud Self-Hosted Cloud Storage Server Privacy Linux Tutorial
Arch Linux Minimal Installation with KDE Plasma
·4 mins
Linux Arch Kde Installation Tutorial
Complete Raspberry Pi Setup Guide
·10 mins
Raspberry Pi Linux Server Networking Web Server Remote Access VPN Dynamic DNS Configuration Tutorial
Comprehensive Data Science Environment Setup
·4 mins
Data Science Python R Jupyter Conda IntelliJ Setup Tutorial
Fundamentals of Electronics (4311102) - Winter 2023 Solution
19 mins
Study-Material Solutions Electronics 4311102 2023 Winter
Electronic Circuits & Applications (4321103) - Winter 2023 Solution
16 mins
Study-Material Solutions Electronics 4321103 2023 Winter