Thanks John, What is the purpose of the --initrd option? I know it creates a ramdisk but what is put in there and why should it be needed? I thought the kernel would have the necessary drivers compiled in to access everything needed to continue. I noticed this ramdisk in the stock 2.4.27 kernel but still don't know its purpose.
-- Tony Terlecki [EMAIL PROTECTED] On Wed, Jun 29, 2005 at 02:10:53PM -0500, John Miller wrote: > It pretty much is that simple, though if you're compiling from source, > you do have to configure the kernel before running make-kpkg. Here's > the steps I usually take: > > 1) Install kernel-source package of my choosing. This puts a tarball of > the source tree in /usr/src. > 2) Untar source tree with tar xfvj <kernel-source-2.6.x.tar.bz2> > 3) cd to newly-created kernel-source-2.6.x directory and configure > kernel with 'make menuconfig'. You can also use 'make config' or 'make > xconfig' if you prefer, though 'make config' takes forever. > 4) Do 'make-kpkg kernel-image' or 'make-kpkg --initrd kernel-image,' as > I usually need an initial RAM disk on startup. > 5) cd back to /usr/src and install the newly created .deb package (which > will update grub/lilo and create appropriate files in /boot). > > So yes, it really is that simple! And you'll still have your 2.4.27 > kernel around if you accidentally mess something up. If you're looking > for an even easier way to a 2.6 kernel, Debian already has precompiled > 'kernel-image' packages. Just install and go. > > John Miller > [EMAIL PROTECTED] > > Tony Terlecki wrote: > > >I've recently installed a new machine using the 'testing' branch and it > >came with a stock 2.4.27 kernel. I'd like to move to a custom 2.6 kernel > >but I'm not not sure of the procedure. > > > >Is it as simple as installing kernel-package, a 2.6 kernel source > >package, running make-kpkg against it then installing the .deb? > >Or am I living in a dream world?! > > > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Tony Terlecki [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

