Unable to boot system - Failed to mount /media

Hey everyone, I tried booting into my laptop and it throws me the following error -
[FAILED] Failed to mount /media
[DEPEND] Dependency Failed for local file systems.

This occurred after I changed the format of a NTFS partition to ext4. (/dev/sda7)

The output of my etc/fstab file is -
UUID1 / ext4 Defaults,noatime 0 1
UUID1 swap swap defaults,noatime 0 2
/dev/sda5 /media NTFS defaults 0 0
/dev/sda7 /run/media/Aditya ext4 defaults 0 0

Any help would be appreciated.

Thank you!

I’d suggest that you edit your
comment out the last line which seems to be the offending one
(comment out means: put a # in front of the line)

Then you should be able to boot, since the system is no longer trying to mount that drive.
… you can then deal with how to make it auto-mount later … or just mount it whenever you need it

If you can’t boot your system, do it by booting a live system and access and edit that fstab file from there.

Don’t you mean /dev/sda5 ?