* How to reinstall modified custom kernel?
@ 2011-08-18 16:44 Amirali Shambayati
2011-08-18 16:52 ` Littlefield, Tyler
0 siblings, 1 reply; 2+ messages in thread
From: Amirali Shambayati @ 2011-08-18 16:44 UTC (permalink / raw)
To: kernelnewbies
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 "dpkg",... 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110818/63b20e5e/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* How to reinstall modified custom kernel?
2011-08-18 16:44 How to reinstall modified custom kernel? Amirali Shambayati
@ 2011-08-18 16:52 ` Littlefield, Tyler
0 siblings, 0 replies; 2+ messages in thread
From: Littlefield, Tyler @ 2011-08-18 16:52 UTC (permalink / raw)
To: kernelnewbies
Hello:
If this is related to your thesis, I recommend you get a deeper
understanding of dpkg and what it does.
Essentially, dpkg is the same as the MSI installer setup in Windows.
When you use make-dpkg (I think I might have that command wrong), it
compiles your
kernel, then it stuffs it in these packages that you use to install. You
will need to install the packages using dpkg -i to install the new
kernel. Think of it like this. You write a program, and you put say
version 1.2 in a package to be installed. Now you release 1.3, but in
order to give 1.3 to your users you're going to have to reupdate that
package with 1.3. Same with the kernel. Just building the kernel into
.deb packages doesn't install it, it just creates a means that you can
use to install the kernel.
On 8/18/2011 10:44 AM, 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 "dpkg",... 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
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
Take care,
Ty
my website:
http://tds-solutions.net
my blog:
http://tds-solutions.net/blog
skype: st8amnd127
My programs don't have bugs; they're randomly added features!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110818/0eae446a/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-18 16:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18 16:44 How to reinstall modified custom kernel? Amirali Shambayati
2011-08-18 16:52 ` Littlefield, Tyler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.