After I have deleted not needed dependencies, I cannot start Manjaro anymore and not even the terminal (also via the keys). Any attempts to fix the problems from a bootable USB did not work so far. Can anyone help me?
It says:
Failed to start Load Kernel Modules
Failed to mount unit for bare, revision 5
Failed to mount unit for core, revision 11798
Failed to mount unit for core, revision 11993
Failed to mount unit for core18, revision 2128
Failed to mount unit for core18, revision 2146
Failed to mount unit for core20, revision 1081
Failed to mount unit for core18, revision 1169
Failed to mount unit for gnome-3-28-1804, revision 145
Failed to mount unit for gnome-3-28-1804, revision 161
Failed to mount unit for gtk-common themes, revision 1515
Failed to mount unit for gtk-common themes, revision 1519
Failed to mount unit for sublime-text, revision 102
Failed to mount unit for sublime-text, revision 106
Failed to mount /boot/efi
Dependency failed for Local File Systems
your bios is set to uefi-boot and you need to install a uefi-linux. there are a lot tutorials at the wiki anf even youtube. check this before installing linux.
I think that’s a good idea! Do you know how to do this from a bootable USB? I tried, but I couldn’t fix it so far. Any assistance would be highly appreciated
Once you have chrooted into your system you can use the following snippet to reinstall needed XFCE packages (your profile lists XFCE, so thats what I am using)
DONATOR=https://gitlab.manjaro.org/profiles-and-settings/iso-profiles/-/raw/master/manjaro/xfce/Packages-Desktop; wget -qO- $DONATOR | sed '/^>/ d' | sed '/^#/ d' | sed '/^$/d' | awk '{ print $1 }' > /tmp/pkglist; sudo pacman -Syu --needed - < /tmp/pkglist
I would have taken this route to revert the inadvertent changes:
boot some installation medium - preferably a Manjaro one
use it to access your hard drive - a few directories in particular: /var/log/pacman.log - it contains what has been done, what has been installed and removed and when and by which command
cat /var/log/pacman.log
adapt and add where you actually mounted the filesystem
what you look for should be in the most recent entries at the end
/home/username
You can also access the users $HOME directory - and within it, the shell history
(if you used pacman or pamac from command line)
You’ll find the exact command that you used there - and can thus revert your changes.
Both methods should yield the same result.
To (re)install what you removed, you need to chroot into your system, so that you can run pamac or pacman to do that.