I was installing Kali Linux 2016.2 64-bit on my laptop. In my laptop, hard disk is always denoted by sda while flash drives by sdb or sdc.
But during the installation, while selecting partition on which the system was to be installed, I noticed that the flash drive was shown as sda while hard disk by sdb, I installed Kali Linux on /dev/sdb2 (the second partition of hard drive, which is normally denoted as /dev/sda2).
On booting the system after the install, grub menu showed up normally but Kali did not boot normally, it showed me error message: something like,
/dev/sdb2 cannot be found
and showed an (initramfs) console.
I found that my computer switches the name of hard disk from sda to sdb in the presence of a flash drive (which becomes sda, while successive flash drives shows up as sdc, etc). So In the absence of flash drive, the system does not boot and shows error and initramfs console.
How to fix labelling of drives?
Please help.