public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: How hard is it to move separate /usr to / partition? - WAS Re: [gentoo-user] Optional /usr merge in Gentoo
Date: Fri, 16 Aug 2013 11:41:40 -0500	[thread overview]
Message-ID: <CAEH5T2O8Ret5nLzbqcmgXd+xiGx2_OR+EtOkYpMZLzDidy0aVA@mail.gmail.com> (raw)
In-Reply-To: <520E3F83.7030005@libertytrek.org>

On Fri, Aug 16, 2013 at 10:04 AM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
>> And really, maybe you could try an initramfs? It will be much more
>> easy than any juggle of filesystems.
>
>
> I always compile my kernels manually, by choice - so, no desire to use
> genkernel or dracut.
>
> How would I then create one? I am *not* a programmer, just a reasonably
> competent general sys admin.
>
> Is there a 'generic' one that I can use? Or is there a separate tool that
> will create one based on my system profile (or whatever)?

I think dracut is actually exactly the tool you are looking for. It
does not have anything to do with building your kernel, its sole job
in life is to generate an initramfs built to your specifications. It
contains sane defaults but you can tweak it to include or exclude
things as you see fit. I build my kernel by hand and then run dracut
afterward to generate the initramfs.img.

I believe mounting /usr is enabled by default in dracut. I would
recommend checking out the documentation and seeing all the different
options and modules that are available so you can customize it to
match your needs. For example you may want to have it import your LVM
configuration, assemble a RAID, use the reiserfs or btrfs filesystem,
etc.

Once it generates the initramfs it's as simple as adding a line to
your grub config and off you go. If it doesn't work right away you can
just comment out that line and boot without it, for now, while your
existing setup is still valid. (It took me a few reboots to find the
right combination of options.) Then someday if separate /usr is no
longer allowed without an initramfs, you'll be prepared for it.

I always regenerate my initramfs using dracut after every time i build
a new kernel, but I'm not sure if that's truly necessary. Honestly
it's all still a bit of a black box to me.


  parent reply	other threads:[~2013-08-16 16:42 UTC|newest]

Thread overview: 159+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13  9:08 [gentoo-user] Optional /usr merge in Gentoo Alessio Ababilov
2013-08-13 11:38 ` 东方巽雷
2013-08-13 14:05   ` Alessio Ababilov
2013-08-13 15:24     ` pk
2013-08-13 15:44     ` the
2013-08-13 18:08       ` Alessio Ababilov
2013-08-16  4:16         ` Daniel Campbell
2013-08-16 12:29           ` Alessio Ababilov
2013-08-16 12:35             ` Tanstaafl
2013-08-16 14:05               ` Canek Peláez Valdés
2013-08-16 14:35                 ` How hard is it to move separate /usr to / partition? - WAS " Tanstaafl
2013-08-16 14:48                   ` Canek Peláez Valdés
2013-08-16 15:04                     ` Tanstaafl
2013-08-16 15:09                       ` Alan McKinnon
2013-08-16 15:17                       ` Canek Peláez Valdés
2013-08-16 16:41                       ` Paul Hartman [this message]
2013-08-16 21:30                       ` Neil Bothwick
2013-08-16 13:57             ` Canek Peláez Valdés
2013-08-17 11:49               ` Dan Johansson
2013-08-17 19:18                 ` Alon Bar-Lev
2013-08-18  6:40                 ` Stroller
2013-08-18  9:16                   ` Alan McKinnon
2013-08-18 19:38                     ` Tanstaafl
2013-08-25 22:02                       ` Alan McKinnon
2013-08-26  6:10                         ` Pandu Poluan
2013-08-26  6:23                           ` Alan McKinnon
2013-08-27 11:36                             ` Tanstaafl
2013-08-27 11:42                               ` Alan McKinnon
2013-08-27 12:05                                 ` Tanstaafl
2013-08-27 13:03                                   ` Alan McKinnon
2013-08-27 13:11                                     ` Tanstaafl
2013-08-27 13:44                                       ` Alan McKinnon
2013-08-27 15:55                                     ` Tanstaafl
2013-08-27 16:02                                       ` Alan McKinnon
2013-08-28 10:28                                     ` Pandu Poluan
2013-08-27 19:24                                 ` joost
2013-08-27 19:50                                   ` Alan McKinnon
2013-08-27 20:50                                     ` Joerg Schilling
2013-08-26  7:06                         ` Neil Bothwick
2013-08-26  8:45                           ` Mick
2013-08-26  9:56                             ` Neil Bothwick
2013-08-26 10:17                               ` Pandu Poluan
2013-08-26 12:06                             ` Stefan G. Weichinger
2013-08-26 14:38                               ` Neil Bothwick
2013-08-26 14:36                                 ` Alan McKinnon
2013-08-26 14:45                                 ` Stefan G. Weichinger
2013-08-26 13:16                         ` Tanstaafl
2013-08-26 14:11                           ` Neil Bothwick
2013-08-26 16:36                             ` Tanstaafl
2013-08-26 17:08                               ` Neil Bothwick
2013-08-26 17:30                                 ` Joerg Schilling
2013-08-26 21:05                                   ` Neil Bothwick
2013-08-26 21:37                                     ` Joerg Schilling
2013-08-26 21:53                                       ` Neil Bothwick
2013-08-26 22:25                                         ` Joerg Schilling
2013-08-27  6:18                                       ` Alan McKinnon
2013-08-27  7:59                                         ` Joerg Schilling
2013-08-27  8:26                                           ` Alan McKinnon
2013-08-27  8:58                                             ` Joerg Schilling
2013-08-30 23:05                                           ` [gentoo-user] " walt
2013-08-30 23:08                                             ` walt
2013-08-17  6:14             ` [gentoo-user] " Daniel Campbell
2013-08-17  8:36               ` the.guard
2013-08-17 19:22                 ` [gentoo-user] " Andreas Eder
2013-08-17 19:26                   ` Alon Bar-Lev
2013-08-17 19:31                     ` staticsafe
2013-08-17 19:34                       ` Alon Bar-Lev
2013-08-18  3:42                     ` Daniel Campbell
2013-08-18  8:53                       ` Alessio Ababilov
2013-08-18  9:44                         ` Daniel Campbell
2013-08-18 14:16                           ` pk
2013-08-19  9:21                             ` [gentoo-user] " Stroller
2013-08-19  9:27                               ` Alan McKinnon
2013-08-19 14:03                               ` pk
2013-08-13 18:32 ` Canek Peláez Valdés
2013-08-18  4:33   ` [gentoo-user] " Nikos Chantziaras
2013-08-18  8:40     ` Alessio Ababilov
2013-08-18 19:37       ` Tanstaafl
2013-08-18 21:08         ` Mick
2013-08-18 21:54           ` pk
2013-08-18 22:49             ` Dale
2013-08-19  9:31               ` pk
2013-08-19  9:53                 ` Dale
2013-08-19 10:04                 ` Alan McKinnon
2013-08-19 10:50                   ` Alon Bar-Lev
2013-08-19 13:23                   ` Tanstaafl
2013-08-19 13:36                     ` Alan McKinnon
2013-08-19 16:39                       ` Tanstaafl
2013-08-19 20:54                         ` Alan McKinnon
2013-08-20 14:08                           ` Tanstaafl
2013-08-20 14:43                             ` Alan McKinnon
2013-08-19 14:33                   ` pk
2013-08-19 21:24                     ` Alan McKinnon
2013-08-20  5:29                       ` J. Roeleveld
2013-08-19 10:17                 ` Stroller
2013-08-19 10:55                   ` Neil Bothwick
2013-08-19 13:36                     ` William Kenworthy
2013-08-19 13:49                       ` Alan McKinnon
2013-08-19 16:43                       ` Tanstaafl
2013-08-19 17:13                         ` Canek Peláez Valdés
2013-08-19 17:03                       ` Yohan Pereira
2013-08-19 20:27                         ` Alan McKinnon
2013-08-19 20:00                     ` J. Roeleveld
2013-08-20  1:12                       ` Dale
2013-08-20  4:00                         ` joost
2013-08-20  5:55                           ` Alan McKinnon
2013-08-20  6:54                             ` J. Roeleveld
2013-08-20  9:59                               ` Neil Bothwick
2013-08-20 13:57                                 ` Alan McKinnon
2013-08-20  9:58                         ` Neil Bothwick
2013-08-20 13:21                           ` Dale
2013-08-19  2:39             ` microcai
2013-08-19  3:42               ` Daniel Campbell
2013-08-19  6:35                 ` Alan McKinnon
2013-08-19 12:13                   ` pk
2013-08-19 13:11                     ` Alan McKinnon
2013-08-19 20:32                       ` joost
2013-08-19 20:51                         ` Alan McKinnon
2013-08-19 22:33                           ` Neil Bothwick
2013-08-20  5:41                             ` J. Roeleveld
2013-08-20  5:58                               ` Alan McKinnon
2013-08-20  6:52                                 ` J. Roeleveld
2013-08-20 10:04                               ` Neil Bothwick
2013-08-20  5:38                           ` J. Roeleveld
2013-08-20  6:06                             ` Alan McKinnon
2013-08-20  6:58                               ` J. Roeleveld
2013-08-19  2:55             ` Canek Peláez Valdés
2013-08-19 13:17               ` pk
2013-08-19 17:05                 ` Canek Peláez Valdés
2013-08-19 18:55                   ` pk
2013-08-19 19:28                     ` Canek Peláez Valdés
2013-08-19 13:26               ` Tanstaafl
2013-08-19 14:20                 ` Alecks Gates
2013-08-19 14:30                   ` Alon Bar-Lev
2013-08-19 14:37                     ` Alecks Gates
2013-08-19 14:39                       ` Alon Bar-Lev
2013-08-19 16:11                       ` thegeezer
2013-08-19 22:20                         ` Neil Bothwick
2013-08-20  5:44                           ` J. Roeleveld
2013-08-20 10:03                             ` Neil Bothwick
2013-08-20 12:10                               ` J. Roeleveld
2013-08-20 12:22                                 ` Neil Bothwick
2013-08-20 14:08                                   ` Tanstaafl
2013-08-20 14:17                                     ` Neil Bothwick
2013-08-20 14:37                                       ` Dale
2013-08-20 15:00                                         ` Neil Bothwick
2013-08-20 21:16                                           ` Dale
2013-08-20 22:23                                             ` Neil Bothwick
2013-08-20 14:27                                     ` Alan McKinnon
2013-08-19 22:18                     ` Neil Bothwick
2013-08-19 20:40                   ` Alan McKinnon
2013-08-26 15:28                     ` Stefan G. Weichinger
2013-08-19 22:11                   ` William Kenworthy
2013-08-19 17:29                 ` Canek Peláez Valdés
2013-08-19  5:52             ` Mark David Dumlao
2013-08-19  7:53               ` Daniel Campbell
2013-08-20  2:22                 ` Mark David Dumlao
2013-08-20 10:51                   ` Tanstaafl
2013-08-20 12:34                     ` J. Roeleveld

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=CAEH5T2O8Ret5nLzbqcmgXd+xiGx2_OR+EtOkYpMZLzDidy0aVA@mail.gmail.com \
    --to=paul.hartman+gentoo@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