Ram Ramesh (12023-12-23): > 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)
lsblk gives a nice readable version of this info. > 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? Changing the mount on /boot/efi is what I do for that very same use. Note that I observed the new one replaces the old one in the list of boot options: you might need call efobootmgr manually to set up things exactly how you want them, using what grub-install did as a reference. Regards, -- Nicolas George