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 5BE481382C5 for ; Tue, 25 May 2021 15:23:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99BBDE0788; Tue, 25 May 2021 15:23:04 +0000 (UTC) Received: from smarthost03c.mail.zen.net.uk (smarthost03c.mail.zen.net.uk [212.23.1.22]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC205E075F for ; Tue, 25 May 2021 15:23:03 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost03c.mail.zen.net.uk with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1llYta-0001Vh-6G for gentoo-user@lists.gentoo.org; Tue, 25 May 2021 15:23:02 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Dual booting with Windows 10 Date: Tue, 25 May 2021 16:23:01 +0100 Message-ID: <2793411.e9J7NaK4W3@wstn> In-Reply-To: <1829103.taCxCBeP46@lenovo.localdomain> References: <2588375.mvXUDI8C0e@wstn> <1829103.taCxCBeP46@lenovo.localdomain> 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Originating-smarthost03c-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 6f5ea001-3e34-4223-80d4-d6eeb7741906 X-Archives-Hash: d40e96a4457f2551d9b9e180aaca7f28 On Monday, 24 May 2021 16:14:43 BST Michael wrote: > You can contact me off list if you want to work through the detail of > configuring your system with and without a boot manager. I think once it > clicks, you'll be able to apply your preferred solution without much trou= ble > in the future. Thanks for the offer, Michael, but let me clear a few things up first. 1. I don't use symlinks in /boot. 2. I don't use grub, nor any other boot manager. 3. ...unless you count bootctl, from sys-boot/systemd-boot. 4. I have the existing ESP mounted on /boot. It belongs to Windows and can= not be enlarged beyond 100MB. 5. I have a small second system on the Gentoo disk called Rescue, so I hav= e a multiple-boot system. # tree -L 3 /boot /boot =E2=94=9C=E2=94=80=E2=94=80 EFI =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 Boot =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 bootx64.efi =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 Linux =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 Microsoft =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 Boot =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 Recovery =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 systemd =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 systemd-bootx64.efi =E2=94=9C=E2=94=80=E2=94=80 System.map-5.10.27-gentoo =E2=94=9C=E2=94=80=E2=94=80 System.map-5.10.27-gentoo-rescue =E2=94=9C=E2=94=80=E2=94=80 amd-uc.img =E2=94=9C=E2=94=80=E2=94=80 config-5.10.27-gentoo =E2=94=9C=E2=94=80=E2=94=80 config-5.10.27-gentoo-rescue =E2=94=9C=E2=94=80=E2=94=80 loader =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 entries =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 08-gentoo-rescue-5.10.2= 7.conf =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 09-gentoo-rescue-5.10.2= 7.nonet.conf =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 30-gentoo-5.10.27.conf =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 32-gentoo-5.10.27.nox.c= onf =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 34-gentoo-5.10.27.nonet= =2Econf =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 loader.conf =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 random-seed =E2=94=9C=E2=94=80=E2=94=80 vmlinuz-5.10.27-gentoo =E2=94=94=E2=94=80=E2=94=80 vmlinuz-5.10.27-gentoo-rescue # parted -l [...] Model: Samsung SSD 970 EVO Plus 250GB (nvme) Disk /dev/nvme0n1: 250GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:=20 Number Start End Size File system Name F= lags 1 1049kB 106MB 105MB fat32 EFI system partition b= oot, esp 2 106MB 123MB 16.8MB Microsoft reserved partition m= sftres 3 123MB 249GB 249GB ntfs Basic data partition m= sftdata 4 249GB 250GB 580MB ntfs Basic data partition h= idden, diag Model: Samsung SSD 970 EVO Plus 250GB (nvme) Disk /dev/nvme1n1: 250GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:=20 Number Start End Size File system Name Flags 1 1049kB 269MB 268MB ext4 boot 2 269MB 34.6GB 34.4GB linux-swap(v1) swap-1 swap 3 34.6GB 51.8GB 17.2GB ext4 rescue 4 51.8GB 86.2GB 34.4GB ext4 root 5 86.2GB 90.5GB 4295MB ext4 local 6 90.5GB 103GB 12.9GB ext4 home 7 103GB 129GB 25.8GB ext4 common [...] I followed the installation handbook, boot-loader section, to create a UEFI boot entry. I followed the syntax precisely, with several variations at various attempts. In every case, the UEFI BIOS listed the new entry but couldn't execute it. I want to be shown a list of systems to boot immediately after the POST, wh= ich I'm sure efibootmgr can't do, so I ran 'bootctl install' to install the cod= e (where?) to give me the ability. That works, though I do remove the direc= tory with the 32-hex-digit name, and install my own loader.conf. The system seems to be stable now. =2D-=20 Regards, Peter.