If you’ve been experiencing a boot freeze on your Ubuntu 18.04 at the “Started Hold until boot process finishes up” stage, you’re not alone. This issue can be frustrating, but there are a few potential solutions that can help you get your system back up and running. This article will guide you through these solutions step-by-step.
- Understanding the Issue
- Solution 1: Free Up Space on Your Root Partition
- Solution 2: Boot into Recovery Mode
- Solution 3: Remove and Reinstall Nvidia Driver and GDM
Understanding the Issue
Before we dive into the solutions, it’s important to understand what might be causing this issue. One possible cause is a lack of free space on your root partition. Another potential cause is an issue with the Nvidia driver or the Gnome-display-Manager (gdm).
Solution 1: Free Up Space on Your Root Partition
Entering Advanced Mode
The first solution involves freeing up some space on your root partition. To do this, you’ll need to enter advanced mode during boot. When you start your system, select the “Advanced options for Ubuntu” item from the grub menu.
Mounting Your Root Partition
Once you’re in advanced mode, you’ll need to mount your root partition with write permission. This can be done with the following command:
mount -o remount,rw /
-o option specifies that you’re passing options to the
mount command. In this case,
remount,rw tells the system to remount the root partition with read and write permissions.
Deleting Unnecessary Files
After mounting your root partition, you can delete unnecessary files to free up space. This can be done with the
rm command, which removes files or directories. For example, you might use the following command to remove a file:
After freeing up space, restart your system to see if the issue is resolved.
Solution 2: Boot into Recovery Mode
If the first solution doesn’t work, you can try booting into recovery mode and cleaning up any unnecessary files.
Entering Recovery Mode
To enter recovery mode, press the Shift key (for older systems) or the Escape key (for newer systems) while starting your system. Then, select the “recovery mode” option.
Accessing the Root Terminal
Once you’re in recovery mode, choose “root terminal”. From there, you can delete files to free up disk space. After cleaning up, type “exit” and select the option to “resume normal boot”.
Solution 3: Remove and Reinstall Nvidia Driver and GDM
If the above solutions do not work, the issue might be related to the Nvidia driver or the Gnome-display-Manager (gdm). In this case, you can try removing the Nvidia driver and gdm, then reinstalling gdm.
Changing into TTY
First, change into tty (text mode) by pressing Ctrl+Alt+F1/F2 and log in as the root user using
Removing Nvidia Driver and GDM
Next, remove the Nvidia driver with the following command:
apt-get remove --purge '^nvidia-.*'
--purge option tells
apt-get to remove not only the packages themselves, but also any configuration files associated with them.
Then, remove gdm with the following command:
apt remove gdm
After removing the Nvidia driver and gdm, reinstall gdm with the following command:
apt install gdm
Finally, reboot your system to see if the issue is resolved. If successful, you may need to reinstall the Nvidia drivers afterwards.
These solutions are based on user experiences and may not work for everyone. It’s always recommended to backup important data before attempting any changes to your system. If you’re unsure or uncomfortable with these steps, it’s advisable to seek assistance from a more experienced user or consult official Ubuntu documentation.
Remember, troubleshooting is a process of elimination. Don’t be discouraged if the first solution doesn’t work – just move on to the next one. With patience and persistence, you’ll likely be able to resolve the issue and get your Ubuntu 18.04 system booting properly again.
To enter advanced mode during boot, start your system and select the "Advanced options for Ubuntu" item from the grub menu.
Once you’re in advanced mode, you can mount your root partition with write permission by using the command
mount -o remount,rw /.
After mounting your root partition, you can use the
rm command to delete unnecessary files. For example, you can use
rm /path/to/file to remove a specific file.
To boot into recovery mode, press the Shift key (for older systems) or the Escape key (for newer systems) while starting your system. Then, select the "recovery mode" option.
Once you’re in recovery mode, choose the "root terminal" option to access the root terminal.
To remove the Nvidia driver, use the command
apt-get remove --purge '^nvidia-.*'. To remove gdm, use the command
apt remove gdm.
After removing the Nvidia driver and gdm, you can reinstall gdm by using the command
apt install gdm.
If none of the solutions work, it’s advisable to seek assistance from a more experienced user or consult official Ubuntu documentation for further troubleshooting steps.