archfi
archfi copied to clipboard
NVME module error
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:
If I proceed, the system still installs and runs successfully. But what did this error mean during installation, and should I be worried?
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.
I got same error today, yay!
- choose linux-zen kernel
- get to mkinitcpio step, it mentions addition of NVME module in dialog
- mkinitcpio fails to find
/etc/mkinitcpio.d/linux.preset
because correct path is/etc/mkinitcpio.d/linux-zen.preset
My solution which worked:
- ctrl + alt + F2, log in as root
-
cp /mnt/etc/mkinitcpio.d/linux-zen.preset /mnt/etc/mkinitcpio.d/linux.preset
- 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.
I got same error today, yay!
- choose linux-zen kernel
- get to mkinitcpio step, it mentions addition of NVME module in dialog
- mkinitcpio fails to find
/etc/mkinitcpio.d/linux.preset
because correct path is/etc/mkinitcpio.d/linux-zen.preset
My solution which worked:
- ctrl + alt + F2, log in as root
cp /mnt/etc/mkinitcpio.d/linux-zen.preset /mnt/etc/mkinitcpio.d/linux.preset
- ctrl + alt + F1, try running mkinitcpio step again
Also it calls
mkinitcpio -p linux
inarchgenmkinitcpiochroot()
, not sure if it shouldn't belinux-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 inarchgenmkinitcpiochroot()
.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.