I was looking to set up a new partition on my hard drive and I accidentally made a typo in the fstab configuration file. To be precise, I addded a partition that was not yet formatted in the partition table and rebooted afterwards.
Now, when I start my machine, the system fails to boot properly and enters emergency mode.This is what appears on my screen
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "sytemctl default" or "exit" to boot into default mode.
Press Enter for maintenence
(or press Control-D to continue):
When I enter my regular user password, the machine won't login to the shell, neither does leaving this field empty work ( as this post would suggest)
I am very new to ubuntu and I have heard that since I didn't set a root password, I assume there is no valid password that can work there
How should I proceed ?
Don't hesitate to ask for other informations
EDIT : I made a fresh install of ubuntu server, and I mounted my old filesystem at /mnt, and for some reason I didn't have to edit fstab afterwards, the system just booted fine. ( see the picture below)
Unbuntu install menu