Today when I booted my pc (Xubuntu 20.04) it took so much time to boot up. It took like 45 minutes to boot up. Normally it takes about 1.5 minutes. When it booted up it was very slow,too(It takes about 40-50 seconds to open up terminal). Before I shutdown yesterday there was no problem at all. I didn't install anything on my last session so I have no idea what may be causing this problem.
Then i tried to boot up live from my usb which also has xubuntu 20.04. It booted up normally and it's speed is normal. There is no problem at all.
Then I booted again to my normal installation. It again took about 45 minutes. Then I tried sudo apt update
sudo apt upgrade
It took 30 minutes to install 1 MB update. This also changed nothing.
What may have caused the problem? What may be the solutions? Is my best go backing up the home directory and formatting and reinstalling?(I'm planning to install Xubuntu 20.04 again) Lastly I have some programs installed in /opt (the programs I installed from source code). Would backing up the /opt directory and copying it back in the new installation's /opt directory work?
disks
(you might find it under Accessories) select the disk in the left pane and then click on the three dots in the top and select "SMART DATA & Self-Tests" have a look at the "Type" column. Perhaps share a screenshot Anyhow you should pick up a live-stick and make a backup if you ain't got a current one! – d1bro Mar 22 '21 at 21:58