Kernel By Hand - tips needed

Bob Nielsen nielsen at oz.net
Mon Nov 8 01:31:30 UTC 2004


In that case, I'd install the source package and kernel-package, copy 
/boot/linux/config-2.6.8.1-3-386 to <source_directory>/.config and run 
'make menuconfig', keeping all the defaults except for the CPU type.  
Then run 'make-kpkg' with the --initrd option to create a Debian package 
of your new kernel and install it with dpkg.  Other than the optimized 
kernel, this should be a pretty transparent change.  See man (1) 
make-kpkg for further information.


On Mon, Nov 08, 2004 at 02:40:11AM +0200, Asko Kauppi wrote:
> 
> The initrd question is the puzzling one.  Do I need it, or not?  What's 
> in it?
> 
> What I'm trying to achieve is just a faster version of the 386 Ubuntu 
> kernel, customized for Virtual PC emulated needs (so I do know all the 
> hardware, very precisely even).  I'd like to change as little as 
> possible, main thing is changing CPU to Pentium-MMX (686 kernel crashes 
> for some reason, although VPC is 686 + MMX capable).
> 
> .ak
> 
> 7.11.2004 kello 23:47, Bob Nielsen kirjoitti:
> 
>  On Sun, Nov 07, 2004 at 09:30:15PM +0100, Jens Kubieziel wrote:
> >>* Asko Kauppi schrieb am 2004-11-07 um 20:19 Uhr:
> >>>I'm starting to hand-craft a kernel for Ubuntu, does anyone have a
> >>>decent list of exactly which device drivers need to be built-in. I
> >>
> >>It depends from your hardware. Try to parse the output from lspci and
> >>select the appropriate drivers.
> >
> >It also depends on whether you use initrd, although with a custom 
> >kernel
> >it is probably easier to avoid that, in which case you need any drivers
> >needed for hard-drive access (including file systems used) to be
> >built-in.
> >




More information about the ubuntu-users mailing list