• Re: [gentoo-user] How to make a boot menu?

    From Neil Bothwick@21:1/5 to Peter Humphrey on Sun Apr 17 16:40:01 2022
    On Sun, 17 Apr 2022 13:45:37 +0000, Peter Humphrey wrote:

    I use bootctl from sys-boot/systemd-boot to creat a boot-time menu
    (photo attached) from which I choose what system I want to run. This
    has worked well, but I'm not confident I'll be able to mix systemd and
    openrc like this for much longer.

    [snip]

    My question is how to do this in Grub.

    Why not try rEFInd? It handles UEFI booting simply, without the no-longer-needed bloat of GRUB.


    --
    Neil Bothwick

    I am Scooby Doo of Borg- Reware roo re arimorated, Raggy!

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJcJR0ACgkQ92eFu0QS MJiyng/8Chj7K3uqEi1vJgT+9Ml5raTcTlIvWDWxOzu7f+W9QepeiTO8ns5KurY7 5QXwHYAjJIKyrt7YmcVvPFh1W3uDpuchbZtcQwGsKsvey3PYQbkT452HO26sBTeH ntR6BGtMutKUKsTFuY6a3wDWrEgIAyakQFniC5ZUKS8vRKrd5/y5E2r8D5cfGLyh N3B/6yAW4yM0uPEvZSDTM+OpnHDuhgGsrCdeSKg/K2BQylxphPDY2w9d1C0NSWKi Jol9jxFiQD03+/6DGRnTAYdzvrhRr/UPF325b28auTnuuy95wSKb1llRvTA8PCD6 u3mYF2b1ZifAuHDHGG0yEchrS+3ZzM4ktq5dwYbcP6XlGN5jcwAIXw2oqkyAaTDj lvjYyjVxlOorF53iXtUPhqV7ivnvkQfdRL4QYM1V1u+2aHzWP2tgfcSeMQymgnO8 7Rx4YLBrfnvkYUM9+KgjuVVNh5cVwgEXXSskfa19sFL53GW/Sw7d4we9zvbJDhcq Yffg/CVYT99vBbjUEXvXsSvmDrY+18CT5uhoQvGqEWnPMocH9GXE4E3fDSC1OQ1J vsp1YrxqoWUTg2iyD6l1ypGNrfnD5G1wp5YvAq3b2Hj+tJWNFFmKJ7QoElhlCToQ ikvTRfNUDOmAKe+l/haQ/eJK9MXXc4YFPzYbryDiz0amOsbLnvI=
    =yQRv
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Apr 17 16:54:51 2022
    On Sunday, 17 April 2022 15:33:01 BST Neil Bothwick wrote:
    On Sun, 17 Apr 2022 13:45:37 +0000, Peter Humphrey wrote:
    I use bootctl from sys-boot/systemd-boot to creat a boot-time menu
    (photo attached) from which I choose what system I want to run. This
    has worked well, but I'm not confident I'll be able to mix systemd and openrc like this for much longer.

    [snip]

    My question is how to do this in Grub.

    Why not try rEFInd? It handles UEFI booting simply, without the no-longer-needed bloat of GRUB.

    +1 for the relative simplicity of rEFInd. I've only used it on a MacBook Pro, some years ago now, but it worked like a champ to dual boot Gentoo:

    https://wiki.gentoo.org/wiki/Refind

    GRUB is rather bloated, because it tries to be all things to all men.
    However, you don't have to use GRUB's mkconfig command to automatically generate a boot menu. You still can author manually your very own grub.cfg as described further down this page:

    https://www.gnu.org/software/grub/manual/grub/grub.html#Booting

    Then you'll configure whatever GRUB_CMDLINE_LINUX kernel options you need.

    There's also syslinux, which I have only used once. It worked. Not sure if
    it meets your needs, but I mention it for completeness:

    https://wiki.gentoo.org/wiki/Syslinux

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmJcOEsACgkQseqq9sKV Zxls5hAA2x6wHvoYhkY6IlIOier3nL7kTKMylGrgGeS3VxpmKFP+71weg5aBEJhU mMQHy41BYWZ+T2t9N6/7FvMAWqVE/Mt6OA/rj3caizlFqbUupHJwoORnd0gNLT5t Zm4dh1YP6rE7n9n7aehTS7939ulcLoCeAYIKEXc8TCYrSscr4iES2xpDgG31m/WI +iUW4F+q66qHITZ0O/mlOl+2xUiWvqZHGvFLpoCIZdpsV5CHVS+xd/MzfMIzZKof af+ELID4ZlYWooasaMGngR0E8CmDRI2eXGADUJ0uKzT68lm1U2GSZKlv7QizR+8p aujq94vYnzTaYTyVDlvLIPCsboH2qtEJV/0mdFJ7K4wndNuM8NFppjzOtgZJ9DCa /tYvr2GTZ/ZlKaenncSMaIF+dRTMb82hXYP1cv8m9XqlohZ5E5UOxcR1DIE350GJ /f07SjeSzCyn3dyq86lE8ufsycrUo4WAVagZn1bphwFXBVKyeEocVfu1esnBwJYp Lziyw/fQ+j3eFLvXf+gT3RIoxseCND9eob1ePgEsWZMOgg3I3T3ulsjmVgmfQzmA GzSmR5xnNqHBLekuGJh3uE8zMo9LmV0NmEA5eQnN6sPg8SSRTFSyrHMB7oCyqbG0 lESUgvMy0tcuyua8zVP01HksnvXvHyUPAW9KtdYZeIvCkoInWSc=
    =MlmB
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Sun Apr 17 18:00:01 2022
    On Sunday, 17 April 2022 14:33:01 -00 Neil Bothwick wrote:

    Why not try rEFInd? It handles UEFI booting simply, without the no-longer-needed bloat of GRUB.

    Hm. If I'm reading the wiki right, it can't handle choice of run levels with a selected kernel. Or is that wrong?

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Sun Apr 17 18:40:01 2022
    On Sunday, 17 April 2022 16:12:29 -00 Michael wrote:
    On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:
    On Sunday, 17 April 2022 14:33:01 -00 Neil Bothwick wrote:
    Why not try rEFInd? It handles UEFI booting simply, without the no-longer-needed bloat of GRUB.

    Hm. If I'm reading the wiki right, it can't handle choice of run levels with a selected kernel. Or is that wrong?

    From what I understand you should be able to tweak kernel command line options in /boot/EFI/gentoo/refind_linux.conf.

    Ah, right. I'll have a look at that.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Sun Apr 17 18:50:01 2022
    On Sunday, 17 April 2022 16:38:23 -00 Peter Humphrey wrote:
    On Sunday, 17 April 2022 16:12:29 -00 Michael wrote:
    On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:
    On Sunday, 17 April 2022 14:33:01 -00 Neil Bothwick wrote:
    Why not try rEFInd? It handles UEFI booting simply, without the no-longer-needed bloat of GRUB.

    Hm. If I'm reading the wiki right, it can't handle choice of run levels with a selected kernel. Or is that wrong?

    From what I understand you should be able to tweak kernel command line options in /boot/EFI/gentoo/refind_linux.conf.

    Ah, right. I'll have a look at that.

    I'm writing this on an Android tablet in my local, over VNC. Technology rules, OK?

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Apr 17 17:12:29 2022
    On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:
    On Sunday, 17 April 2022 14:33:01 -00 Neil Bothwick wrote:
    Why not try rEFInd? It handles UEFI booting simply, without the no-longer-needed bloat of GRUB.

    Hm. If I'm reading the wiki right, it can't handle choice of run levels with a selected kernel. Or is that wrong?

    From what I understand you should be able to tweak kernel command line options in /boot/EFI/gentoo/refind_linux.conf.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmJcPG0ACgkQseqq9sKV ZxlvpBAAmdkrxpRAkuI9qPofEBIqXaOgqtgop2bRoid/H/xUpavHd8TH72jUn1qH 915O3etaPfte4eSnO4QHs47WitxMZrjGopPdzBTyXNvlnG8eL/c5i/++6ZJToh7a v5QsIvWGe+IkEedqq4xPktPOwBSAdzWn0wzRpWekgZTqJBsxQ/+dySkNO52mo/PA IgaZcdMFzm4eQsHpYIvsxQ35+eZ1gSJPqehdjDqJuzWOmOihrrQCN/hFe7P4fGB+ d60s3nqryCF2kWAudzwiigG8aRmPreoB0rUgkqZF9MWuTd1+XGR+U3PqRheq/LkI pFEgf+Z4j4PNZIzURVaF6J09kcL7yoHimeQCF9eTiEv/hMI+4A4hBYfVbF5DhSSI Y6pwV+M97KBcs17a/LN4XcKF26GYEBXFuIj2pD2TSfIjcTohySCQGQ/7kDXMtddk s/yUiEXZhCNlqbHzfZg31LN2FFw1alAXO+tgLr6g3tThJT+klFLG/+/rvUwiQQGs ioXJi9yhpOHSi9WiCwVE+8jgU/C/zH2i5Z2dAD+VJWnlBp+4WPh4sMA/4XdfIc2J Vv+9rd14vpi21wu65eruejoiN7mEoyi6QkN/rlxRG9eHRn5/ra3qKYZj49paXkNu h0izrAAAUIoS6tF5RfhswUhhgqI9mvld5aZMhv3Bn61K8Uh6OoE=
    =Zp6k
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)