Ubuntu Recovery

I am using an Ubuntu dual boot system with windows. I accidentally deleted some oh-my-zsh files and I can no longer log into my ubuntu as it directly takes me to the recovery mode. Can some help me recover my ubuntu system, preferably without using a live USB. I am using Ubuntu version 24.04. Below is a screenshot of the error I am facing.

Hello,

No matter what you next step will be, make sure that you backup data on yous system.

Once that is done. You can try to boot ubuntu Live USB and attempt to reinstall the system Meaning the system will do the best to keep you settings and data.

Other option might be to reboot and either in recovery mode or live Linux system try to mount your filesystem and reinstall the zsh. However, this will require some experience with the Linux system.

In both cases something might go wrong…so back up your data first…

I am seeking a solution that can work without necessarily using a live USB. The screenshot attached is a reboot that directly goes into recovery mode. The solution is to try to reinstall zsh through the GRUB or get a way to by pass zsh and use the default terminal.

ok we can try…

First, try if you can mount your root partition read/write:

mount -o remount,rw /

after that you may attempt to reinstall zsh. Example:

apt install --reinstall zsh

I do not expect it do go this simple but first see how you go…