[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cloning of Linux Kernal



On Thursday 05 June 2003 09:39, dhobner wrote:
> I have configured and built a new kernal under debian.  I want to clone the
> kernal and install it on many identical machines.  What exactly should I
> do?

In the event you did not use make-kpkg you can do the following:

1) get the new kernel image to the new machine; put it in /boot for example
2) tar up the /lib/modules/2.x.x that correspond to your new kernel; untar on 
the new machine; verify results
3) edit /etc/lilo.conf on new machine; I like to assign a new kernal image 
the non-default label so you have to specify the new kernel on the first run
4) don't forget to run lilo (the command that is)
5) restart
6) if new kernel works on new machine; then edit /etc/lilo.cong so new kernel 
is default; run lilo; restart; verify
7) if more machines then goto 1)

After you do this several times, you'll be very interested in the make-kpkg 
and the apt-get install method of doiing this procedure.

-- 
Mike M.



Reply to: