Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new genkernel problem
Date: Sat, 06 Jun 2020 15:14:04
Message-Id: dd5c3f26-82b6-9de8-d271-3d22f32d4ebf@gmail.com
In Reply to: Re: [gentoo-user] new genkernel problem by Neil Bothwick
1 Neil Bothwick wrote:
2 > On Fri, 5 Jun 2020 15:57:07 -0500, Dale wrote:
3 >
4 >> When you install your kernel, do you use make install or do you copy the
5 >> kernel to /boot manually?  I do mine manually but also copy it manually
6 >> as well.  That makes it hard for me to recall how to use the dracut
7 >> command.  It requires a kernel version etc etc. 
8 > I use make install. If I trust the makefile to build the kernel and it's
9 > module tree, and copy the modules to the correct location, why wouldn't I
10 > trust it to copy a single file to /boot at the same time?
11 >
12 >> If you do copy yours manually to /boot, what command do you use for
13 >> dracut?  Maybe I'm doing it a hard way or something and you have a
14 >> easier method. 
15 > cd /usr/src/linux
16 > make all modules_install install
17 > dracut --kver=$(cat include/config/kernel.release)
18 >
19 > It doesn't get much easier ;-)
20 >
21 >
22
23
24 From what I've read, I like my way better.  I did have to change the
25 names from bzimage* to kernel* but other than that, I can use the naming
26 method I've used for years and keep the good kernels I want.  On
27 occasion I remove outdated ones I no longer plan to use.  I still wish I
28 didn't need the init thingy but still. 
29
30 My biggest problem, getting the dracut command options right.  If I
31 didn't need dracut, I'd be in heaven. 
32
33 Dale
34
35 :-)  :-)

Replies

Subject Author
Re: [gentoo-user] new genkernel problem Neil Bothwick <neil@××××××××××.uk>