I am trying to build a pf-kernel using this guide: https://wiki.archlinux.org/index.php/Ke … raditional
Everything went fine, but when I try to make the initramfs, I get this error:
mkinitcpio -k 3.13.3-pf-dbb-pf+ -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-dbb-pf.img ==> Starting build: 3.13.3-pf-dbb-pf+ -> Running build hook: [base] -> Running build hook: [udev] -> Running build hook: [autodetect] -> Running build hook: [modconf] -> Running build hook: [block] -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] ==> WARNING: No modules were added to the image. This is probably not what you want. ==> Creating lz4 initcpio image: /boot/initramfs-linux-dbb-pf.img ==> Image generation successful
I searched the warning message, but all the posts I found were related to other errors, like a "module not found" or so. As you can see, I'm not getting any actual error message, just the warning.
Is this message just because the MODULES line of mkinitcpio.conf is blank, or something else?
Check if the kernel modules are actually in place in /lib/modules/<your_kernel_name>
If not, you probably forgot to run a "make modules_install" after compiling the kernel.
I definitely ran `make modules_install`. Twice actually, because I thought something went wrong the first time.
A find command shows that there are some modules, but only a handful. My guess is that I forgot to copy a good config before running menuconfig, so I'll try building again.
I was wondering why it only took 10 minutes to build.
Did you run a depmod?
In any case, this leads of a gang load of untracked files in /usr. It is probably better to either use the linux-pf AUR PKGBUILD, or write one up yourself really quick.