Might be worth taking a look at Dracut, too. It isn't in ports but I think is still simpler than rolling your own initramfs the old way. 


On 30 March 2015 at 19:52, Thierry Moreau <thierry.moreau@connotech.com> wrote:
On 03/30/15 20:43, Cédric wrote:
Hello,

I'm new to crux and I would like to test it. Unfortunately, after the
installation the system doesn't boot. I use lilo as bootloader and I
have installed lvm. There is a partition for /boot (without lvm) and
another one with lvm for the other directories.

I have compiled my kernel without initrd. After searching, I think an
initrd is necessary with lvm. In "core" or "opt" the utility "mkinitrd"
is not available. Is there an alternative to "mkinitrd" to create the
initrd ?


Maybe

cd /usr/ports
find -name .footprint | xargs grep mkinitrd

will tell you which (contrib?) package provides it.


Ah! Maybe not ...


The Crux wiki entry https://crux.nu/Wiki/BuildingISO may be a starting point. The Makefile there seems to refer (at the initramfs Makefile target) to

kernel/linux-3.xx.y/usr/gen_init_cpio

which may be a substitute for what you are looking for. This Makefile taught me much more.


Thanks!

Regards,


- Thierry


_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
https://lists.crux.nu/mailman/listinfo/crux



--
Photography at PBase..
www.pbase.com/sulman