public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] fsck separate /usr
Date: Sat, 12 May 2012 19:54:24 -0500	[thread overview]
Message-ID: <CADPrc8173UoQP0i44FkR75U1m2y+3rbqhbihu8HaFoaCzn1Gcw@mail.gmail.com> (raw)
In-Reply-To: <20120513024334.69bc9dd1@weird.wonkology.org>

On Sat, May 12, 2012 at 7:43 PM, Alex Schuster <wonko@wonkology.org> wrote:
> Hi there!
>
> I'm using the new udev with a separate /usr partition.

How do you create your initramfs? The new udev (>= 182, I believe)
requires the use of an initramfs if you have a separated /usr.

> It was encrypted,
> and it seems there is no solution yet for this.

dracut has two modules, crypt and crypt-gpg, that maybe do what you are needing.

> 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/<pid>/ was not a good idea) /usr wants to be
> fsck'ed. But it is already mounted at that stage.

That's the reason you need an initramfs.

> The boot process just continues, but I wonder what one should do to make
> the fsck run. Except for using a live cd.

With an initramfs.

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

You can have every directory under / on a different partition (even
/etc), if you use an initramfs.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



  reply	other threads:[~2012-05-13  0:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-13  0:43 [gentoo-user] fsck separate /usr Alex Schuster
2012-05-13  0:54 ` Canek Peláez Valdés [this message]
2012-05-13  3:54   ` kwkhui
2012-05-13  4:25     ` Canek Peláez Valdés
2012-05-13 10:46   ` Alex Schuster
2012-05-13 12:27     ` Dale
2012-05-13 14:02 ` Philip Webb
2012-05-13 15:11   ` Alex Schuster
2012-05-13 17:08     ` Neil Bothwick
2012-05-13 17:27       ` Alex Schuster
2012-05-13 17:44         ` Neil Bothwick

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=CADPrc8173UoQP0i44FkR75U1m2y+3rbqhbihu8HaFoaCzn1Gcw@mail.gmail.com \
    --to=caneko@gmail.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