1 |
On Fri, 3 Jan 2020 01:27:22 -0600, Dale wrote: |
2 |
|
3 |
> >> I name my kernels and such this way: |
4 |
> >> |
5 |
> >> root@fireball /usr/src/linux # ls -al /boot/kernel* |
6 |
> >> -rw-r--r-- 1 root root 7061552 Oct 14 2018 /boot/kernel-4.18.12-1 |
7 |
> >> -rw-r--r-- 1 root root 7082032 May 15 2019 /boot/kernel-4.19.40-1 |
8 |
> >> -rw-r--r-- 1 root root 7102512 Jan 2 19:46 /boot/kernel-4.19.40-2 |
9 |
> >> -rw-r--r-- 1 root root 5858496 Jun 17 2016 /boot/kernel-4.5.2-1 |
10 |
|
11 |
> I decided to go back to a older version, just to see if it works. The |
12 |
> first example I had saved didn't work but the second did. First was |
13 |
> likely from a much older version of dracut. Do you know what changed |
14 |
> between dracut-046-r1 and dracut-048-r1? I ran into this once before |
15 |
> when a major version number changed. |
16 |
|
17 |
There was an elog message when the latest dracut emerged here, that was |
18 |
to do with naming. I didn't read all of it as it clearly didn't apply |
19 |
when using the default naming scheme of installkernel. |
20 |
|
21 |
> One reason I'd like to be able to specify everything is to avoid changes |
22 |
> in future versions. That way I can use the same command each time |
23 |
> unless they completely change everything which I'm sure I'd read about |
24 |
> long before I needed to use it. Just has a example: |
25 |
> |
26 |
> dracut /boot/<kernel name> <initramfs name> -k <path to kernel modules> |
27 |
|
28 |
If you stick with the standard kernel naming schemes, dracut will follow |
29 |
them and you shouldn't have such issues. Using make install to install |
30 |
the kernel instead of copying it manually will ensure you have names that |
31 |
dracut will find. |
32 |
|
33 |
Unless you have a good reason to use non-standard naming, I would |
34 |
recommend sticking with the defaults, there is less likelihood of this |
35 |
type of breakage. |
36 |
|
37 |
If you really want to plough your own furrow, try running dracut with the |
38 |
--debug option. When had issues with dracut recently, -v didn't add |
39 |
anything but --debug highlighted the problem immediately. |
40 |
|
41 |
|
42 |
-- |
43 |
Neil Bothwick |
44 |
|
45 |
Help put the "fun" back in "dysfunctional" ! |