Re: [gentoo-user] dracut vs. genkernel

2013-06-12 Thread Stefan G. Weichinger
Am 12.06.2013 17:54, schrieb Michael Hampicke: > This is my current work-around > > $ cat /etc/systemd/system/lvm.service [Unit] Description=Load LVM > > [Service] Type=oneshot ExecStart=/sbin/pvscan > ExecStart=/sbin/vgscan --mknodes ExecStart=/sbin/vgchange --sysinit > -a ly ExecStart=/usr/bi

Re: [gentoo-user] dracut vs. genkernel

2013-06-12 Thread Stefan G. Weichinger
Am 12.06.2013 19:50, schrieb Stefan G. Weichinger: > I will have to adapt it a bit to be able to use it with > > linux -> /usr/src/linux-git I hacked something ... can't share right now as I shamelessly used function from genkernel to read in the kernel version ;-) S

Re: [gentoo-user] dracut vs. genkernel

2013-06-12 Thread Stefan G. Weichinger
Am 12.06.2013 17:53, schrieb Canek Peláez Valdés: > I use this script to generate my initramfs: > > > #!/bin/sh > > KVER=$(readlink /usr/src/linux | sed "s/^linux-//g") > > echo "Creating initrd for kernel version

Re: [gentoo-user] dracut vs. genkernel

2013-06-12 Thread Michael Hampicke
Am 12.06.2013 13:06, schrieb Stefan G. Weichinger: > > I am currently trying to find out why my LVM2-volumes aren't activated > correctly at boot time. I am using packages from the overlay > systemd-love as I run systemd as init-system (why? that's another > discussion ;-) ). When you find a solu

Re: [gentoo-user] dracut vs. genkernel

2013-06-12 Thread Canek Peláez Valdés
On Wed, Jun 12, 2013 at 6:08 AM, Stefan G. Weichinger wrote: > Am 12.06.2013 13:06, schrieb Stefan G. Weichinger: > >> How do you generate your kernel and initramfs with dracut? Any handy >> scripts available ... any tricks or hints? > > Additional fact here: > > I boot with grub2 ... so I need to

Re: [gentoo-user] dracut vs. genkernel

2013-06-12 Thread Stefan G. Weichinger
Am 12.06.2013 13:06, schrieb Stefan G. Weichinger: > How do you generate your kernel and initramfs with dracut? Any handy > scripts available ... any tricks or hints? Additional fact here: I boot with grub2 ... so I need to have an initramfs generated that is detected by grub2-mkconfig. For now

[gentoo-user] dracut vs. genkernel

2013-06-12 Thread Stefan G. Weichinger
Greets, gentoo-users ... I am currently trying to find out why my LVM2-volumes aren't activated correctly at boot time. I am using packages from the overlay systemd-love as I run systemd as init-system (why? that's another discussion ;-) ). Until now I always was kind of lazy and used genkernel