Hello
I'm getting something like this error at boot:
Quote:
A start job is running for dev-disk by \x2duuid-.....1min:30 s
Dependency failed for Resume from hibernation
|
Following is from the error log
Code:
# journalctl -b | grep -i dependency
Apr 10 18:16:58 svr.nix.lan systemd[1]: Dependency failed for Resume from hibernation using device /dev/disk/by-uuid/1007f617-b81b-4c6e-a652-5ab26cb71a46.
Apr 10 18:16:58 svr.nix.lan systemd[1]: systemd-hibernate-resume@dev-disk-by\x2duuid-1007f617\x2db81b\x2d4c6e\x2da652\x2d5ab26cb71a46.service: Job systemd-hibernate-resume@dev-disk-by\x2duuid-1007f617\x2db81b\x2d4c6e\x2da652\x2d5ab26cb71a46.service/start failed with result 'dependency'.
What I did:
- Changed the swap from regular partition to lvm volume.
- Used that same uuid that was used for the earlier regular swap partition to new lvm volume.
- Formatted that regular partition and used it for another purpose (so the uuid has changed).
- Changed fstab, grub file; regenerated grub file.
Code:
# swapon -s
Filename Type Size Used Priority
/dev/sda4 partition 8388604 0 -2
# swapoff -a
# mkswap -L Swap -U 1007f617-b81b-4c6e-a652-5ab26cb71a46 /dev/dsk/swp
# grep swap /etc/fstab
UUID=1007f617-b81b-4c6e-a652-5ab26cb71a46 swap swap defaults 0 0
# grep CMDLINE /etc/default/grub
GRUB_CMDLINE_LINUX="resume=UUID=1007f617-b81b-4c6e-a652-5ab26cb71a46 rd.lvm.lv=dsk/rfs rhgb quiet"
# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
# dracut -f
# blkid | grep 'sda4\|swp'
/dev/sda4: LABEL="PrimeOS" UUID="e5d445e4-f59f-5158-b9c7-465f7009bc23" TYPE="ext4" PARTLABEL="PrimeOS Android" PARTUUID="3c9f9e39-801d-4825-8229-add772c60105"
/dev/mapper/dsk-swp: LABEL="Swap" UUID="1007f617-b81b-4c6e-a652-5ab26cb71a46" TYPE="swap"
But still, I'm getting this above error.
Appreciate any help. Thanks