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 D772B13873B for ; Mon, 3 Mar 2014 02:35:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F25A3E0B69; Mon, 3 Mar 2014 02:34:53 +0000 (UTC) Received: from ccs.covici.com (ccs.covici.com [70.109.53.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02D11E0B42 for ; Mon, 3 Mar 2014 02:34:52 +0000 (UTC) Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.8/8.14.7) with ESMTP id s232YpQV008547 for ; Sun, 2 Mar 2014 21:34:51 -0500 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: genkernel-next will not mount /usr but genkernel will In-reply-to: References: <17996.1391682262@ccs.covici.com> Comments: In-reply-to Greg Surbey message dated "Sun, 02 Mar 2014 21:08:40 +0000." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.4.1 Date: Sun, 02 Mar 2014 21:34:51 -0500 Message-ID: <8544.1393814091@ccs.covici.com> From: covici@ccs.covici.com 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 X-Archives-Salt: c74b7323-6c02-4afa-9fc4-45f9684ef4f5 X-Archives-Hash: 6b22bf3a3b3a3954f49c2203acbd38c0 Greg Surbey wrote: > ccs.covici.com> writes: > > > > > Hi folks. I wanted to switch to using genkernel-next instead of > > genkernel so eventually I could switch to using systemd. However > > genkernel-next-50 will not mount my /usr file system. I have everything > > on lvm volumes, except my /boot which is a regular partition. With the > > regular genkernel /usr is mounted, but I can't even test systemd > > bedcause it looks for realinit before /usr is even mounted. My > > genkernel command line is: > > genkernel --no-clean --no-splash --lvm --e2fsprogs > > --kerneldir=/usr/src/linux-3.6.2-gentoo initramfs > > > > Now when I use genkernel-next, it would not mount /usr because it said > > no such file or directory -- I guess its mount point -- not sure of > > that. It would not execute udev because it said there was a missing > > library. > > > > So, how can this be fixed? Is there a bug in genkernel-next? > > > > Thanks in advance for any ideas. > > > Hi Covici, > > I experienced a similar issue to yours and I thought I'd post a workaround > that worked for my situation. What I did was add 'debug' as a kernel line > parameter so that the initramfs would drop me into a busybox commandline > before mounting the root file system. I then went into /dev/vg/ and ran > this command 'ln -sf /dev/dm-0 usr'. This changed the symbolic link from a > relative to an absolute path and thus fixed it so the mount command would > work correctly when called in the bootup script. I typed 'exit' to continue > with the boot. That is interesting, if true, there is a bug in genkernel-next -- I wonder if they fixed it in 53 -- I was using -50. Thanks for the hint. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com