Is it needed to reinstall custom kernel every time, after rebuilding?

August 18th, 2011 - 12:50 pm ET by Amirali Shambayati | Report spam
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

Regards,



Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Amirali Shambayati
August 18th, 2011 - 01:00 pm ET | Report spam
I decided, to first "make all" kernel package and using "dbkg" to
reinstall .deb files every time.
Could it be right?
(re-note: I want to build and install custom kernel for several times!)

On Thu, Aug 18, 2011 at 9:17 PM, 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

Regards,



Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran






Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Similar topics