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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9037A1382C5 for ; Sat, 26 Dec 2020 20:28:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C89832BC005; Sat, 26 Dec 2020 20:27:55 +0000 (UTC) Received: from mail.digimed.co.uk (mail.digimed.co.uk [82.69.83.178]) (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 70454E0ACD for ; Sat, 26 Dec 2020 20:27:55 +0000 (UTC) Received: from digimed.co.uk (fenchurch.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPA id 4934D681FC for ; Sat, 26 Dec 2020 20:27:53 +0000 (GMT) Date: Sat, 26 Dec 2020 20:27:46 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] UEFI install noob questions Message-ID: <20201226202746.31644396@digimed.co.uk> In-Reply-To: References: Organization: Digital Media Production X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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_/xhbW9chSD2fb.fg_PovBM5Q"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: fdadd8fc-771b-48db-8242-15b0f7e0256b X-Archives-Hash: a22afb6adee0fea992c05b6848a55333 --Sig_/xhbW9chSD2fb.fg_PovBM5Q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 26 Dec 2020 14:37:14 -0500, Walter Dnes wrote: > On Sat, Dec 26, 2020 at 01:28:44AM -0500, Walter Dnes wrote > > This is my first UEFI install, so please pardon the questions. =20 >=20 > More questions about partitioning... >=20 > * I need a sample /etc/fstab listing from someone who boots UEFI. I'm > mostly interested in how the /boot partition is set up. /dev/nvme0n1p1 /boot vfat defaults 1 2=20 /dev/nvme0n1p2 none swap sw 0 0 /dev/nvme0n1p1 / btrfs defaults 0 1 > * I need a screen capture of the output of the "print" command in > "parted" from someone who boots UEFI. Stick with gdisk, it's what you're familiar with: % gdisk -l /dev/nvme0n1 GPT fdisk (gdisk) version 1.0.5 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/nvme0n1: 500118192 sectors, 238.5 GiB Model: WDC WDS256G1X0C-00ENX0 Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 0EB51C66-3333-494C-80F3-9ACB1D95325D Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 500118158 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 2099199 1024.0 MiB EF00 boot 2 2099200 18876415 8.0 GiB 8200 swap 3 18876416 458174463 209.5 GiB 8300 main 4 458174464 500118158 20.0 GiB 8300 spare Note that I am using partition 1 as both the ESP and /boot. This is a popular approach and keeps things simpler. It needs to be a FAT filesystem on a partition of type EF00 to keep UEFI happy, but Linux doesn't care but any of that as long as it's a readable filesystem. Don't forget to build FAT filesystem support into your kernel. --=20 Neil Bothwick "Woody, I said TUCK the children in bed!" --Mia Farrow --Sig_/xhbW9chSD2fb.fg_PovBM5Q Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAl/nnMIACgkQ92eFu0QS MJgXHhAAlkF/zaJrtZEgYPkxfpzA7P26xiab2XCnH/CF3jCW/HiAuiCzXhfQVZzh 7z1fpR4Eb4IR0G2WFQrPQ8aOBZRKUL0hvLbq4h2tLtPBj8UQ8qag9vypEA1+LieP xpUmJ/0Xta5KsjSS0sc1nkug5fmcfgny7XTUjRV6Tk6W10GTHPWDstbcwBNi3C5c UDjz5QZxFgZ05TDZrWPV+9xzEqXbyp8HC/GxCQzcpxiAOhPNAj4ANBvz0ognNetW yW8eCiADxFj3Mdz8TsvmYOs6+SBCUMjwNr2+ZlVyGqBig7cExqZAy7g0r+Naes84 On/3r7bhO8XjJ7ahAph62obURwgg5ZEreQCfPy7dWGp8AzluJjdLibumc5D94iaW ugHuViI9RqNZYliJFw5UBwPd7iyVNTMMNgFTI1l10CpG3rEjTGZzbS0eG+pdsd0y cuNOe0NZmgRftyqf1mB3eR1R79FYWvztVQRmxqYeQ/NnIdvlOQGDIZ71l2+HiLP7 BxwlEKaaZ0PmbwlUNgv5rq04i8NPioaPCAwuvxLZLN5pHE/SwURiv6MHGjuVfTV7 Ss0zZyhhRZztwssQ8AChCZ6Q0IgkP/zIUj/iA9dVIVQ4xeQGDORw9+wR0eswsqab o0L3F0sd/7dUAHQMHbhiuW7SWfKXA5uxP/2rfPvkF5kDtA5lKT0= =zMiD -----END PGP SIGNATURE----- --Sig_/xhbW9chSD2fb.fg_PovBM5Q--