[SOLVED] Need to configure resume partition after upgrading to kernel 6.1.31
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need to configure resume partition after upgrading to kernel 6.1.31
Hello,
Just making sure if someone is having the same issue. I'm using grub2 as the bootloader, and before upgrading to kernel 6.1.31, I just need to run grub-mkconfig -o /boot/grub/grub.cfg after a kernel upgrade, and the resume partition and whatnot would be properly set up. After upgrading to kernel 6.1.31 though, I have to explicitly set the "resume" kernel command-line option in /etc/default/grub, then run grub-mkconfig again for things to be properly set up. Was there something that changed between kernels 6.1.21 and 6.1.31 that made this mandatory? I have no issue with editing /etc/default/grub, just asking.
Just making sure if someone is having the same issue. I'm using grub2 as the bootloader, and before upgrading to kernel 6.1.31, I just need to run grub-mkconfig -o /boot/grub/grub.cfg after a kernel upgrade, and the resume partition and whatnot would be properly set up. After upgrading to kernel 6.1.31 though, I have to explicitly set the "resume" kernel command-line option in /etc/default/grub, then run grub-mkconfig again for things to be properly set up. Was there something that changed between kernels 6.1.21 and 6.1.31 that made this mandatory? I have no issue with editing /etc/default/grub, just asking.
Cheers,
ltlnx
It was already (and always) mandatory in the form of "resume=<device or UUID>" kernel parameter.
It's strange for me that your system accepted it without being literally specified...
Maybe you have relied on some "undocumented feature" , aka benign bug?
Last edited by LuckyCyborg; 06-02-2023 at 03:25 PM.
It was already (and always) mandatory in the form of "resume=<device or UUID>" kernel parameter.
It's strange for me that your system accepted it without being literally specified...
Maybe you have relied on some "undocumented feature" , aka benign bug?
I found out that I applied the "resume=" some months ago in the /etc/default/grub config file, but slackpkg replaced it after this update. No wonder it didn't apply. Gotta be more careful next time.
I found out that I applied the "resume=" some months ago in the /etc/default/grub config file, but slackpkg replaced it after this update. No wonder it didn't apply. Gotta be more careful next time.
Cheers,
ltlnx
slackpkg new-config (always) let you decide if you want to overwrite the file or not
according to the slackbuild & doinst.sh
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.