When you encounter a problem as in the title, a screen similar to the picture above will appear.
On this screen, the system starts up with an average delay of 1.30 minutes.
The source of the problem occurs when a partition of the disk, such as swap, is deleted or reformatted.
If you encounter such a problem, let's start troubleshooting.
Enter the command in the terminal to get the UUID of the partitions.
sudo blkid
It will give output similar to this.
Copy the UUID marked in red on the line that says swap.
Paste it in the specific place at the bottom.
UUID=PASTE-HERE none swap sw 0 0
First, delete the invalid swap value if it exists in the fstab file with this command.
sudo sed -i '/swap/d' /etc/fstab
Then paste this entire command into the terminal and print it to /etc/fstab.
echo "UUID=PASTE HERE none swap sw 0 0" | sudo tee -a /etc/fstab >> /dev/null
Paste the same swap value in the specific location below and paste the entire command to the terminal and print it to the file /etc/initramfs-tools/conf.d/resume.
echo "RESUME=UUID=PASTE HERE" | sudo tee -a /etc/initramfs-tools/conf.d/resume > /dev/null
Finally, enter the command below into the terminal.
If there is no output named resume, the operation was successful.
sudo update-initramfs -u
If the operation was successful, it will no longer wait for 1.30 minutes at boot.
Good luck.
No comments:
Post a Comment