Web lists-archives.com

Re: New SSD on a MacBook Pro




On 16/11/2018 14:46, Stefan Monnier wrote:
I would expect the clone to work just fine.  I'd expect your initrd
contains drivers for both SATA and NVMe anyway.

But it's easy to check:

     zcat /boot/initrd.img-<VERSION> | cpio -vt | grep nvm

will show you the relevant files in the your initrd.
You should have about 10 of them inside ../kernel/drivers/nvme/ if your
initrd is ready to boot from an NVMe drive.


I've got 8 of them:

$ lsinitramfs /boot/initrd.img-4.18.0-0.bpo.1-amd64 | grep nvme
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/target
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/target/nvmet-fc.ko
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/target/nvmet.ko
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/target/nvmet-rdma.ko
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/host
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/host/nvme-fc.ko
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/host/nvme-rdma.ko
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/host/nvme.ko
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/host/nvme-core.ko
lib/modules/4.18.0-0.bpo.1-amd64/kernel/drivers/nvme/host/nvme-fabrics.ko