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 |