From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8434 invoked from network); 5 Sep 2023 15:53:41 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 5 Sep 2023 15:53:41 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id E058541049; Wed, 6 Sep 2023 01:53:34 +1000 (AEST) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by minnie.tuhs.org (Postfix) with ESMTPS id 2A07840FC2 for ; Wed, 6 Sep 2023 01:53:26 +1000 (AEST) Date: Tue, 05 Sep 2023 17:53:01 +0200 Author: Steffen Nurpmeso From: Steffen Nurpmeso To: (Norman Wilson) Message-ID: <20230905155301.mIziN%steffen@sdaoden.eu> In-Reply-To: <20230904221059.sF2G0%steffen@sdaoden.eu> References: <9A989054DE79CE5059CBA74797391E39.for-standards-violators@oclsc.org> <20230904221059.sF2G0%steffen@sdaoden.eu> Mail-Followup-To: (Norman Wilson) , tuhs@tuhs.org User-Agent: s-nail v14.9.24-507-g0e7e3e8c46 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. Message-ID-Hash: JB3NOHJSPLDUQTRCKYDMMYBWY7O6BVYL X-Message-ID-Hash: JB3NOHJSPLDUQTRCKYDMMYBWY7O6BVYL X-MailFrom: steffen@sdaoden.eu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Unix install & "standalone" package List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Steffen Nurpmeso wrote in <20230904221059.sF2G0%steffen@sdaoden.eu>: |Norman Wilson wrote in | <9A989054DE79CE5059CBA74797391E39.for-standards-violators@oclsc.org>: ... ||Perhaps the question to ask is why such a magic program is ||needed at all. Is it just because programs like the shell ||have become so large and unwieldy that they won't fit in ||a small environment suitable for loading into an initramfs? ... |For my laptop it allows me easy boot management. ... | -rwxr-xr-x 1 root root 4596 Feb 4 2023 linux-init-s1.sh* | -rwxr-xr-x 1 root root 3646 Feb 4 2023 linux-init-lib.sh* | -rwxr-xr-x 1 root root 5480120 Feb 11 2023 cryptsetup.static* | -rwxr-xr-x 1 root root 1978368 Aug 15 18:51 busybox.static* | -rwxr-xr-x 1 root root 10112672 Aug 26 18:44 ideapad-stage1.efi* Only to add that this is because of Linux and the way it is doing things. If i would use FreeBSD on bare metal, then i would have an EFI boot loader on EFI that knows (only) enough to ask for passphrase (correct me if i am wrong), and can then boot the kernel from FFS or ZFS. (You have to choose dedicated ZFS boot loader iirc, but despite that...) I know GRUB (and maybe other) Linux bootloaders can do all that, but they are huge, are badly maintained, or under-documented, let alone with local manuals, and i am too stupid to configure them (due to all that). refind is ok, however. But.. be aware of typos in the configuration.. But anyhow. With an EFI_STUB Linux kernel i can save me all that, with busybox i get a complete environment (i then even create an initrd in /boot/ on the fly so i do not have to type the password a second time, that can (optionally) be cached, and is, actually -rw------- 1 root root 4495987 May 29 16:29 .kent.initrd.0 Unfortunately cryptsetup is needed even though, i think, the kernel has anything needed; you just cannot access it. cryptsetup is only needed for "$cs open $PART_ROOT p_root --key-file -". Of course i am no real Linux expert but only a do-it-yourself guy. busybox allows me to manage this easily, to answer your question. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)