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 1AC6A158064 for ; Wed, 1 May 2024 20:25:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE23F2BC033; Wed, 1 May 2024 20:25:50 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 484CE2BC013 for ; Wed, 1 May 2024 20:25:50 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1s2GWR-0008bE-Rm for gentoo-user@lists.gentoo.org; Wed, 01 May 2024 22:25:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: Grub, gpt partitions and BIOS, not uefi thing. Date: Wed, 1 May 2024 20:25:43 -0000 (UTC) Message-ID: References: <46e3c5e0-d10b-da10-8683-c767585b9dde@gmail.com> <2606819.Lt9SDvczpP@rogueboard> <60ba99b5-fcb8-6691-a9df-dc7216f8c631@gmail.com> <820e31ee-5a05-3894-2790-c33857129c51@gmail.com> <9efa1b90-8a1c-6c17-2ec2-c274d1ba1019@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: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: slrn/1.0.3 (Linux) X-Archives-Salt: e71ccc51-fdb0-4a51-bf9b-2b46bdfd40dc X-Archives-Hash: b3b963fb5f16a90b5cbc3c325ec6a501 On 2024-05-01, Dale wrote: > Grant Edwards wrote: > >> The partition type code for 'swap' is wrong -- it should be >> 8200. According to the gdisk help info Linux /home is supposed to be >> 8302, but I've always used the same generic "Linux filesystem" type >> for both /home and root. >> >> Is the 'boot' partition for future possible UEFI use, for Linux /boot, >> or both? [I've never used a separate partition for Linux /boot, I >> just use a /boot directory on the root FS.] > > I noticed the other day that some new ones was added.  I always leave it > as 8300 and it works.  It even works for swap.  I dunno.  If you have an entry in /etc/fstab for swap, it might not matter if the partition type is set to 'Linux swap' or not. I always set the swap parition type to 'Linux swap', and then it doesn't seem to matter if there's a swap entry in the fstab or not. > The /boot is where kernels and init thingys go.  Keep in mind, this is > on a old rig that has no idea what UEFI is.  When I build my new rig > later, I'll do a install from scratch anyway.  Also, it will go on a SSD.  OK, so 'boot' is for the Linux /boot directory. I was just curious since I had never used one. > I mostly want to post so that a person can see the layout.  Really, the > first one is what a person wanting to use GPT on a old BIOS system needs > to see.  After that, they can do partitions anyway they want. Right.