Canek Peláez Valdés <can...@gmail.com> wrote: > On Tue, Nov 12, 2013 at 3:55 PM, Tanstaafl <tansta...@libertytrek.org> wrote: > > On 2013-11-12 4:49 PM, Tanstaafl <tansta...@libertytrek.org> wrote: > >> > >> Ok, looking into this now... > >> > >> Reading the referenced wiki page shows this comment: > >> > >>> Introduction and bootloader configuration > >>> > >>> To create an initramfs, it is important that you know what > >>> additional drivers, scripts and tools you need to boot your system. > >>> For instance, if you use LVM, then you will need to support LVM tools > >>> on the initramfs. Likewise, if you use software RAID, you need mdadm, > >>> etc. > >> > >> > >> I thought I'd mentioned/asked this before, but don't recall a > >> satisfactory answer... > >> > >> Ok, up until now, I haven't *had* to 'know' what additional drivers are > >> needed by my system to boot. > >> > >> So... how the heck am I supposed to find out? Trial and error? > > > > > > Further down under the genkernel section has: > > > >> Depending on your system, you might want to add one or more of the > >> following options: > >> Option Description > >> --disklabel Add support for LABEL= settings in your /etc/fstab > >> --dmraid Add support for fake hardware RAID > >> --firmware Add in firmware code found on the system > >> --gpg Add in GnuPG support > >> --iscsi Add support for iSCSI > >> --luks Add support for luks encryption containers > >> --lvm Add support for LVM > >> --mdadm Add support for software RAID > >> --multipath Add support for multiple I/O access towards a SAN > >> --zfs Add support for ZFS > > > > > > So, are these *all* of the potential options? If so, then I can probably > > safely say that all I need is lvm... > > You *MUST* add the necessary modules/tools to mount root and/or /usr. > So if you have an XFS partition on a LVM volume on top of an mdraid, > and the partition is encrypted, then you need the kernel modules for > xfs, lvm, mdraid and crypt, and the corresponding userspace tools, > including fsck.xfs. > > You *MAY* add whatever else you want in your initramfs (I add the > drivers for my USB keyboard, so in case of emergencies I can actually > type commands), but the only parts you *MUST* include are the ones you > need to mount (and check) your root and /usr partitions. > > I strongly recommend dracut; the modules listed in DRACUT_MODULES are > usually self explanatory, and it Just Works™. Hi. I am using genkernel and openrc and it boots correctly using lvm, (I have ext2-3 modules built in), but what it does never do is check the /usr which is on a separate partition before mounting, so /usr is never checked unless I boot from a live cd and do it myself. I wonder if there is any way to get this to be done?
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com