archfi icon indicating copy to clipboard operation
archfi copied to clipboard

NVME module error

Open ghost opened this issue 2 years ago • 3 comments

During install, archfi/archdi prompted me to add an NVME module to my mkinitcpio. What is the intended function of this, is it necessary? When I try add it, it gives me this: Photo on 12-10-22 at 11 24 AM If I proceed, the system still installs and runs successfully. But what did this error mean during installation, and should I be worried?

ghost avatar Dec 10 '22 17:12 ghost

I suspect that you have installed another kernel than linux, perhaps an issue. As the initramfs is rebuilt later in the install, you don't run into a problem.

MatMoul avatar Jan 15 '23 20:01 MatMoul

I got same error today, yay!

  1. choose linux-zen kernel
  2. get to mkinitcpio step, it mentions addition of NVME module in dialog
  3. mkinitcpio fails to find /etc/mkinitcpio.d/linux.preset because correct path is /etc/mkinitcpio.d/linux-zen.preset

My solution which worked:

  1. ctrl + alt + F2, log in as root
  2. cp /mnt/etc/mkinitcpio.d/linux-zen.preset /mnt/etc/mkinitcpio.d/linux.preset
  3. ctrl + alt + F1, try running mkinitcpio step again

Also it calls mkinitcpio -p linux in archgenmkinitcpiochroot(), not sure if it shouldn't be linux-zen in my case?

Quick and dirty fix might be to mv linux*.preset linux.preset before running mkinitcpio if there is only one file in folder, but I guess that's quite wild compared to having extra variable with kernel name and passing it to command in archgenmkinitcpiochroot().

I actually think I have seen same error about year ago, at that time without NVME drive but again with linux-zen, which makes perfect sense.

DreitTheDragon avatar Aug 31 '23 23:08 DreitTheDragon

I got same error today, yay!

  1. choose linux-zen kernel
  2. get to mkinitcpio step, it mentions addition of NVME module in dialog
  3. mkinitcpio fails to find /etc/mkinitcpio.d/linux.preset because correct path is /etc/mkinitcpio.d/linux-zen.preset

My solution which worked:

  1. ctrl + alt + F2, log in as root
  2. cp /mnt/etc/mkinitcpio.d/linux-zen.preset /mnt/etc/mkinitcpio.d/linux.preset
  3. ctrl + alt + F1, try running mkinitcpio step again

Also it calls mkinitcpio -p linux in archgenmkinitcpiochroot(), not sure if it shouldn't be linux-zen in my case?

Quick and dirty fix might be to mv linux*.preset linux.preset before running mkinitcpio if there is only one file in folder, but I guess that's quite wild compared to having extra variable with kernel name and passing it to command in archgenmkinitcpiochroot().

I actually think I have seen same error about year ago, at that time without NVME drive but again with linux-zen, which makes perfect sense.

This comment was my holy grail. Nothing else work. This enabled me to install Arch on my old desktop after trying for like 5 years. Thank you so much.

If I proceed, the system still installs and runs successfully.

This is strange because this wasn't the case for me, the system would not boot, however when tried on my slightly newer desktop, it worked fine despite the error.

ghost avatar Nov 17 '23 16:11 ghost