On 07/03/2017 12:16, White, Phil wrote: > Hi Alan, Thanks for the reply. > > First attempt at install was using emerge. This installs version 1.17.1. > This didn't work, so I removed it, and installed version 2.00 from Git, > in an attempt to fix the problem. > > BOTH produce the same error - unable to find a kernel due to the naming > issue described previously. > So firstly I need to know whether Genkernel is incorrectly naming the > kernel, or whether Rear is looking for the wrong name.
genkernel is free to call a kernel image by any name it feels like calling it. It's just a file and the only thing the bootloader cares about is if it can find it. Therefore rear is out of step, and rear needs to be patched > > Cheers, > Phil > > On 6 March 2017 at 22:25, Alan McKinnon <alan.mckin...@gmail.com > <mailto:alan.mckin...@gmail.com>> wrote: > > On 06/03/2017 23:55, White, Phil wrote: > > Hi, > > > > I'm not sure if this needs submitting as a bug, or if I just need a > > little help in configuring... > > > > I have set up a new install of Gentoo. I use genkernel to create my > > kernel and initrd. > > The resulting /boot directory gives: > > kernel-genkernel-x86-4.9.6-gentoo-r1 > > > > My chost is i686-pc-linux-gnu. > > > > Now, I also have installed rear (relax-and-recover) v2, from git > > (app-backup/rear is 1.17.1) > > > > Problem: rear is looking for a kernel, and it expects it to be named: > > kernel-genkernel-i686-4.9.6-gentoo-r1 > > Since the name doesn't match, it bails out with an error. (This only > > fails with my i686 machine. Running the same configuration on a 64-bit > > machine works fine) > > > > Question: How am I going to fix this? I don't want to hard code anything > > in the config file, as this will break when I update the kernel... Is > > this a 'bug'? > > > Please clarify what version of rear has this problem, and how you > installed it. > > Either way, from the problem description one can see that rear needs > patching, however: > > If it was installed by ortage from an ebuild, then you have a bug to be > reported to b.g.o. > > If you installed from git outside of portage, the you get to patch rear > yourself > > Or, perhaps a third option. Does rear have a config file where you can > define the naming template for the kernel used? (I don't use rear and > can't be bothered googling it, the idea just occurred to me) > > > -- > Alan McKinnon > alan.mckin...@gmail.com <mailto:alan.mckin...@gmail.com> > > > -- Alan McKinnon alan.mckin...@gmail.com