Hi Andrei,
thanks for your reply. I tried both /dev/sda and /dev/sda2. I ended up
solving the problem by making a total of three partitions: A small one
for EFI, another one for /boot, and the encrypted main partition. Small
snag was that the Debian installer cannot be persuaded to install the
grub EFI into the EFI partition on the mobile disk but on the one in the
built-in disk. But that was easily fixed by by mounting the mobile EFI
partition, correcting /sys/fstab and re-installing grub and kernel.
Am 16.09.2021 06:44 schrieb Andrei POPESCU:
On Mi, 15 sep 21, 05:49:01, Musbur wrote:
Now I'm in my "full" Debian system. Next:
# grub-install /dev/sda2
# apt install [linux kernel]
# update-grub
Error: Cannot find GRUB drive for /dev/sda2
Unless you have a good reason to do otherwise grub is installed in the
MBR of the drive, so you probably want '/dev/sda' instead of
'/dev/sda2'.
Hope this helps,
Andrei