BSOD on boot when the drive letter is not available

I've had an issue (BSOD during boot), due to a drive letter being already used by a real device. Before the reboot the Ramdisk was unmounted, but not deleted, so obviously the unmount is not permanent...