From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 89FD5138334 for ; Fri, 5 Jul 2019 14:25:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1457E08BE; Fri, 5 Jul 2019 14:25:23 +0000 (UTC) Received: from blaine.gmane.org (195-159-176-226.customer.powertech.no [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 563CDE087F for ; Fri, 5 Jul 2019 14:25:23 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hjP9N-000uwI-O5 for gentoo-user@lists.gentoo.org; Fri, 05 Jul 2019 16:25:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: Human configurable boot loader, OR useful grub2 documentation Date: Fri, 5 Jul 2019 14:25:13 -0000 (UTC) Message-ID: References: <5a75d07f-811f-4747-a91a-209cd4eef86e@www.fastmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: slrn/1.0.3 (Linux) X-Archives-Salt: b9a14509-dc44-4324-aeb5-508082a9f173 X-Archives-Hash: 24f59a9c17a7881b11efb7f6f4a4cebf On 2019-07-05, Francesco Turco wrote: > On Fri, Jul 5, 2019, at 08:05, mad.scientist.at.large@tutanota.com wrote: >> So, is there either a boot loader that a human can configure >> manually that can handle LUKS partitions?  No uefi, but GPT would >> be nice. > > I have a LUKS-encrypted system, GPT partitions, no UEFI, systemd, > dracut, btrfs. > > I always manually create a /boot/grub/grub.cfg configuration file > without using the grub-mkconfig command: [...] I used to hate grub2 with a passion and stuck with grub-legacy as long as possible. Then I realized that you can ignore the nightmarish auto-magical modular AI configurator stuff. Grub2 is still a bit bloated for my taste, but it's just as easy to use as grub-legacy if you configure it manually. My grub.cfg files are just as trivial as my grub-legacy config files were: -----------------------------grub.cfg------------------------------ timeout=10 root=hd0,1 menuentry 'vmlinuz-4.19.52-gentoo' { linux /boot/vmlinuz-4.19.52-gentoo root=/dev/sda1 } menuentry 'vmlinuz-4.14.83-gentoo' { linux /boot/vmlinuz-4.14.83-gentoo root=/dev/sda1 } ------------------------------------------------------------------- I shudder when I contrast that with many hundreds of lines of cruft that the mkconfig system would generate. -- Grant Edwards grant.b.edwards Yow! Inside, I'm already at SOBBING! gmail.com