Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3441

Installation • Debian fails to boot on NVMe M.2 disk after UEFI install

$
0
0
The summary of this is that after installing Debian and trying to reboot into the installed system I'm getting "Gave up waiting for root file system device" and "ALERT! /dev/mapper/mypc-vg-root does not exist. Dropping to a shell!". I am then left at an "(initramfs)" prompt. More detail below:

I'm in the process of performing a complete hardware upgrade on a desktop system I initially built quite some time ago. Initially, I upgraded the MoBo, processor and memory, but kept the original SSD and HDD, which required me to enable CSM mode in UEFI/Bios. After running into some configuration issues with the old Debian install, I decided to buy a brand new M.2 drive (Samsung 990 Pro) and perform a fresh install off a Debian 12 install CD I burned. Initially, I left the old SSD and HDD connected the computer when I performed the install, only to realize later that a swap partition had been installed on one of them, and that I had left CSM mode enabled during that install. I decided to try again, so I unplugged the power and SATA cables from the SSD and HDD, and set about doing the install over again.

Now, it appears that with CSM mode off, the installer fails to detect the M.2 drive at all. I am able to perform the install in UEFI mode (I think) with CSM mode enabled, but then on reboot I am dumped to the aforementioned initramfs prompt. I haven't tried doing the install in legacy mode yet, as I would rather use full UEFI mode instead, if at all possible. Is there something I can do so that the M.2 will be detected by the installer with CSM disabled? At this point, I'm not sure if the issue is that this particular Samsung 990 Pro drive is not yet fully supported by a Linux driver, or if I somehow messed things up by doing the install with CSM enabled.

Any pointers would be appreciated.

Statistics: Posted by SirEdward — 2024-05-08 02:42 — Replies 0 — Views 31



Viewing all articles
Browse latest Browse all 3441

Trending Articles