Recentley i installed another linux distro on another partition on my SSD disk. During the instalation i reinstalled grub on the computer, and ever since my Ubuntu OS has been very slow to boot up. This has never been an issue before , and im very qurious to find out what is causing it.
Before this, the boot has been very fast. As soon as i log in the ssd seems to work fine, no change i behaviour.
I reinstalled grub on my ubuntu distro and now grub displayes Ubuntu and an old linux mint distro i have deleted to make room for a new one.
I followwed another solution changing the UUID in /etc/fstab, by baking up the original and creating a new one.
I ran:
sudo vim /etc/fstab
This file was empty so I entered the UUID for the swap memory partition. Now I'm stuck in tty1.
I've tried to reinstall Ubuntu desktop, ctrl + alt +f7, tried to run sudo /etc/init.d/gdm restart
nothing works. I've checked a lot of similar issues "stuck in tty1" etc. nothing is working.
Trying to fix the /etc/fstab.bak file by running:
sudo cp /etc/fstab.bak /etc/fstab
is not working beacause i only get "read-only" in the tty1 output. Please help, i dont want to reinstall my OS.
Update:
I tried following this answer, but every terminal command in the answer gives output like: this doesnt exist, no such directory etc.
I've looked at several similar tty1 issues/post and i'm still stuck.