I've recently discovered an interesting problem that makes it impossible / very difficult to install Kali onto a flash drive.
When you finish the Kali installation, GRUB will be installed as well (either on the first disk or wherever you set it). And after you reboot you computer, you'll be able to actually boot into it.
Problem appears when you change your hardware setup (plug/unplug any storage media). You will be able to get into the GRUB menu, but you won't be able to boot into Kali. The reason is most likely that GRUB expects the device to appear the same as before (you've installed Kali onto
/dev/sdc, disconnected the installation flash drive and now your Kali flash drive is
/dev/sdb, but its GRUB expects it to remain at the same address -
So, the question is: Is there any way to make an actually portable Kali flash drive?
Before you mention it:
- I'm aware of the "live with persistence" boot option, but it's not particularly convenient for me. Besides, I'm curious why doesn't this work with Kali when I'm pretty sure that I've seen this work with Ubuntu quite well.
- I've already tried the VirtualBox workaround and I wasn't particularly successful with it (Kali only worked for as long as the flash drive remained
/dev/sda). Doing the same in VMWare resulted in the very same failure.