I tried to boot my debian on usb on another computer. It is bootable on the computer with which I installed. But I cannot boot on another computer. I resintalled grub using grub-install --removable. I even used /dev/sda as parameter to be sure.
In the BIOS, there is nothing in the efi partition and I cannot boot.
I mounted my efi partition and it is indeed empty. SO I wonder what did happen. WHen I installed on usb, maybe it used the efi partition of the hard drive and not the efi partition of the usb.
I can reisntall again. In the manual partitioning, there is 2 efi partitions, one on hard disk and one on usb. What can I do?
See below a proof that the efi partition is empty.
sudo fdisk -l
Disk /dev/sda: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: Portable SSD T5
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: D0E5B8EE-60B4-4E3B-B8C9-4FAC199CA1A9
Device Start End Sectors Size Type
/dev/sda1 65535 786419 720885 352M EFI System
/dev/sda2 786420 977323454 976537035 465,7G Linux filesystem
/dev/sda3 3867941235 3907000094 39058860 18,6G Linux swap
/dev/sda4 977323455 3867941234 2890617780 1,4T Microsoft basic data
Partition table entries are not in disk order.
-------------------------
I mounted the efi
/dev/sda1 on /media/bob/AA15-42F8 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/media/bob/AA15-42F8$ sudo ls -lah
totalt 12K
drwxr-xr-x 3 bob bob 4,0K jan 1 1970 .
drwxr-xr-x 4 root root 4,0K mar 10 11:49 ..
drwxr-xr-x 4 bob bob 4,0K mar 9 20:58 'System Volume Information'