Problem: After upgrading a system to NVME, Linux boots without textconsole, or sends the text console to the wrong graphics card.
Discussion: The NVME upgrade needed to change from BIOS boot to UEFI boot. UEFI boot disables the pure text console, and the kernel uses whatever frame buffer is available, or without text console if no frame buffer is available. That means the kernel config item “CONFIG_VGA_CONSOLE” does not work any longer in UEFI, at least on my hardware.
Solution: I activated a framebuffer console driver with this kernel config item: CONFIG_FB_EFI
Versions: Debian9, Linux 4.9, ASUS Z170-A, Nvidia GPU