Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] GRUB bootup ftom hibernation question
Date: Tue, 27 Jul 2021 23:09:28
Message-Id: YQDKXeo82f6YDijh@waltdnes.org
1 I was heading out earlier today, and ran "sudo /usr/sbin/hibernate".
2 There was occasional thunder, and I did't want my UPS to run out if
3 power got knocked out while I was away. Now for the LILO/GRUB
4 differences on reboot...
5
6 * LILO would automatically reboot to the kernel that it had been running
7 at hibernation time. I wouldn't see the LILO menu at all.
8
9 * GRUB, on the other hand, brings up the regular boot menu from
10 hibernation, with default being the default.
11
12 If the running kernel at hibernation is different enough from the
13 kernel selected at bootup, I can imagine situations where "that does
14 not end well". Is there any way to get GRUB to "remember" the previous
15 kernel or menu selection it was running under, and automatically select
16 it, when rebooting? Note that I'm using a manually edited grub.cfg.
17
18 --
19 Walter Dnes <waltdnes@××××××××.org>
20 I don't run "desktop environments"; I run useful applications