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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 724A61581E7 for ; Sun, 28 Apr 2024 09:14:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55EA8E2A2A; Sun, 28 Apr 2024 09:14:19 +0000 (UTC) Received: from tiger.tulip.relay.mailchannels.net (tiger.tulip.relay.mailchannels.net [23.83.218.248]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6D78E2A1A for ; Sun, 28 Apr 2024 09:14:18 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8FA802C190D for ; Sun, 28 Apr 2024 09:14:17 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1714295657; a=rsa-sha256; cv=none; b=uJLY5wUjdcFaDYPCF6aVIfQfKcBk54kLqBmRCyQil0KyygoULwYMVGicNjMs26uopv6cjH 1uRPKpCBtGSNsSH2VKhR6LQ/n6aprX2VKFeQ7s5He1ah9tOgCvNByROpUepTk162mMbj58 SNPuOfN0cyTW/M6LCIHjdC8cfhBRLff5EdR4CL0w4g4pwfbj0VLkADCohORn+9qWb8QRy9 GdJJjenGaO2G4nray+7UuftHc7esUYgqFD+9LXijYHkHgsgV0Qicg1gMJDWEZ703xZCg9O 6uBPHHOCEmwYDHbco0SI+FZKjM35o7LD7iKG+7UIei7rtBHnLVDoeaPK4yfCSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1714295657; 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; bh=5gc6nLKt4/dZfJFMTYSt7goDuL2WX7yjEzGQWS96rwE=; b=r9HJR+Z+pdU/PYsLKPRozlKgxgrdhHXuR4jF+S5n+dzeQEV0lDH59OaCbOV0gdQDLSRawx +hryh7sWFA40KeVknwdEHtRKpDPagPHDEO7jFTzWSTpROHuB7XTFDNt0NIUWINGF1U8vHA BcZ1MeGgiPq+0csWsZ0Dx9/hykoPd5wqSy8DlkGwtlmE4/3OyxwFhy5GDrSGKqOJRdSy7u KxvdHOzZUjthLU57fqhIOB5FaLDHTeKF5CHlvmLtBF7Ce4bnNtYsOeMk5nST1fDY9D/3xp ZUsaNL1YKZc6MPQR4TtHH0MQTKqg70Kn2C8T6FZWjZJT8YP6bcZZoHq4E++Igg== ARC-Authentication-Results: i=1; rspamd-5c97bbd7c5-4grf4; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Desert-Society: 557036c171e91ac3_1714295657230_2410546814 X-MC-Loop-Signature: 1714295657230:2106660818 X-MC-Ingress-Time: 1714295657229 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.102.9.179 (trex/6.9.2); Sun, 28 Apr 2024 09:14:17 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 687DF1E0006 for ; Sun, 28 Apr 2024 10:14:10 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Grub, gpt partitions and BIOS, not uefi thing. Date: Sun, 28 Apr 2024 10:14:00 +0100 Message-ID: <7658494.EvYhyI6sBW@rogueboard> In-Reply-To: <0256aae5-4cd8-419e-4c67-8b01da230ae6@gmail.com> References: <3298963.44csPzL39Z@rogueboard> <0256aae5-4cd8-419e-4c67-8b01da230ae6@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="nextPart3806488.kQq0lBPeGt"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <171429564919.1653942.6885431275744120361@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 687DF1E0006 X-Rspamd-Server: mailclean11 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)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.996]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; 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]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 49c77db2-940f-4c54-8534-b13217378e0d X-Archives-Hash: 8843f9548ef5a507d70b51247268c394 --nextPart3806488.kQq0lBPeGt 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: Sun, 28 Apr 2024 10:14:00 +0100 Message-ID: <7658494.EvYhyI6sBW@rogueboard> In-Reply-To: <0256aae5-4cd8-419e-4c67-8b01da230ae6@gmail.com> MIME-Version: 1.0 On Sunday, 28 April 2024 06:24:09 BST Dale wrote: > Michael wrote: > > On Saturday, 27 April 2024 17:53:25 BST Dale wrote: [snip ...] > >> I did some research but still find myself in some muddy > >> waters. My take on some things I've read, I need a boot partition, not > >> to be confused with the /boot for kernels, init thingys and such. Where > >> I get lost, most use gdisk. I like cgdisk. Before that I liked > >> cfdisk. Anyway, how do I set up that partition with cgdisk? Any > >> minimum size requirements or tiny is enough? > > > > 1MB > > OK. You know that "alignment" thing that is always on the beginning of > a drive, could it use it? I think it is like 2MBs or something. It should be 1MB, sector 2048. For 512 byte sector size you'd get: 2048 x 512 = 1,048,576 bytes This is coded in on modern partitioning tools to ensure alignment of logical and physical sectors by default. This alignment is critical for the performance of so called "Advanced Format" disks with 4096 byte size of physical sectors. Therefore I strongly suggest you let the partitioning tool align its logical partitions where it feels best - at the 1MB boundary and not change it. HOWEVER ... If you are partitioning an old disk on a BIOS MoBo with logical/physical sector sizes both at 512/512 bytes, then you can take matters into your own hands and force it to start your 'BIOS Boot Partition' at sector 34. Sectors 0-33 are used by the MBR and the GPT headers, so leave these alone. Start sector 34 End sector 2047 > >> Does it have to be a > >> specific type? > > > > Yes, it has to be set up as a "BIOS Boot Partition", with the "ef02", or > > GUID 21686148-6449-6E6F-744E-656564454649. > > Light bulb moment. I've seen 8300 and friends, 8200 etc but never seen > EF02 before. Now I see what that type means. That cleared up some > muddy water. That lead me to finding this, it has a nice table of > common codes. > > https://wiki.archlinux.org/title/GPT_fdisk If you select [Type] in cgdisk and then press "L" it will list all the partition types available. I suggest you familiarise yourself with gdisk, which has more options, or as already suggested GParted has an easy GUI to navigate through. --nextPart3806488.kQq0lBPeGt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmYuE1gACgkQseqq9sKV Zxno0A/9H48r63W+5Yy0ZgXSn76W4NA+1MtAw36vGh0fm90wIJH/IQc21p9OVirp H2nhNvtVZIRYXnH9fzLsLouHUwCwkC0TGYC2CMTs8gbShK7lA/jRw1o5YdyIGGxh XFjt53Tzg2CtZkhXIuwUTO5KaPnhIysl6WLH4lScTjDVCm9bdX/zxhjAoEdfHymR CyFcjWWt07kuyLmavhasaYNqDcnvL8LxajDzYUFDZGqlJ1I/S+l7/A9u3seA84g+ jD4WibDVAUiDrTa0TlTiGtfICkyotxxR3aIhy4p4q4JEYXsnrmrDWTmyAkde8zeY QkJmoIfWJ92eDGvIJGS5lohzjTRZtSCteyKvo3D0Z0i0ABvbunRHkfViF8V/SGBJ 4NesQeZ71+T8LNAbZOeIRxnl0VyJNxSgFP5I9vdWMQmnE/VNGIJWQgWiHF0ae595 6hZPQPEvyaKrXnlZfwKtToc87AKc1gzFG/q2sUW3OaakVbJOdf3WwOPyFmfCbRpZ BqfaRBoK7nuzAXDj42cDti05o9MZBbDJj1iEEnTYMjXpi6jBcihoAftqUTNa9/ot 7o2xsI48Kbhi+6dSnb1kAoy1aJINEArrNS+iY/c7N1bX7niRbzTxrg05aWxX6P7V 5l1exzrY0h4J3kgetNvEtP3G8qUk8NpNaywpO2zeDKJMmWme3ZU= =T0bU -----END PGP SIGNATURE----- --nextPart3806488.kQq0lBPeGt--