Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Separate /usr partition
Date: Thu, 15 Sep 2022 17:35:25
Message-Id: 20220915183517.4cffc1e7@digimed.co.uk
In Reply to: Re: [gentoo-user] Separate /usr partition by Dale
1 On Thu, 15 Sep 2022 05:00:25 -0500, Dale wrote:
2
3 > As I said, I do all mine by hand.  I don't use make install etc.  After
4 > I build my kernel, I copy it and name it something like this, from
5 > /boot.
6
7 [snip]
8 > Once I get that done, I then build the init thingy.  This is Neil's
9 > command that he posted.  From my understanding, the kernel symlink needs
10 > to point to the correct kernel version. 
11 >
12 > dracut --kver=$(cat include/config/kernel.release)
13
14 This should be run from within the kernel source directory. It picks up
15 the version from the source so the symlink is irrelevant.
16
17 > That gives a init thingy with a somewhat generic name.  I then rename it
18 > to match the kernel, looks something like this from /boot.
19
20 If you use make install to install the kernel, dracut gives the initramfs
21 a matching name.
22
23 --
24 Neil Bothwick
25
26 Time is the best teacher; unfortunately it kills all its students.

Replies

Subject Author
RE: [gentoo-user] Separate /usr partition Laurence Perkins <lperkins@×××××××.net>