Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I got the same issue after the update. As it was mentioned above it is connected to the kernel parameter "resume".

My solution is very simple. We add the "resume" to the default grub parameter and rebuild the grub2 config. This will also work for future kernel updates. But when grub2 gets an update this needs to be done again.

That's how it is done:

1) Get the device file of the swap partition. You could use blkid, gparted or parted. I used blkid. Just run:

blkid

This is what I got, I removed all the other lines. This is the important one.

/dev/sda6: LABEL="LINUX_SWAP" UUID="1805fa26-010c-4d8f-9009-deb2c21b77c1" TYPE="swap" PARTLABEL="Basic data partition" PARTUUID="c78f919c-0978-43c8-9f00-1ed497050281"

So my swap partition is on /dev/sda6

2) Edit the default file /etc/default/grub. You need to modify the line which includes GRUB_CMDLINE_LINUX. It should look something like this GRUB_CMDLINE_LINUX="rhgb quiet" Use your tool to edit the file. You need to be root or use sudo. I used vi.

sudo vi /etc/default/grub

Change the line so that it looks like this. Replace the XXX with the device file of your swap partition

GRUB_CMDLINE_LINUX="rhgb quiet resume=/dev/XXX"

3) We need to rebuild the grub2 config file. Since I have EFI I need to update the EFI config. If you also have EFI, just run

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

If you have a non-EFI system, please read here https://fedoraproject.org/wiki/GRUB_2?rd=Grub2. Looks like you need to run "grub2-mkconfig -o /boot/grub2/grub.cfg". But I did not try it, so I don't know if that works. Maybe someone could post a confirmation that it works.