Recently I have to delete my swap partition in order to install Windows 10 (install srceen said something 'bout having too much partition on my drive). Now every time I run elementary os or other linux distro (which have been reinstalled due to shenanigans and worked OK), there's like a pause (over 10s of something) of just the blinking cursor before the computer prints out this line:
Gave up waiting for suspend/resume device
and start booting normally. And as for shutdowns, the system prints something like
"a stop job is running for section c2 of user user XXXX (xx/24s)"
before shutdown. For the former issues, I have tried creating a swap file (with the instructions form This article), then change /etc/fstab to:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda8 during installation
UUID=fa6b3b5e-904d-4a50-8c4f-5993c38937f2 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
#disable swap
#UUID=4dcc1eb2-c8dc-4b4a-bed3-ab53f581a0ff none swap sw 0 0
/swapfile swap swap defaults 0 0
and edited "/etc/initramfs-tools/conf.d/resume" to "RESUME=UUID=none" commented (basically deleted) the line with seemingly no effect to the problem.
Another thing is that, in the installation of Windows, I accidentally deleted all my Linux partitions. So I aborted the installation, tried to recover the partitions with testdisk- which thankfully worked- then started the installation again. I did run sudo fsck -f
(which turns in clean) and the root partitions' UUID seems to be unchanged so I don't know if this have anything to do with the problems.
It isn't that much an serious issue to me as it's still relatively quick to log in/out of the os. But I would be more happy if those delay were fix and gone.