I know Ubuntu doesn't work very well with less than 4GB of RAM, which the minimum system requirement mentioned in https://ubuntu.com/download/desktop
If you only have 2GB of RAM then Ubuntu 18.04 was the last version to officially work with 2GB of RAM: https://old-releases.ubuntu.com/releases/bionic/ ** Package changed: xorg (Ubuntu) => ubuntu ** Changed in: ubuntu Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2109992 Title: laptop xorg freeze USB stick memory is 2 GT installation freeze To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2109992/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs