I had dual booted arch linux and linux mint on my PC. A few weeks ago I had to do a job which required windows and that could be done through windows only. With no option being left, I decided to put windows on my PC. With my arch linux open, I partitioned the arch linux root directory to create some space for windows, which was really stupid decision which ruined my arch. Now whenever I try to open arch linux, I get the following error:
[FAILED] Failed to start File System Check .1ad768-....
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System.
[DEPEND] Dependency failed for Mountpoints Configured in the Real Root.
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, or "exit" to continue bootup.
Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.
Press Enter to continue.
I decided to live boot USB and tried to chroot. When I tried to mount the root partition, I got the following message.
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
I typed dmesg | grep 'sda3' and got the following output
[86.090736] EXT4-fs (sda3): bad geometry: block count 143546504 exceeds size of device (78643200 blocks)
I do not know what should I do from here. I know what I did was very stupid. Is there any way I can recover my system or at least recover files from home directory? Please help me.