Received: from mail-40133.protonmail.ch (mail-40133.protonmail.ch [185.70.40.133]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 78772781A97 for <~alpine/devel@lists.alpinelinux.org>; Wed, 11 Aug 2021 23:25:20 +0000 (UTC) Date: Wed, 11 Aug 2021 23:25:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunfi.sh; s=protonmail; t=1628724318; bh=8phaNQ484GjRQlw2vpcvr0qUgteuKbuXLjQd4NK4Sk8=; h=Date:To:From:Reply-To:Subject:From; b=OyQGk/b1WweI61uxOFh12vDXvBjiONr6jDeT4HV/5If8D4pVB91w1dbm0m/d7NfP+ NNvX+ziDm9jD1QzeAObG15f5vDIyAc8XCGxexN61jpVrgUl9ZbCQz7Jw4l1HjLOIYz GLnP/UP6eHQaJFq3T0pskF3MNZhq4DYrjNU+PbtfCqWEdNXudwZVOqWvxdBsJ3PqSw 9PM8f1k8SAruog0k+rC8LOK0r5avdqj5bR+OEEkodc+CilCJIRhL5J7EjsrkbBiBjm v+uNXSYk7VIyJC+/U7f4aAWWI/tskU8d9ISY/Lt4I0akAETFBIaxcEdPzONMKdt0hw WkIUbxferK47w== To: "~alpine/devel@lists.alpinelinux.org" <~alpine/devel@lists.alpinelinux.org> From: Phil Hofer Reply-To: Phil Hofer Subject: grub upgrade to 2.06-r0 changes menuentry order Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="---------------------32f7e75f0593f730d2b98bcce7e4be3b"; charset=utf-8 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch This is an OpenPGP/MIME signed message (RFC 4880 and 3156) -----------------------32f7e75f0593f730d2b98bcce7e4be3b Content-Type: multipart/mixed;boundary=---------------------f0e147328a8c7bc9a6b0e53d57b52137 -----------------------f0e147328a8c7bc9a6b0e53d57b52137 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Hi folks, I ran an `apk upgrade` on one of my systems that runs on edge this morning= and discovered that my system would no longer reboot. The issue boiled down to the grub-mkconfig post-install hook changing the = default boot menu entry. One of the recent changes to grub introduced /etc/grub.d/30_uefi-firmware,= which introduces a menu entry for the UEFI interface. For whatever reason, grub-mkconfig decided to make this menu entry the def= ault rather than the menu entry from /etc/grub.d/10_linux. The solution for my machine was just to run `grub-set-default 0`, but obvi= ously that's not going to work for people who have more complex configurat= ions. I don't really know enough about grub to know what the fix is here, but ho= pefully someone else does. On a related note: this is the second time a grub-mkconfig has soft-bricke= d on of my headless machines. Is it possible to update grub without re-generating grub.cfg and grubenv? Cheers, Phil -----------------------f0e147328a8c7bc9a6b0e53d57b52137-- -----------------------32f7e75f0593f730d2b98bcce7e4be3b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJhFFxLACEJEJxarlACsSHwFiEE+MZBU1rF/ABkj7dDnFqu UAKxIfAt4Qf/fRx1dOr95ikzPZdn2t6pHzUyhIvINd0j3BnWgHNr0MX6NW0T vMtby83akRuHu7hICIyxAZnHyPkHLt6bj+mohQBnweJGtFPkZN9HlggkCCGq jaboKQ/zeZiP1rL77b9fG1PtQJpFBOYTbTJVOeAjplHOyT2O4lXuO333Gd52 8qkVXhDNEnzjtirzFjCh9J0Qiz0sn9Fco8XhnlxdHCrqeAObHIQ4bkubcSwz JPzBQZjNKpm8jOe00Is1RQWFK0G7YYSBZDfqjWJx+Kzfg0mgWsEmVb1vrNpX 0Hke1ftCr51riLcM4JgmMQvMGXcBIiysSJKHGpN5BRHz28K3nDz6fg== =xPsD -----END PGP SIGNATURE----- -----------------------32f7e75f0593f730d2b98bcce7e4be3b--