
Hi Cedric, I don't know what you need lvm for explicitly, but if it's possible with mdadm, you can work without an initramfs. I do so: <cite /boot/grub/grub.cfg> ... menuentry "CRUX 3.0 v4.0-rc5-131-g7fc377e" { linux /vmlinuz-v4.0-rc5-131-g7fc377e root=/dev/md0 } ... </cite> /boot, on the other hand is still a normal partition. Remember to compile all needed kernel components into the kernel and not as a module! Actually I can't think of a reason why lvm wouldn't work the same way, when all components are compiled into the kernel ... greetings, Erich Am 31.03.2015 um 13:55 schrieb James Trimbee:
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 <mailto: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 <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 <mailto:CRUX@lists.crux.nu> https://lists.crux.nu/mailman/__listinfo/crux <https://lists.crux.nu/mailman/listinfo/crux>
-- Photography at PBase.. www.pbase.com/sulman <http://www.pbase.com/sulman>
_______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux