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 7ACAC158004 for ; Sat, 27 Apr 2024 16:59:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37B72E2A0B; Sat, 27 Apr 2024 16:59:26 +0000 (UTC) Received: from smtpo79.poczta.onet.pl (smtpo79.poczta.onet.pl [141.105.16.29]) (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 94297E29F6 for ; Sat, 27 Apr 2024 16:59:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=op.pl; s=2011; t=1714237159; bh=pNfd7UItdZnbFJlaG2kQUuk3sXNmPwcgFGiTTW5vD9o=; h=Date:From:To:Subject:In-Reply-To:References:From; b=khT4IBbGtFbkqyWiX1jv9kKTgGFy4/O/vD9CLdQrfD1k9C7sCOoZ3XOepT6W5BMoT /Pi6VY+OWjRbamFo+YdPx19G55b1NUlb3D9Gwat83/0BaVfFamd3sIEgK4gVE+TkJg uJ8aWA3dUgH3lWy/zXsFxtBJSwMgf5DTAdDikXZE= Date: Sat, 27 Apr 2024 18:59:12 +0200 From: Wojciech Kuzyszyn To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Grub, gpt partitions and BIOS, not uefi thing. Message-ID: <20240427185912.0751ec14@wolf> In-Reply-To: References: 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="Sig_/5SYCq4XBX/TiMma3F=waRxz"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-ONET_PL-MDA-SEGREGATION: 0 X-Archives-Salt: 3aa2f535-724f-49b5-9bda-17a2cf855665 X-Archives-Hash: 59536fe2b71a630b845f049324080925 --Sig_/5SYCq4XBX/TiMma3F=waRxz Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 27 Apr 2024 11:53:25 -0500 Dale wrote: > Howdy, >=20 > I'm installing Gentoo on another old box.=C2=A0 To be consistent I like to > use cgdisk, GPT I think it is called, to partition all my drives, > regardless of size.=C2=A0 Thing is, Grub works differently with GPT than = it > does with the old DOS or whatever it is called, like fdisk does in the > old days.=C2=A0 I did some research but still find myself in some muddy > waters.=C2=A0 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.=C2=A0 I like cgdisk.=C2=A0 Before that= I > liked cfdisk.=C2=A0 Anyway, how do I set up that partition with cgdisk? > Any minimum size requirements or tiny is enough?=C2=A0 Does it have to be= a > specific type?=C2=A0 Does it need to be in a specific place?=C2=A0 Format= ted > with a file system?=C2=A0 Also, when I do grub-install, do I still point = to > /dev/sda or to /dev/sda1, if sda1 is the special boot partition? >=20 > I tried to find a step by step howto with this info but the ones I > find either don't work or leaves me more confused.=C2=A0 Given that the > method is also aging out, it's hard to find good guides.=C2=A0 I'd be real > happy just to have a link to a good howto that I can make sense of. > I can save a copy local and even print it.=C2=A0 Maybe someone has some > notes that will help.=C2=A0 I just need something to help clear up the > muddy waters.=C2=A0 >=20 > Thanks to anyone who has a link, some notes or something.=C2=A0 :-D=C2=A0 >=20 > Dale >=20 > :-)=C2=A0 :-)=C2=A0 >=20 I don't use cgdisk nor gdisk. Here's a link to Arch's wiki about GPT on BIOS systems: https://wiki.archlinux.org/title/GRUB#GUID_Partition_Table_(GPT)_specific_i= nstructions I guess you need to set the same code as in gdisk, or something similar to BIOS boot or bios_grub as are in other such tools. Good luck! Wojciech --=20 xWK --Sig_/5SYCq4XBX/TiMma3F=waRxz Content-Type: application/pgp-signature Content-Description: Podpis cyfrowy OpenPGP -----BEGIN PGP SIGNATURE----- iIEEARYKACkWIQSR3iw/A+cPGAg6ljJXqyS1DcwN6QUCZi0u4Ascd2t1ekBvcC5w bAAKCRBXqyS1DcwN6RgRAQDVOSMI1n9lOTNzVMoSQ4DeauNxbLZZiJbNL4Ot6kVs JgEAv7x560oCLdtKYmgza1BY3SOFZJVrUIhXlxmlEWm2Gg8= =iwf+ -----END PGP SIGNATURE----- --Sig_/5SYCq4XBX/TiMma3F=waRxz--