1 |
On Friday, 21 May 2021 15:42:01 BST peter@××××××××××××.uk wrote: |
2 |
> Hello list, |
3 |
> |
4 |
> Mynew machine has Win-10 installedon /dev/nvme0n1 with the ESP as partition |
5 |
> 1. I want to install Gentoo on /dev/nvme1n1. So far I haven't found a way |
6 |
> to set up a working boot arrangement. I've tried mounting the ESP on /efi, |
7 |
> on /EFI and on /boot/EFI. Efibootmgr seems to write a boot entry in some of |
8 |
> those cases, and it's still there after a reboot - but it isn't visible to |
9 |
> the BIOS. |
10 |
> |
11 |
> Can anyone offer some enlightenment, please? |
12 |
|
13 |
If your ESP is on /dev/nvme0n1 and you are using vmlinuz symlinks, you can use |
14 |
/boot/EFI as the mountpoint for the ESP VFAT partition. Your kernels/config/ |
15 |
System.map/initrd.img files will go into /boot, which will be on the same fs |
16 |
as / on /dev/nvme1, using a fs which supports symlinks. |
17 |
|
18 |
The efibootmgr '--loader' option should/could be used to specify the path to |
19 |
your bootloader image, or if you are not using a bootloader image to chainload |
20 |
your kernel with, point it directly to the path of your kernel; e.g. |
21 |
|
22 |
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "gentoo-5.10.27" \ |
23 |
--loader "\EFI\gentoo\gentoo-5.10.27.efi" |
24 |
|
25 |
The BIOS/UEFI menu should be able to list entries of bootable *.efi images, as |
26 |
long as they are within the subdirectory of /boot/EFI on the ESP, but if you |
27 |
are using a bootloader, then it is the bootloader image which will run and |
28 |
chainload your OSs and their kernels. |