On Mon, Dec 02, 2024 at 01:41:18PM -0500, Felix Miata wrote:
You very likely would need to add drivers to your initrds first, else have to
rescue boot to rebuild after:

This is probably the result of setting MODULES=dep in /etc/initramfs.conf. When changing hardware I'd recommend changing that to MODULES=most and then running "update-initramfs -k all -u" to regenerate the initramfs with the additional modules. It is possible to fix this with a rescue image if one forgets.

On Mon, Dec 02, 2024 at 03:41:43PM -0300, Bruno Schneider wrote:
On a side note, last time I tried to install Debian on NVME, it
wouldn't even find the storage device. I hope this has improved since
then.

I've installed debian on a lot of machines with a lot of NVMe devices, and never had an issue. The hardware is pretty standardized, and the only thing I can think of which might cause an issue would be something like an HMB drive with an older linux that predates support for HMB, or a PCIe topology problem (unlikely in consumer hardware). In general I would expect normal NVMe to just work. I can think of additional failure modes causing inability to boot on older hardware, but the kernel should still see the drive.

On Mon, Dec 02, 2024 at 08:14:35PM +0100, Hans wrote:
But I never used NVME drives before and know (shame on me!) not much about it.
If NVME are only super fast SSD's, then it will be easy, but if NVME are a
complete alien hardware, then I might come in trouble (Nothing, that can not
be fixed!).

Apart from the need for the nvme driver to be in the initrd (just as you'd need an ata, scsi, etc module for those devices) it should be possible to migrate fairly easily. NVMe works just like SATA SSD from the partition level up (i.e., the stuff you'd dd). One somewhat different thing is the concept of NVMe namespaces: your drive will be /dev/nvme0, but you'll probably be using /dev/nvme0n1 except for device management. Partitions then look like /dev/nvme0n1p1. It's unlikely that you'd be creating/using additional namespaces apart from the first (default) one.

Reply via email to