вторник, 16 ноември 2021 г.

Enable grub on manjaro

 For unknown reasons, someone decided that GRUB should be hidden by default. Because of course, why would you need to see your previous kernels or other OS. Anyway, to recover it:

$nano  /etc/default/grub

Change:

GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden

 to "menu"

GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu

$sudo update-grub

or alternatively:

sudo grub-mkconfig -o /boot/grub/grub.cfg

And reboot and there it is. Now the next question is what did they do to xanmod kernel (5.13.19) that it can no longer Hibernate properly. Good news is that I installed it rather easily from Aur, bad news, I'm not sure it was worth it. Previous xanmod was pure iron, it lasted for something like 90 days without restart, during which I flew a number of times, so it was hibernated at least then. And it worked great. Yesterday I hibernated and the laptop simply couldn't wake up. Oh well. Old problems, new iteration. I really don't get WTF with hibernation on Linux. On Sabayon it used to work great. On manjaro, it sometimes works, mostly doesn't.