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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC396158089 for ; Thu, 19 Oct 2023 08:40:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA4682BC140; Thu, 19 Oct 2023 08:40:32 +0000 (UTC) Received: from cockroach.apple.relay.mailchannels.net (cockroach.apple.relay.mailchannels.net [23.83.208.37]) (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 1CA2F2BC056 for ; Thu, 19 Oct 2023 08:40:31 +0000 (UTC) X-Sender-Id: _forwarded-from|230.3.169.217 Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2A062840F24 for ; Thu, 19 Oct 2023 08:40:30 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1697704828; a=rsa-sha256; cv=none; b=YDmjKFwDqtEwViRb3c2sYk9fR+kzcDzwzsKs0nEcMTQEgV+VpwlzpqwJJEiUDF3AV475By jUqr12Pj+qoA3eKKP3OzpWRVeSsZEw6m6JlFlSuwkaJufDIh1mxzNK07JZ/YM8fAfCjC2i I4eM5tOMAjfhu+YbPcjFVrf6lAcifAwqM3Z0CSRDi8/lrPR55LFK0mUF3XRshp0U1dXiDj 7KW3GLBlZRgClJ0wAnwglzUUfKnMHCrgxQWXk5AgGNjzeR0HndAV+qNekg3zQZ5VTOvGWl sDGzb6Xo5zGO0LdAIx7/NNIku1PDUcMJOw7zbO23bMXd4xhFTx4MFUzbwUKtgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1697704828; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:dkim-signature; bh=uZDhfo+jCqxPsNrwzNQG+Plnf6qarjI7cFtnLRk2TVg=; b=J71tgiZ4T/g1+yCn2VknE7GsMYZMbPECwwakNdhaFL/pYHK1lmNrmVS6Agk5aRe6YJk4mW Pyf5W2fsOI/zUCIVoKrzqoI7B8XmtY495npiCHTQWquJNG3cJNqydadwsigPK7XejYBjJJ sIQt3yWsbTOUsg9RVQJ1N2vBOoaCbwhyPtBqF2zQGroRq0vLTB4gJYdZHBu8wHkNQAcXH2 CZ8rTPfxCLZmrE42odsTVNuZ08cX49xBBjGHeDqL5YnxIxPF0oRAfXJ2UeboB6FReaRnZ2 q82XlX0vSy6kXDsA7pihtbw6QOIGARc5otYJp/2QLJYk824SfoEDq7IDYglkpA== ARC-Authentication-Results: i=1; rspamd-555cdc57c9-brxpw; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: _forwarded-from|230.3.169.217 X-MC-Relay: Forwarding X-MailChannels-SenderId: _forwarded-from|230.3.169.217 X-MailChannels-Auth-Id: thundermail X-Sponge-Eyes: 41a4bde81f47739b_1697704829647_1153039063 X-MC-Loop-Signature: 1697704829647:3146512562 X-MC-Ingress-Time: 1697704829646 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.109.167.102 (trex/6.9.2); Thu, 19 Oct 2023 08:40:29 +0000 Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id A0B884022E for ; Thu, 19 Oct 2023 09:40:22 +0100 (BST) Received: from rogueboard.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id 769C9C447B6 for ; Thu, 19 Oct 2023 09:40:22 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1697704822; bh=uZDhfo+jCqxPsNrwzNQG+Plnf6qarjI7cFtnLRk2TVg=; h=From:To:Subject; b=rfYBHVl0pPNp+Z0UC9og5B8+RKtwOj6PVCComSaCc4XHJZgi94ByjGvMVzfDg7+L6 BUoMYcS67z1QEzwmucvPQZyWnnW+DsenQtPzvwVtZYmXQd/98v1OpK6LSMHF7xHquM Xh2v6oskw4nZy1UUyyZXwCjDDpvhtKOtVCkBGlSk= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: OFF TOPIC Need Ubuntu network help: boot loader info Date: Thu, 19 Oct 2023 09:40:05 +0100 Message-ID: <8327681.NyiUUSuA9g@rogueboard> In-Reply-To: <21ad1989-913f-893d-8cb9-b5537100668a@gmail.com> References: <17dbcf2a-13c7-b8c0-69f1-a09e5288cfd5@gmail.com> <20231019000643.44bf5a62@digimed.co.uk> <21ad1989-913f-893d-8cb9-b5537100668a@gmail.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: multipart/signed; boundary="nextPart1968263.usQuhbGJ8B"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <169770482277.1265527.16203249736098886695@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; R_SPF_ALLOW(0.00)[+mx]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_ALLOW(0.00)[kintzios.com:s=default]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-1.000]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[confabulate@kintzios.com]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; DKIM_TRACE(0.00)[kintzios.com:+] X-Rspamd-Server: mailclean11 X-Rspamd-Action: no action X-Rspamd-Queue-Id: A0B884022E X-Archives-Salt: 9bad01c0-f4e1-415d-91e9-fa601f96c399 X-Archives-Hash: b7a5127b79985258848ce57c8c1944ff --nextPart1968263.usQuhbGJ8B Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Thu, 19 Oct 2023 09:40:05 +0100 Message-ID: <8327681.NyiUUSuA9g@rogueboard> In-Reply-To: <21ad1989-913f-893d-8cb9-b5537100668a@gmail.com> MIME-Version: 1.0 On Thursday, 19 October 2023 05:49:25 BST Dale wrote: > Neil Bothwick wrote: > > On Wed, 18 Oct 2023 17:27:28 -0500, Dale wrote: > >> I used cgdisk and GPT for my disk even tho it is small, only 300GBs or > >> so, mostly out of habit. The grub install failed and I did a search. I > >> found this and it worked. > >> > >> > >> > >> grub-install fails with "grub-install: warning: this GPT partition label > >> contains no BIOS Boot Partition; embedding won't be possible." If you are booting a BIOS MoBo, or an EFI MoBo in 'BIOS Legacy' mode, from a disk which contains a GPT partitioning scheme, then you will need a separate partition created as type 'BIOS Boot Partition' for GRUB to install its core.img: GRUB's Stage 1 boot.img is still installed in sector 0 on a GPT disk, same as on a disk with an MBR partition table. However, on a GPT disk GRUB's Stage 1.5 core.img with all its filesystem drivers has to be installed in a partition of its own, because unlike an MBR disk sectors 1 to 62 are not empty but contain the GPT header and the GPT partition list. Without its filesystem drivers GRUB won't be able to access its modules in its Stage 2 filesystem, which is stored in the OS /boot/ partition, or its grubx64.efi UEFI executable. It helps to get straight before you start an installation what combo of MoBo and type of disk partition tables you intend to use: BIOS Vs EFI MBR Vs GPT > > Simple answer, don't use GRUB :-) > > > > Seriously, GRUB is a bootloader, EFI is a bootloader. You are using one > > bootloader to load another bootloader before booting the system. > > > > rEFIind and systemd-boot are both boot managers, they work with the EFI > > bootloader - or you can boot a kernel directly without a boot manager, > > but I prefer not to do that as it gives no opportunity to edit options > > when booting. I like rEFIind, but I recall it needs/needed a separate /boot partition if you are running LVM/RAID. > > If you like simple, here is a config file I use with systemd-boot > > > > version 6.1.57-gentoo > > linux /vmlinuz-6.1.57-gentoo > > options root=/dev/sda3 panic=10 net.ifnames=0 i915.enable_ips=0 > > > > That's it! There is a separate file for each menu entry, but they are > > this simple. There's also a global loader.conf, that runs to a massive 2 > > lines here! > > Right now, I'm still using BIOS type boot. I've read where you and a > couple others use something else and they do sound good but I just > haven't got the nerve up to switch. When I build a new rig, I'll likely > get into some other boot manager. In a way I kinda dread it but on the > other hand, I just might like it. You and several others make the other > options sound really good. > > That config kinda reminds me of the old grub. A title line, location of > kernel and then options. Sounds easy enough. The new grub config is > almost impossible to config by hand. They had to make a tool to do it. > That says a lot there. ;-) Not really, the GRUB developers were trying to make maintaining a boot manager simpler by scripting the process and offering to hook it up from binary distros' kernel install scripts. Anyway, you can still write the configuration by hand if you follow the GRUB2 syntax. You do not need to run GRUB's grub-mkconfig script to automatically update the grub.cfg file if you prefer to do it manually, but it is certainly simpler to use it since it is already there for you. --nextPart1968263.usQuhbGJ8B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmUw62UACgkQseqq9sKV ZxkNfhAA0Aqjoh9C9NFRaYRwLfzNOIqOXcTKSjccd5irO8D+sC4OS1cx9ZYmpWHs 71WvFojGD3XviIlFOVn6G1qvLdjxsrhMXB8qIHSjh5HVHSM12RbjNdYlJfqRjO3u EnzSEkujl/GFuO2sbaycZULMwdTFtJVThNq7LYLkQZD89Gesn0WdOU6YgFOCRL9e eDYj2p7FuY0En4YgsGDcBzaSmog/mwy8jQdicW4Olb1bmPu5ctUhyvbBSUorYv3Z xq0cWBkdyMT9yu+5yIy+9vMI+6BpRktNN3dxJse6nW07Ohp+GBceiFZwPFXpWS+q olU64xxdUro2mkndryuRBfLDuoxNUe1sm1pMJICuRME5r1orYx62FiUQS/97UFpd 5hJogUo1/s47KXv98l6NjfDRuUAbYaAck8HIqdewJwcHv9EEAn/K2K5vdGAs2v/h Mp7t5Tat65WmUwmVXAH6h7IW2tQ2KROJMGSNYJNB8N2yLS84p75lAmkkc/3OH7JV R04hQayVvzcqLp1cPneIwqbnw1n+iaERXztxrDNbvAY/i76nNYBEDtCfDVRa1Znz vFH3idO9QMQ35j+qf9n9lNGS2BLdcNdtqV+zFnPo6OcEsSU2WhqmEFdF0LIV63NJ AqgTa/sht6Xq0ehMPzhrwVDFnvvbeLdxgx3nNNscSLN+0mdItw0= =oqcY -----END PGP SIGNATURE----- --nextPart1968263.usQuhbGJ8B--