Re: Is it needed to reinstall custom kernel every time, afterrebuilding?

From: Jesper Juhl
Date: Fri Aug 19 2011 - 03:10:44 EST


On Thu, 18 Aug 2011, Amirali Shambayati wrote:

> Hi all,
>
> Last time, I emailed to linux-kernel and kernenewbies mailing-lists
> about how to speed up kernel compilation. I received very useful peace
> of advice about using "ccache". Now I want to modify and compile a
> unique custom kernel several times.
> I used https://help.ubuntu.com/community/Kernel/Compile to compile
> custom kernel. This tutorial uses "kpkg" command to build kernel and
> it produces two .deb files: "linux-image" and "linux-header" as
> result.
> So for the first time I followed this tutorial.
> For next times, according to to experts' advice, I use "make all" in
> custom kernel root directory to rebuild kernel. I am not sure that it
> would be enough to use changed kernel after rebooting. As I asked from
> some experts, It is also required to install kernel again, but they
> were not familiar with "kpkg" and "dbkg",... commands for kernel
> installation.
> Should I use "dbkg" command after every time I rebuild kernel, for
> re-installation?
> If anybody is familiar with these method of kernel installation,
> please help me. It is very urgent, because it is related to my B.S.
> thesis :P
>

If you build a new kernel and want to run that new kernel, then you must
install that newly build kernel and reboot to it.

--
Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/