So I installed debian in an usb, with the LUKS setup, I basically created 4 partitions:
sdb1: not encrypted, boot partition sdb2: encrypted, root partition sdb3: encrypted, swap partition sdb4: encrypted, home partition
During the debian installation, debian didn't ask me where to install grub, went ahead and install GRUB on sda, the main HDD of my pc.
So now I have this almost-full encrypted usb that boots only on the said pc. My goal was having an usb that can boot in any PC.
How can I fix this. In another place someone suggested simply to install grub from terminal inside my debian luks system. But it doesn't work. Grub gets installed without issues or error messages and my usb still doesn't boot Unless I use it in the PC where I installed.
I think that move would work for a simple setup, not for an encrypted one, despite I choose sdb1 to be the boot partition I don't get why debian at least didnt ask me where to install grub... it installed grub without asking me on sda. It seems so random to me. Im not a linux expert.
Any help is appreciated, thanks