public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problem with e2fsck and the pre mount of /usr
@ 2012-03-26 14:23 covici
  2012-03-27 14:46 ` Doug Hunley
  0 siblings, 1 reply; 3+ messages in thread
From: covici @ 2012-03-26 14:23 UTC (permalink / raw
  To: gentoo-user

Hi.  I upgraded genkernel and openrc to see what would happen with the
initrd mounting /usr -- since I use an initrd anyway.

Well, it mounts OK, but when it comes time to do the e2fsck, that fails
because its mounted.  Is there a way to get the initrd to do an e2fsck
before it mounts /usr and then I can have it not do one in the
/etc/fstab -- or any other solution to this problem?
I am using gentoo unstable with 3.2.6-gentoo.


Any assistance would be appreciated.

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] problem with e2fsck and the pre mount of /usr
  2012-03-26 14:23 [gentoo-user] problem with e2fsck and the pre mount of /usr covici
@ 2012-03-27 14:46 ` Doug Hunley
  2012-03-28 14:22   ` Jorge Martínez López
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Hunley @ 2012-03-27 14:46 UTC (permalink / raw
  To: gentoo-user

On Mon, Mar 26, 2012 at 10:23,  <covici@ccs.covici.com> wrote:
> Hi.  I upgraded genkernel and openrc to see what would happen with the
> initrd mounting /usr -- since I use an initrd anyway.
>
> Well, it mounts OK, but when it comes time to do the e2fsck, that fails
> because its mounted.  Is there a way to get the initrd to do an e2fsck
> before it mounts /usr and then I can have it not do one in the
> /etc/fstab -- or any other solution to this problem?
> I am using gentoo unstable with 3.2.6-gentoo.
>
>
> Any assistance would be appreciated.

Have your init mount it read-only and fsck should be happy, iirc

-- 
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd                                               Web:
douglasjhunley.com
G+: http://goo.gl/sajR3



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] problem with e2fsck and the pre mount of /usr
  2012-03-27 14:46 ` Doug Hunley
@ 2012-03-28 14:22   ` Jorge Martínez López
  0 siblings, 0 replies; 3+ messages in thread
From: Jorge Martínez López @ 2012-03-28 14:22 UTC (permalink / raw
  To: gentoo-user

Hi!

I let Dracut mount /usr and I do not mount it again at boot. In order
to do so I have added the "noauto" option in /etc/fstab:

/dev/mapper/vg-usr		/usr		ext4		noauto,noatime	1 2

Use with caution.

Greetings,
-- 
Jorge Martínez López <jorgeml@gmail.com> http://www.jorgeml.net
      Google Talk / XMPP: jorgeml@gmail.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-28 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 14:23 [gentoo-user] problem with e2fsck and the pre mount of /usr covici
2012-03-27 14:46 ` Doug Hunley
2012-03-28 14:22   ` Jorge Martínez López

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox