Page 1 of 1

lvm setup

Posted: 10. Nov 2013, 22:40
by tuubaaku
This is sort of a follow-up to http://forum.salixos.org/viewtopic.php?p=4751. I've set up a machine with Slackware with lvm, and I'm looking to do the same thing with salix 14.0.1. I've seen guides for salix for setting up a normal partition + some lvm partitions, but I want the whole drive to be on lvm.

I'm basically looking for a current best-practice tip. On slackware, I would install the generic kernel and make an initrd. Is the same thing with salix? Would I be required to switch to the generic kernel from the huge kernel? If I use the huge kernel, do I still need the initrd like I used on slackware?

I'm just wondering what the accepted process is for salix to boot from a full lvm setup.

Thanks.

Re: lvm setup

Posted: 11. Nov 2013, 01:08
by sammy
On slackware, I would install the generic kernel and make an initrd. Is the same thing with salix?
Yes, it is.
Would I be required to switch to the generic kernel from the huge kernel?
On a modern machine you don't need to, but I always do so, since that's the safe way and the generic kernel needs about 5 mb RAM less than the huge one. ;)
If I use the huge kernel, do I still need the initrd like I used on slackware?
Yes, you would still need an initrd. But different from the initrd for the generic kernel, for the huge kernel image the initrd wouldn't need to have included any modules.

Re: lvm setup

Posted: 12. Nov 2013, 02:57
by tuubaaku
Thanks! Worked great with switching to the generic kernel & making an initrd.