msgbartop
MAC OS X, Linux, Windows and other IT Tips and Tricks
msgbarbottom

11 May 19 Solving the Running /scripts/local-block loop while booting in linux

Problem:
Linux booting and taking a long time while looping with the script:
/scripts/local-block

Reason:
Linux boot needs to know the UUID of the Swap file it tries to mount.

Solution:
Run the command:
blkid
and get the UUID of the Swap file.
Run the command:
nano /etc/initramfs-tools/conf.d/resume
This file doesn’t exist. It will then be created.
Add the following line as follows(example of UUID):
RESUME=UUID=4b7ead25-e0d9-4064-bfa3-167ac46ada3f
Save the file
Run the following command:
update-initramfs -u
Reboot.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: