Hi,
I have debian bookworm installed on a raid1 made from /dev/nvme0n1p3
and /dev/nvme1n1p3. Here are the partitions on the two nvme.
/dev/nvme0n1p1 = /dev/nvme1n1p1 = 7mb ef02
/dev/nvme0n1p2 = /dev/nvme1n1p2 = 7mb ef00 (Two distinct ESPs on two
different nvmes)
/dev/nvme0n1p3 = /dev/nvme1n1p3 = 7mb 8300 (Linux RAID)
I am currently using /dev/nvme*1*n1p2 as /boot/efi and groub-efi is
installed there.
I like to also install grub-efi on /dev/nvme*0*n1p1 to mimic RAID1. My
Google search does not give me a clear way to do it. There are a lot
explanation on how certain things are to be done. Nothing succinctly
describes the grub-install step. Since this is boot and grub, I like to
be sure before I mess up some uefi files and make the system unbootable.
Can I mount the second esp on /mnt and do a simple grub-install
--efi-directory=/mnt? Or should I undo current /boot/efi mount and mount
second esp there and do a grub-install?
I was going to try a dry-run option, but I do not see one in "man
grub-install."
Regards
Ramesh