To begin helping you with this, it would be helpful, to get more scientifical data, to see at what period of time, your system is actually hanging, causing the long boot time.
CTRLALTT to enter terminal.
systemd-analyze
Here are my results when I run that, and these are recent results as of todays boot!
Startup finished in 15.886s (firmware) + 7.411s (loader) + 6.045s (kernel) + 9.541s (userspace) = 38.885s
graphical.target reached after 9.532s in userspace
Please post your results here for us to analyze...
Additionally, are you using a mechanical hard drive, or a SSD drive? A mechanical hard drive generally takes about a minute to boot into an OS at the longest. As your boot time seems a bit extreme, we still want to have a look at the data you supply from your results. An SSD drive should take 15-seconds roughly, and fastest NVME PCIE Gen 4 drives should get there in 5-seconds.
Also, it wouldn't be bad to get info on your hardware as well. While in terminal, you can also run these commands after you have completed the first part.
sudo apt install screenfetch
Press Y to confirm
Once installed, just type screenfetch
Please post your screenfetch here, can be easily done by taking a screenshot of it if you want.
Would you really switch to Windows just for a faster boot time?
You will probably be able to get that boot time reduced by about 40 seconds with some configuring. But unless you buy an SSD, you will not likely see a 30 second boot time.
Windows has the Fast Boot feature.
You are unlikely to beat it without buying some hardware.
Listen... I enjoy helping people... and I put a lot of effort into doing so on this forum. But "Slow Boot" is one of my least Sympathetic topics... People could stand to learn Patience and how to relax a bit.
@AdarshMeher Thank you for posting the screenshots, I appreciate it! A couple of interesting things I noticed is, you are running quite an older kernel on Zorin OS 16, 5.8 kernel hasn't been used in quite some time now. But as long as your system is stable, I suppose no reason to change it.
Another thing I noticed is that you have an integrated GPU, not discreet GPU, question, how has your system performance been in the OS while in use? Has it been running OK?
I am going to agree with Aravisian, as I've already said, mechanical hard drives are slow, generally they take about a minute to boot. An SSD drive is one of the greatest improvements that you can do, to make an old machine, much faster.
So ya, I recommend an SSD drive. And as far as configuring things, well, that command that Aravisian gave you, is probably about the most you can do to speed up boot time by a command.
5.8 is quite stable and is fine. It won't affect boot time.
The only other viable suggestion would be to change grub timeout. I Do Not Recommend doing so as it can cause you to be unable to reach the Recovery Menu to change that value.
You have already experienced the need to access the recovery menu first hand... I am sure you understand its need to be there. And you would only shave about 5 seconds or so off the boot time. It's not worth it.
Yes, now I have stable and smooth performance but sometimes That performance is not stable and sometime performance is very slow after opening some apps. And I am not sure but I am feeling like there are some graphic drivers are missing here.
Opening of APPS, requires reading from the hard drive. Mechanical drive will make that slow as well. This is one of the reasons why I asked you that question. Another thing that I notice, you only have 4GB of RAM, and while I would consider that the bare minimum for running Gnome, it won't produce a fast performance experience.
If you could upgrade the RAM, that would aid in improvement as well as, upgrading to an SSD drive. Although, I do realize, you may not be able to do all that with your computer, I am not quite sure. I respect whatever situation you are in, and what choices you are able to make.
Also, since you don't have a discreet GPU, this means, your system will not be using any proprietary drivers. This means you will continue to use the Noveua drivers that comes with every Linux system, your OK right there, don't stress over it. Your fine there.
@Aravisian Thank you for confirming that the 5.8 kernel won't hurt performance. To be clear, my mind was wondering if it could cause any performance issues. Glad to know that I am wrong there. Thank you.
This may sound weird, speaking of boot times. After I installed Lite, which booted fairly quickly (I didn't time it but will out of curousity) I wanted to try my new USB Wifi Adapter. I shut down, switched adapters and powered on. Took a long while (The black screen prior to seeing the Zorin logo) to hit the sign on screen. Being it was fresh in my mind, I powered down, put back the previous adapter and powered on. Quicker. So, it has me thinking, the longer boot time was due to the new wifi adapter. Does this make sense...???
Yes.
The hardware on a computer manages itself rather than being managed by the Operating System that you interact with.
The Graphics card... the Network card... each has its own operating system.
The drivers you use, (or the kernel) communicate with the operating system of each hardware component. Many of these operating systems are quite simple (like a handheld calculator) and speak in a programming language of their manufacturers design. That language must be translated (drivers) which requires a translation matrix to be available for Linux - which is why getting the right drivers on Linux can be difficult if the manufacturer is a scrooge with them and will not provide them (Wants only to sell that information to Windows).
They do not govern the hardware, they can only communicate with and send requests and receive information from hardware.
Some hardware can be slower than others.
This is also why integrated graphics can be slower- as they utilize the CPU of the motherboard to function (integrated graphics) whereas a dedicated graphics card has a CPU all of its own, that can send the processed information to your motherboard, putting less load time on the motherboard CPU.
Many different hardware pieces have their own CPU, though they are often small and not fancy and therefor, not really talked about.
This is also what all the fuss is about Wayland.
Wayland streamlines that communication, allowing faster response times between Kernel and Hardware with less processing in-between.