From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JswKV-0001d9-Dm for garchives@archives.gentoo.org; Mon, 05 May 2008 08:45:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEC62E0466; Mon, 5 May 2008 08:45:49 +0000 (UTC) Received: from s200aog16.obsmtp.com (s200aog16.obsmtp.com [207.126.144.130]) by pigeon.gentoo.org (Postfix) with ESMTP id 5E312E0466 for ; Mon, 5 May 2008 08:45:49 +0000 (UTC) Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob016.postini.com ([207.126.147.11]) with SMTP; Mon, 05 May 2008 08:45:48 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 352F0DA8B for ; Mon, 5 May 2008 08:45:48 +0000 (GMT) Received: from mail1.agr.st.com (mail1.agr.st.com [164.130.4.71]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 12E6F4C163 for ; Mon, 5 May 2008 08:45:41 +0000 (GMT) Received: from [164.130.17.81] (ws2912.agr.st.com [164.130.17.81]) by mail1.agr.st.com (MOS 3.7.5a-GA) with ESMTP id CQZ73487 (AUTH "raffaele belardi"); Mon, 5 May 2008 10:45:39 +0200 (CEST) Subject: Re: [gentoo-amd64] boot Gentoo from USB key From: Raffaele BELARDI To: gentoo-amd64@lists.gentoo.org In-Reply-To: <481892EC.6050105@lakedaemon.net> References: <1209537833.6170.62.camel@ws2912.agr.st.com> <481867A3.3070904@lakedaemon.net> <48188245.9010603@avtomatika.com> <4818866C.90109@lakedaemon.net> <48188AC2.70804@avtomatika.com> <481892EC.6050105@lakedaemon.net> Content-Type: text/plain Date: Mon, 05 May 2008 10:53:19 +0200 Message-Id: <1209977599.6344.32.camel@ws2912.agr.st.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 44958f69-1daa-4d83-b05a-00938db23899 X-Archives-Hash: ff238f9504ef668044227cfbd037d333 On Wed, 2008-04-30 at 11:40 -0400, Jason wrote: > 1.) a good initrd will use only statically linked executables. > 2.) you shouldn't start any servers or background processes from initrd. > 3.) initrd's are tied to kernels. Every distro's initrd generator is > re-run upon upgrading the kernel. The modules versions won't be out of > sync then. Gentoo has genkernel for this purpose. > I have not even considered using an initrd due to lack of knowledge, but if it could help improving the solution below I'd surely give it a try. I'm trying to build a silent PC with Mythtv for the living room. This is what I am doing: 1. boot the Mythtv system with no disk from USB (4Gb key should be sufficient) 2. wake up a remote server with the Wake-On-Lan ethernet functionality. This implies sending a particular ('Magic') packet over UDP to the server's MAC address 3. mount the remote disks containing the movies through NFS I'm still at step 1. For next step I was planning to put in /etc/conf.d/local.start a call to e.g. ether-wake. Then after a delay to let the server boot, I'd proceed to step3. Would intird on the Mythtv box improve the above in some way, for example by letting the system send the magic packet earlier in the boot process? thanks, raf -- gentoo-amd64@lists.gentoo.org mailing list