Reset PRAM on MacBook Pro 2011 13" and Now Unable to Boot into Manjaro

Problem Summary:

  • Unable to boot into Manjaro: After resetting the SMC and PRAM on my MacBook Pro to address battery charging issues, system failed to boot into Manjaro.
  • Chroot Environment Issues: Booted from a Manjaro Live USB and entered the chroot environment, but faced multiple issues:
    • Pacman not working correctly: Missing configurations and dependencies.
    • Network issues in chroot: Unable to resolve hosts, leading to failed package retrievals.
    • File system issues: Clean filesystem verified, but essential files and configurations are missing or corrupted.
  • Key Errors Encountered:
    • pacman: command not found
    • error: config file /etc/pacman.conf could not be read: No such file or directory
    • warning: could not get file information for ...
    • call to execv failed (No such file or directory)

Despite multiple attempts to reinstall pacman, restore configurations, and initialize keyrings, the system remains unbootable.

Summary of Troubleshooting Steps Taken for Manjaro Boot Issue:

  1. Reset SMC and PRAM to address battery charging issues.
  2. Booted into a Manjaro Live USB to troubleshoot boot issues.
  3. Mounted necessary filesystems (/, /boot/efi, /dev, /proc, /sys, /run).
  4. Entered chroot environment to repair the system.
  5. Encountered issues with pacman and network connectivity within chroot.
  6. Restored essential configuration files (/etc/pacman.conf, /etc/pacman.d/mirrorlist).
  7. Initialized and populated pacman keyring.
  8. Reinstalled pacman and attempted to update the system.
  9. Verified that filesystem was clean using fsck.

Despite these efforts, the issue persists.

Thank you for your help!

Ok, so problem was I was chrooting into the wrong drive.

So currently it is booting into Manjaro, but it went into emergency mode.