From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1STWLJ-0001RO-Ls for garchives@archives.gentoo.org; Sun, 13 May 2012 10:48:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C995E0858; Sun, 13 May 2012 10:47:40 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id ED185E07EE for ; Sun, 13 May 2012 10:46:13 +0000 (UTC) Received: from weird.wonkology.org (xdsl-78-35-180-140.netcologne.de [78.35.180.140]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id CBBF6DC041 for ; Sun, 13 May 2012 12:46:12 +0200 (CEST) Date: Sun, 13 May 2012 12:46:10 +0200 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] fsck separate /usr Message-ID: <20120513124610.5eb40192@weird.wonkology.org> In-Reply-To: References: <20120513024334.69bc9dd1@weird.wonkology.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 921ba000-d37a-4341-adce-a881535381d6 X-Archives-Hash: 5f8b1fe3c4bf2e8d807ea98a4808815d Canek Pel=E1ez Vald=E9s writes: > On Sat, May 12, 2012 at 7:43 PM, Alex Schuster > wrote: > > I'm using the new udev with a separate /usr partition. >=20 > How do you create your initramfs? The new udev (>=3D 182, I believe) > requires the use of an initramfs if you have a separated /usr. I'm using gekernel. > > It was encrypted, > > and it seems there is no solution yet for this. >=20 > dracut has two modules, crypt and crypt-gpg, that maybe do what you are > needing. Maybe, I did not (yet?) try dracut. > > so I moved it over to an > > unencrypted volume - no problem, /usr is one partition where > > encryption does not make that much sense anyway. Works, but after an > > unclean shutdown (reading files in /proc// was not a good > > idea) /usr wants to be fsck'ed. But it is already mounted at that > > stage. >=20 > That's the reason you need an initramfs. >=20 > > The boot process just continues, but I wonder what one should do to > > make the fsck run. Except for using a live cd. >=20 > With an initramfs. Not with mine :) Maybe I'll give dracut a try. It seems to be a nice utility, and I was about to try it, but then I read about Dale's problems and decided to stay with genkernel for a while. > > Maybe I should just enlarge my root partition and move /usr there, at > > least this would avoid all the trouble. But I'm used to many separate > > partitions, and like it that way. >=20 > You can have every directory under / on a different partition (even > /etc), if you use an initramfs. Which I do, every partition (including /) is on LVM, and except for /usr, /usr/src and portage stuff, all is encrypted. But maybe it's time to drop some partitions, and maybe include at least /usr and /tmp in the root partition. /usr would be encrypted again then, but the overhead seems to be small, so why not. Wonko