Although these things are not very common in Linux operating systems, boot problems are still present in Ubuntu operating systems and Ubuntu-based operating systems such as the famous Linux Mint.
The most typical problem is usually related to certain problems related to the partition in which our operating system is installed. A problem that makes the operating system unable to boot normally and that in many cases, we believe that we need to format our computer. Luckily, startup problems have a solution
The first thing we are going to do to solve the startup problems is to boot the operating system through a live CD. Once we enter inside, we are going to run a terminal and run the fdisk utility with the following command.
This command shows all the partitions we have on our hard drives and of course It will show us the partition in which we have the operating system installed.
Normally, it is installed in the sda1 partition, that is, on the first partition of the hard disk that acts as the master.
To fix the boot problem, we are going to use the fsck command, which is a program that recognizes all partition errors and fixes them automatically. To run it on our primary partition, we will run this command.
sudo fsck /dev/sda1
The normal thing in these cases is that when you restart the computer and start normally, everything has already returned to normal and the operating system boots normally.
In the case of not working properly, it could be that the problems were hardware, which is certainly bad news for your hard drive.
At least this tutorial is capable of solving most boot problems related to software problems, such as a bad installation of updates or file system problems.