Fix "Waiting for device to be suspended/resumed" error

 


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

Questionnaire file manager

Which file manager should be the default?
 

Questionnaire menu

Which menu are you using?
 
Shared by The Distrowrite Project
In an era where modern operating systems seem to demand an ever-increasing amount of hardware resources just to perform basic tasks, there is a refreshing movement within the open-source community that prioritises efficiency, speed, and simplicity. At the forefront of this movement sits Besgnulinux, a project that has consistently proven that you do not need the latest multi-core processor or gigabytes of idle memory to enjoy a modern computing experience. The full article

Password

Name: besgnulinux

Password: live
! Lightness !

! Speed !

! Stable !

! Useful !

 

For Besgnulinux, these four features come before.

 

Efficient operation of computers.

 

To meet the basic needs of the user.

 

A continuous, stable system.

 

Lightness does not mean limiting basic tools.

 

Instead, the vehicles that are light, fast and fixed are integrated into the system.

Categories

Blog Archive

Last Comments

Copyright © BesGnuLinux | Powered byBloggerDesign by wpmagg | Blogger Theme by NewBloggerThemes