public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: covici@ccs.covici.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: genkernel-next will not mount /usr but genkernel will
Date: Sun, 02 Mar 2014 21:34:51 -0500	[thread overview]
Message-ID: <8544.1393814091@ccs.covici.com> (raw)
In-Reply-To: <loom.20140302T215912-221@post.gmane.org>

Greg Surbey <gregsurbey@hotmail.com> wrote:

>  <covici <at> 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


      reply	other threads:[~2014-03-03  2:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06 10:24 [gentoo-user] genkernel-next will not mount /usr but genkernel will covici
2014-03-02 21:08 ` [gentoo-user] " Greg Surbey
2014-03-03  2:34   ` covici [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8544.1393814091@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox