Shane, I still consider myself something of a newbie on kernel compiling (although, technically, I've been building unix/linux kernels for 20 years). Why do you generate an initrd image? ----- Original Message ----- From: "Shane" <shane-keyword-speakup.aca783@xxxxx> To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca> Sent: Thursday, September 28, 2006 2:05 PM Subject: Re: advice needed on kernel compiling > Hi Chuck, > > On Thu, Sep 28, 2006 at 05:43:17AM -0400, Chuck Hallenbeck wrote: >> I would like to make a smooth upgrade from Shane's 2.6.17-speakup >> package to the new 2.6.18 kernel, and could use some advice doing this. > > Well if you want to stick with the package, I'll probably > have one shortly. Just gotta get the amd64 system back up > so I can compile for that arch. > >> If I patch the 2.6.18 source tree with speakup (already done), do a make >> mrproper (already done), copy over the existing 2.6.17-speakup >> configuration into the new source directory and run make oldconfig >> (already done), and then run make (running while I am typing this), > > Assuming you haven't installed already, the suggested way > of doing this is the following: > as root: > apt-get build-dep linux-2.6 > exit root shell > That will install any packages needed to compile the kernel > assuming you have appropriate deb-src lines in sources.list > > Grab kernel, unpack and setup the .config file as you've > done > then: > make-kpkg --revision=1:custom.1 --rootcmd fakeroot \ > --us --uc --initrd kernel-image > > That should generate a linux-image-xxx.deb which you can > just install with dpkg -i and should take care of the > initrd image. > > As an alternative, someone else suggested going without an > initrd which you can certainly do and avoid the deb stuff. > If you do that however, you need to go through the configs > and make sure your root FS and support drivers are compiled > directly into the kernel and not as modules as they are by > default under Debian. For example, ext3, ide core support. > Basically any module which is needed to mount the root FS. > > S > > -- > http://www.cm.nu/~shane/ > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > >