On Wednesday 17 August 2005 21:15, Manoj Srivastava wrote: > On Tue, 16 Aug 2005 01:05:47 -0400, David R Litwin > > <[EMAIL PROTECTED]> said: > > I read entirely through the Creating Custom Kernels with Debian's > > Kernel-Package System and I don't think I really feel like doing > > that. It seems ridiculously elaborate. > > Phase ONE: Getting and configuring the kernel > 1% cd <kernel source tree> (make sure you have write permission there) > 2% make config # or make menuconfig or make xconfig (or, for 2.6.x > kernels, make gconfig) and configure > > Phase TWO: Create a portable kernel image .deb file > 3% make-kpkg clean > 4% $Get_Root make-kpkg --revision=custom.1.0 kernel_image > (Get_Root is whatever you need to become root -- fakeroot or > sudo are examples that come to mind). NOTE: if you have > instructed your boot loader to expect initrd kernels (which is > the norm for recent official kernel image packages) you need to > add --initrd to the line above. > % $Get_Root make-kpkg --initrd --revision=custom.1.0 kernel_image > Personally, I prefer non initrd images for my personal machines, > since then adding third party modules to the machine has fewer > gotchas > Phase THREE: Install the kernel image on one or more machines > 5# dpkg -i ../kernel-image-X.XXX_1.0_<arch>.deb > > With the addition of fakeroot ( a really nice program, I recommend > it). Steps 1 to 4 can be carried out as a non root user. Step 5 does > require root privileges. > > > If this is ridiculously complex, umm. are you sure you want to > be running Sid? Indeed, let's compare it to the standard linux way:
!. Get kernel source, make configure, make menuconfig 2. make all 3. make_modules 4. make_modules install 5. mv /boot/vmlunuz /boot/vmlunuzXXXX, cp /usr/src/linux/arch(i386)/boot/bzImage /boot/vmlunuz 6.mv /boot/System.map /boot/System.mapXXXX cp //usr/src/linux/System.map /boot/System.map 7. edit /boot/grup/menu.lst or /boot/lilo.conf? to reflect the new kernel. as you can see, kernel-package is MUCH more complex requiring less steps and far less editing. Please read /usr/share/kernel-package/README (it is compressed untill you extract it) That is the single best kernel howto I have ever read. > > manoj > -- > A guy has to get fresh once in a while so a girl doesn't lose her > confidence. > Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/> > 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- Damon L. Chesser [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]