Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] systemd and initramfs
Date: Tue, 20 Aug 2013 06:44:36
Message-Id: 1376981069.12493.3@numa-i.igpm.rwth-aachen.de
In Reply to: Re: [gentoo-user] systemd and initramfs by Mike Gilbert
1 On 08/19/2013 04:55:29 PM, Mike Gilbert wrote:
2 > On Mon, Aug 19, 2013 at 5:58 AM, Helmut Jarausch
3 > <jarausch@××××××××××××××××.de> wrote:
4 > > Hi,
5 > >
6 > > what binaries and libraries have to be put into an initramfs for a
7 > system
8 > > booting with init=/usr/lib/systemd/systemd ?
9 > > (I am building the initramsfs myself)
10 > >
11 >
12 > You need to get your root filesystem and /usr mounted. Just keep that
13 > goal in mind and start adding files to support it.
14 >
15 > There doesn't need to be anything systemd-specific.
16 >
17
18 I am not sure about "timing".
19
20 Initially the kernel has only the "mini" /usr partition contained
21 within the initramfs.
22 Then it switches to "real root" and only then it tries to mount the
23 "real" /usr partition.
24 Does this all happen before the kernel hands control over to the init
25 process (i.e. systemd) ?
26
27 Many thanks,
28 Helmut

Replies

Subject Author
Re: [gentoo-user] systemd and initramfs Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] systemd and initramfs "Canek Peláez Valdés" <caneko@×××××.com>
Re: [gentoo-user] systemd and initramfs Mike Gilbert <floppym@g.o>