Thank you! My partition layout is:
sh-5.1# fdisk -l
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: INTEL SSDPEKKF256G8L
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x020fa066
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 * 2048 481648510 481646463 229.7G 83 Linux
/dev/nvme0n1p2 481648511 500103449 18454939 8.8G 83 Linux
Disk /dev/sda: 58.44 GiB, 62746787840 bytes, 122552320 sectors
Disk model: Extreme
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 64 5071551 5071488 2.4G 0 Empty
/dev/sda2 5071552 5079743 8192 4M ef EFI (FAT-12/16/32)
Disk /dev/loop0: 84.7 MiB, 88817664 bytes, 173472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 388.55 MiB, 407420928 bytes, 795744 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 1.22 GiB, 1306087424 bytes, 2550952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 691.13 MiB, 724705280 bytes, 1415440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/cryptDisk: 229.66 GiB, 246600891904 bytes, 481642367 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/cryptboot: 8.8 GiB, 9446831616 bytes, 18450843 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
in the setup above, /dev/sda is the USB stick I am booting onto but everything else is the local disk.
I have tried your suggestion, and I get the following output:
sh-5.1# sudo grub-install --target=i386-pc /dev/nvme0n1p1
Installing for i386-pc platform.
grub-install: error: unable to identify a filesystem in hostdisk//dev/nvme0n1; safety check can't be performed.
Alternatively, I’ve tried
sh-5.1# sudo grub-install --recheck /dev/mapper/cryptDisk
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
EDIT:
I made a mistake and called grub-install on the partition, not the device. However, changing that doesn’t seem to fix things. This seemingly positive message
sh-5.1# grub-install --target=i386-pc /dev/nvme0n1
Installing for i386-pc platform.
Installation finished. No error reported.
still resulted in a boot menu that did not contain the partition I wanted to boot to.
I then tried calling
sh-5.1# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
Which still results in a grub menu without my desired partitions visible.