problem with e2fsck and the pre mount of /usr
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 |
problem with e2fsck and the pre mount of /usr
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 |
problem with e2fsck and the pre mount of /usr
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 |
| All times are GMT. The time now is 12:08 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.