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 12B421382C5 for ; Fri, 21 May 2021 19:06:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43A85E0828; Fri, 21 May 2021 19:06:40 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.72]) (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 CDF90E0802 for ; Fri, 21 May 2021 19:06:39 +0000 (UTC) Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id 0DA0D60000B0 for ; Fri, 21 May 2021 20:06:37 +0100 (BST) X-ASG-Debug-ID: 1621623997-05541363bc3eae20001-LfjuLa Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailgw01.thundermail.uk with ESMTP id E9V7maqKmoVyHmgQ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 21 May 2021 20:06:37 +0100 (BST) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: cloud220.unlimitedwebhosting.co.uk[149.255.60.183] X-Barracuda-Apparent-Source-IP: 149.255.60.183 Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id 13E29C73D31 for ; Fri, 21 May 2021 20:06:36 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1621623996; bh=26unWwhbDg58EftBqV4anG4Sm2kDzPctti7/Ny/UhAk=; h=From:To:Subject; b=FdERtSp3uPknXiEsWT0e3lwRqpB1RCg70NV5VYGOcr2dZ5jynI9OrimXanyI6wqjK WgvtBAdQt0XA+Bpjv9EtYuy931jVxLUoNI1MX1CVa2f90tSTr5cpqxQ4oRsB5DKjrd OBdUu6qDe+EzKupEVIvB9CkUuNFnJxCYr6FQvjHA= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Dual booting with Windows 10 Date: Fri, 21 May 2021 20:06:25 +0100 X-ASG-Orig-Subj: Re: [gentoo-user] Dual booting with Windows 10 Message-ID: <1870789.yKVeVyVuyW@lenovo.localdomain> 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="nextPart2031738.OBFZWjSADL"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <20210521190636.739745.36261@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Barracuda-Connect: cloud220.unlimitedwebhosting.co.uk[149.255.60.183] X-Barracuda-Start-Time: 1621623997 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi X-ASG-Orig-Subj: Re: [gentoo-user] Dual booting with Windows 10 X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 1475 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.90100 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: bc165dbc-1595-4a57-92de-08f509e353b6 X-Archives-Hash: 6ba07d13c11ac6fbd56cdbb94316798b --nextPart2031738.OBFZWjSADL 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 Subject: Re: [gentoo-user] Dual booting with Windows 10 Date: Fri, 21 May 2021 20:06:25 +0100 Message-ID: <1870789.yKVeVyVuyW@lenovo.localdomain> In-Reply-To: References: On Friday, 21 May 2021 15:42:01 BST peter@prh.myzen.co.uk wrote: > Hello list, > > Mynew machine has Win-10 installedon /dev/nvme0n1 with the ESP as partition > 1. I want to install Gentoo on /dev/nvme1n1. So far I haven't found a way > to set up a working boot arrangement. I've tried mounting the ESP on /efi, > on /EFI and on /boot/EFI. Efibootmgr seems to write a boot entry in some of > those cases, and it's still there after a reboot - but it isn't visible to > the BIOS. > > Can anyone offer some enlightenment, please? If your ESP is on /dev/nvme0n1 and you are using vmlinuz symlinks, you can use /boot/EFI as the mountpoint for the ESP VFAT partition. Your kernels/config/ System.map/initrd.img files will go into /boot, which will be on the same fs as / on /dev/nvme1, using a fs which supports symlinks. The efibootmgr '--loader' option should/could be used to specify the path to your bootloader image, or if you are not using a bootloader image to chainload your kernel with, point it directly to the path of your kernel; e.g. efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "gentoo-5.10.27" \ --loader "\EFI\gentoo\gentoo-5.10.27.efi" The BIOS/UEFI menu should be able to list entries of bootable *.efi images, as long as they are within the subdirectory of /boot/EFI on the ESP, but if you are using a bootloader, then it is the bootloader image which will run and chainload your OSs and their kernels. --nextPart2031738.OBFZWjSADL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmCoBLEACgkQseqq9sKV ZxmpIRAAz06KpeYtvgPrqKkgNuKBPJQ3Cs33eAHtD3XIEcgGXaZZq2I1bEQvRWxA 7WocaPQygfdyXLoxlraywFYHuQP2tF94AMoi8MSoLKIc3jV0omhd7r1VhtfRdzdm lVT9ptIORUQCNqacZiXhzup6WABBWFoRsOeRk7PUlunY2Xchl9wI3FnYDXX9ZUxL nlciBCJ/zMoWMdBzr5un+8h3VeI1Anw5COrIGDPRSBS8qVx9fbmE0yHoQL7qRPgY sfwhfE6RQsiqnbiENO+y+L+mdGvDykHzyuk5RUH4bGVO1PSQ3NJy9liR7CImFAcz 3rsQbCbrHhfV+P+DI3BRceaTgO2Tr+UJy4+Q/slS2Vo7sXVOlKWUpOwUkp/1eeYY idy9vcCPb+aRjMNf4uDyTG98ZA1EfDRHRxLwcl9ep8ziHeRTe6t6viXo1XD7GPyD LG/5hgMPi95vD891G02LJaGjFORUicmrWR8EI6ea4HF1wHasjvSik7cVPT2GdhtY NjRJne/PE/DwxOHXvhbIfH2RuiGrOCjLZWyUOTzrMggSr/TmxFiY19gvOr8awsH2 13b9sfNnnrWRppwRbMt+iwta00B5DJwEEDw9D81DSD68eu/BtIQYJevxBaFdV9en FP048tkSfSShi3aQfviK8bln6qU6kpVHJv4/wYi1TjUBCP+TnAM= =aChm -----END PGP SIGNATURE----- --nextPart2031738.OBFZWjSADL--