[RESPONDED] AMD OEM Kernel update procedure breaks hibernate by updating GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

Hey all,

When following the instructions for the OEM kernel update, it uses sed to replace the GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub.

Setting up Hibernate with a swap file requires replacing this line to include both the UUID of the partition, and the offset of the swap file (if using a swap file) on this line, as discussed here:

The result is that following the OEM kernel update process will remove these offsets and break hibernation.

Hibernation is really important for the AMD framework because sleep is not very good yet.

2 Likes

PR with speculative fix: Only update if quiet splash are not included by rathboma · Pull Request #21 · FrameworkComputer/linux-docs · GitHub

Kept the PR open. Hibernate is not something we test again (only suspend), but I did make some changes recently that may help.

1 Like