I have only Ubuntu 22.04 installed on my computer with a single old 80GB mechanical HDD. After updating Ubuntu 20.04 to 22.04, everything was working smoothly but there was this line before booting:
/dev/sda2: clean, 908443/38690816 Files, 44176803/154733312 Blocks
When I tried to fix it, I enabled automatic mount for sda2 then real problems started. I may have corrupted fstab file. After that, the computer is not booting
[FAILED] Failed to activate swap /swapfile.
[DEPEND] Dependency failed for swap.
I only can boot to Ubuntu by highlighting Ubuntu then press e and change Linux= ro to rw
I need to recreate fstab.
sda2
is very likely the Ubuntu's root filesystem, the system partition).