From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 69008138247 for ; Sun, 17 Nov 2013 15:34:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CD30E09E7; Sun, 17 Nov 2013 15:34:16 +0000 (UTC) Received: from uberouter3.guranga.net (unknown [78.25.223.226]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62173E08CA for ; Sun, 17 Nov 2013 15:34:15 +0000 (UTC) Received: from [192.168.151.100] (unknown [192.168.151.100]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by uberouter3.guranga.net (Postfix) with ESMTPSA id 8CF1682587 for ; Sun, 17 Nov 2013 15:34:13 +0000 (GMT) Message-ID: <5288E1F4.1010109@thegeezer.net> Date: Sun, 17 Nov 2013 15:34:12 +0000 From: thegeezer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] My first initramfs References: <5282A26D.7060504@libertytrek.org> <5282A3E7.4090006@libertytrek.org> <5288B370.6040103@libertytrek.org> <5288C719.2070008@thegeezer.net> <5288D3E1.6020704@libertytrek.org> In-Reply-To: <5288D3E1.6020704@libertytrek.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: d7158ea0-0ada-48ed-b758-a3e8fce05af9 X-Archives-Hash: fc3c3e3c1f0c95276a83800d102cd2dd On 11/17/2013 02:34 PM, Tanstaafl wrote: > On 2013-11-17 8:39 AM, thegeezer wrote: >> you only need lvm if root/usr is on lvm. > > root is on a normal partition, /usr is on a separate lvm partition. > you will need the intramfs.mount and lvm >> do you have kernel modules that are not compiled into the kernel in >> order to mount root ? > > Ummm... I think I was *extremely* clear on this point? sorry missed in the thread > > Directly from the quoted text in my message that you responded to: > > "but on my server (that has the separate /usr), modules are disabled > and so I have every driver and filesystem built into the kernel." > > So, again, no modules, zero, nada, everything is compiled into the > kernel. > ya no need for modules in intramfs > So, I'm not even certain that I need lvm support (since it is built > into the kernel)? > you do in order to premount usr > And then, how to make sure I have reiserfsck (anything else reiserfs > related?) support? > > reiser support would appear beacuse you have it compiled in the kernel any additional tools you would need to add into genkernel. for reiserfsck, i would suggest looking into your busybox config. i know there is an option you can pass to genkernel --busybox-config you can look at /usr/share/genkernel/defaults/busy-config but the exact options i don't know. I did google it though because i hate not knowing. here a suggestion is to use genkernel --initramfs-overlay= to add into the initramfs http://forums.gentoo.org/viewtopic-t-928398-start-0.html so you could mkdir -p /srv/bin/genkernelextras/tools, put all the tools you want to use in that folder and pass --initramfs-overlay=/srv/bin/genkernelextras but the initramfs is supposed to be the minimal for getting the system booted, genkernel is a tool to help get this done. it's not really for rescue. for rescue i'd suggest a seperate boot, perhaps if using grub2 boot an iso. however, a quick google search away and it looks like dracut has a much more modular approach. i have never used dracut maybe someone else can chip in with it http://wiki.gentoo.org/wiki/Dracut#Other_Filesystems you may also consider creating your own initramfs, which gives you the granular control you perhaps need. http://gentoo-en.vfose.ru/wiki/Initramfs my own 2c would be to suggest to create an lvm using not reiser that you sync your existing root and usr into. but this is way offtopic finally a quick google of some of the issues you raise found me this guy doing something almost identical to you with the suggestion that busybox will be able to support reiser out of the box https://forums.gentoo.org/viewtopic-t-912716-start-0.html