Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-17 Thread Michael Mair-Keimberger
On Sun, Nov 16, 2014 at 12:21:37PM +1100, wraeth wrote: On Fri, Nov 14, 2014 at 07:43:18PM +0100, Michael Mair-Keimberger wrote: Basically my changes in my grub config were already correct, however I completely forgot, that, since I wrote my own init script, arg's like root and init simply

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-15 Thread wraeth
On Fri, Nov 14, 2014 at 07:43:18PM +0100, Michael Mair-Keimberger wrote: Basically my changes in my grub config were already correct, however I completely forgot, that, since I wrote my own init script, arg's like root and init simply weren't used by my script... If you look at my script, I

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-14 Thread Michael Mair-Keimberger
On Wed, Nov 12, 2014 at 11:20:53AM +0100, Stefan G. Weichinger wrote: Am 12.11.2014 um 11:07 schrieb Sam Jorna: On Wed, Nov 12, 2014 at 10:42:28AM +0100, Michael Mair-Keimberger wrote: On Wed, Nov 12, 2014 at 12:03:04PM +1100, wra...@wraeth.id.au wrote: On Tue, Nov 11, 2014 at

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-12 Thread Michael Mair-Keimberger
On Tue, Nov 11, 2014 at 10:44:36PM +0100, Stefan G. Weichinger wrote: Am 11.11.2014 um 21:56 schrieb Michael Mair-Keimberger: Don't get confused about the lvm flag. This just get passed to my very simple custom initramfs Why not try dracut for creating your initrd? I spent *lots* of

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-12 Thread Michael Mair-Keimberger
On Tue, Nov 11, 2014 at 03:47:49PM -0600, Jc García wrote: 2014-11-11 14:56 GMT-06:00 Michael Mair-Keimberger m.mairkeimber...@gmail.com: This lead me to my second question. At the wiki, the only way to create an initramfs for systemd was with genkernel (genkernel --udev --lvm). While

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-12 Thread Michael Mair-Keimberger
On Wed, Nov 12, 2014 at 12:03:04PM +1100, wra...@wraeth.id.au wrote: On Tue, Nov 11, 2014 at 09:56:09PM +0100, Michael Mair-Keimberger wrote: Today I've started to play around with systemd but so far I couldn't get it to boot. I've followed the how to from the gentoo wiki [1], but I stuck

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-12 Thread Michael Mair-Keimberger
On Tue, Nov 11, 2014 at 05:13:16PM -0500, cov...@ccs.covici.com wrote: Michael Mair-Keimberger m.mairkeimber...@gmail.com wrote: Hi List, Today I've started to play around with systemd but so far I couldn't get it to boot. I've followed the how to from the gentoo wiki [1], but I

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-12 Thread Sam Jorna
On Wed, Nov 12, 2014 at 10:42:28AM +0100, Michael Mair-Keimberger wrote: On Wed, Nov 12, 2014 at 12:03:04PM +1100, wra...@wraeth.id.au wrote: On Tue, Nov 11, 2014 at 09:56:09PM +0100, Michael Mair-Keimberger wrote: snip systemd. Maybe i could adopt that to my custom one as well. /snip Working

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-12 Thread Stefan G. Weichinger
Am 12.11.2014 um 10:47 schrieb Michael Mair-Keimberger: Dracut was already mentioned. I'll give it a try later that day. Regarding your rd.lvm.vg= flag. I guess should be put into the grub2 entry, shouldn't it? Yes, in the same line where you add the init= parameter. You might add it to your

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-12 Thread Stefan G. Weichinger
Am 12.11.2014 um 11:07 schrieb Sam Jorna: On Wed, Nov 12, 2014 at 10:42:28AM +0100, Michael Mair-Keimberger wrote: On Wed, Nov 12, 2014 at 12:03:04PM +1100, wra...@wraeth.id.au wrote: On Tue, Nov 11, 2014 at 09:56:09PM +0100, Michael Mair-Keimberger wrote: snip systemd. Maybe i could adopt

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-12 Thread covici
Michael Mair-Keimberger m.mairkeimber...@gmail.com wrote: On Tue, Nov 11, 2014 at 05:13:16PM -0500, cov...@ccs.covici.com wrote: Michael Mair-Keimberger m.mairkeimber...@gmail.com wrote: Hi List, Today I've started to play around with systemd but so far I couldn't get it to

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-11 Thread Stefan G. Weichinger
Am 11.11.2014 um 21:56 schrieb Michael Mair-Keimberger: Don't get confused about the lvm flag. This just get passed to my very simple custom initramfs Why not try dracut for creating your initrd? I spent *lots* of time around lvm/mdadm with systemd and grub2 back then ... What does your own

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-11 Thread Jc García
2014-11-11 14:56 GMT-06:00 Michael Mair-Keimberger m.mairkeimber...@gmail.com: This lead me to my second question. At the wiki, the only way to create an initramfs for systemd was with genkernel (genkernel --udev --lvm). While the command itself is pretty useless (it's `genkernel --udev --lvm

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-11 Thread covici
Michael Mair-Keimberger m.mairkeimber...@gmail.com wrote: Hi List, Today I've started to play around with systemd but so far I couldn't get it to boot. I've followed the how to from the gentoo wiki [1], but I stuck somehow. My configuration: rootfs is on lvm2 (no encryption or raid). I

Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-11 Thread wraeth
On Tue, Nov 11, 2014 at 09:56:09PM +0100, Michael Mair-Keimberger wrote: Today I've started to play around with systemd but so far I couldn't get it to boot. I've followed the how to from the gentoo wiki [1], but I stuck somehow. I found systemd to be rather tricky to implement on some of my