Almost similar to System Not Booting - Failed to activate swap /swapfile
So far, i tried the recovery option -
sudo swapoff -a # turn off swap
sudo rm -i /swapfile # remove old /swapfile
2nd command gave me a read-only filesystem
So, i switched over to a USB- Try Ubuntu
My disk partitions are as below : with /dev/sda4 earlier the root option
ubuntu@ubuntu:/media/ubuntu/cb1214b9-cc5f-4821-8696-6044cd0e2a61/etc$ ls -lha /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 360 Jul 25 04:06 .
drwxr-xr-x 8 root root 160 Jul 25 04:05 ..
lrwxrwxrwx 1 root root 10 Jul 25 04:07 0ad87ec8-0c57-41d8-b277-8cf469820e8c -> ../../sda6
lrwxrwxrwx 1 root root 11 Jul 25 04:07 131DFDC34BBA1B17 -> ../../sda10
lrwxrwxrwx 1 root root 10 Jul 25 04:07 1FCC21D90C781BA8 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 25 04:06 2021-02-09-19-06-26-00 -> ../../sdb1
lrwxrwxrwx 1 root root 11 Jul 25 04:07 2438-A503 -> ../../sda11
lrwxrwxrwx 1 root root 10 Jul 25 04:07 281947eb-197b-418f-8f53-c630cfcb3847 -> ../../sda8
lrwxrwxrwx 1 root root 10 Jul 25 04:07 2db7640d-b1d5-48a4-a6a4-35fa3fd741de -> ../../sda9
lrwxrwxrwx 1 root root 10 Jul 25 04:06 54C5-9C6C -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jul 25 04:07 7166EF9617172034 -> ../../sda5
lrwxrwxrwx 1 root root 11 Jul 25 04:07 90509752-f7bd-4b73-be59-cd3328ffb91a -> ../../sda13
lrwxrwxrwx 1 root root 10 Jul 25 04:07 cb1214b9-cc5f-4821-8696-6044cd0e2a61 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul 25 04:07 d3c656dc-da0a-450c-8504-e83715baa550 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jul 25 04:06 db9ce043-9631-4612-832e-4063811343af -> ../../sdb3
lrwxrwxrwx 1 root root 10 Jul 25 04:07 dc6fc5a0-7823-483c-88f2-cdfceeb87c13 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 25 04:07 E849-541F -> ../../sda3
lrwxrwxrwx 1 root root 11 Jul 25 04:07 f9aa78a2-409a-491c-b912-8a14d771cb64 -> ../../sda12
ubuntu@ubuntu:/media/ubuntu/cb1214b9-cc5f-4821-8696-6044cd0e2a61/etc$ cat fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
# /boot/efi was on /dev/sda3 during installation
UUID=E849-541F /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
/dev/sda4 /mnt/sda4 ext4 errors=remount-ro,x-gvfs-show 0 1
/dev/sda6 /mnt/sda6 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/sda7 /mnt/sda7 auto nosuid,nodev,nofail,x-gvfs-show 0 0
I think my fstab is screwed up and while i wait for answers, i can just change the /dev/sda4 line from
/dev/sda4 /mnt/sda4 ext4 errors=remount-ro,x-gvfs-show 0 1
to
/dev/sda4 / ext4 errors=remount-ro,x-gvfs-show 0 1
I also did
sudo mount /dev/sda4 /
and reboot and see if that works.
Update : That worked.