Gentoo Archives: gentoo-user

From: "White
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Rear & Genkernel
Date: Tue, 07 Mar 2017 10:16:59
Message-Id: CAKsv4qbHMCyzjYuwEEabkCZx5dcvgH_keY4hxVt-fqwW5ZuEZg@mail.gmail.com
In Reply to: Re: [gentoo-user] Rear & Genkernel by Alan McKinnon
1 Hi Alan, Thanks for the reply.
2
3 First attempt at install was using emerge. This installs version 1.17.1.
4 This didn't work, so I removed it, and installed version 2.00 from Git, in
5 an attempt to fix the problem.
6
7 BOTH produce the same error - unable to find a kernel due to the naming
8 issue described previously.
9 So firstly I need to know whether Genkernel is incorrectly naming the
10 kernel, or whether Rear is looking for the wrong name.
11
12 Cheers,
13 Phil
14
15 On 6 March 2017 at 22:25, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
16
17 > On 06/03/2017 23:55, White, Phil wrote:
18 > > Hi,
19 > >
20 > > I'm not sure if this needs submitting as a bug, or if I just need a
21 > > little help in configuring...
22 > >
23 > > I have set up a new install of Gentoo. I use genkernel to create my
24 > > kernel and initrd.
25 > > The resulting /boot directory gives:
26 > > kernel-genkernel-x86-4.9.6-gentoo-r1
27 > >
28 > > My chost is i686-pc-linux-gnu.
29 > >
30 > > Now, I also have installed rear (relax-and-recover) v2, from git
31 > > (app-backup/rear is 1.17.1)
32 > >
33 > > Problem: rear is looking for a kernel, and it expects it to be named:
34 > > kernel-genkernel-i686-4.9.6-gentoo-r1
35 > > Since the name doesn't match, it bails out with an error. (This only
36 > > fails with my i686 machine. Running the same configuration on a 64-bit
37 > > machine works fine)
38 > >
39 > > Question: How am I going to fix this? I don't want to hard code anything
40 > > in the config file, as this will break when I update the kernel... Is
41 > > this a 'bug'?
42 >
43 >
44 > Please clarify what version of rear has this problem, and how you
45 > installed it.
46 >
47 > Either way, from the problem description one can see that rear needs
48 > patching, however:
49 >
50 > If it was installed by ortage from an ebuild, then you have a bug to be
51 > reported to b.g.o.
52 >
53 > If you installed from git outside of portage, the you get to patch rear
54 > yourself
55 >
56 > Or, perhaps a third option. Does rear have a config file where you can
57 > define the naming template for the kernel used? (I don't use rear and
58 > can't be bothered googling it, the idea just occurred to me)
59 >
60 >
61 > --
62 > Alan McKinnon
63 > alan.mckinnon@×××××.com
64 >
65 >
66 >

Replies

Subject Author
Re: [gentoo-user] Rear & Genkernel Alan McKinnon <alan.mckinnon@×××××.com>