Re: Stock vs. Debian kernel sources

From: Michael Rozhavsky (mike_at_minantech.com)
Date: 10/31/05

  • Next message: Hari Bhaskaran: "s/w raid and bios renumbering HDs"
    Date: Sun, 30 Oct 2005 23:22:13 -0800
    To: John O'Hagan <johnohagan@iprimus.com.au>
    
    

    Hi John,

    You need to do is remove the initrd line from the boot loaded
    configuration file.

    If you are using lilo, the line looks like initrd=/initrd.img

    John O'Hagan wrote:
    > On Mon, 31 Oct 2005 02:53 am, you wrote:
    >
    >>John O'Hagan wrote:
    >>
    >>>Hi all,
    >>>
    >>>I'm looking for a brief summary of the differences between Debian kernel
    >>>sources (such as those provided by the linux-source-2.6* packages), and
    >>>the stock source from kernel.org.
    >
    > [...]
    >
    >>>What do I need to be aware of if I use stock sources?
    >
    > [...]
    >
    >
    >>Here are two pointers for kernel building newbies:
    >>
    >>1. Be sure that the code for your IDE chipset (if you're using IDE) is
    >>built in to the kernel, rather than being built as a module.
    >>2. Be sure that the code for your / (root) filesystem (ext3, reiserfs,
    >>etc.) is built into the kernel, rather than being built as a module.
    >>
    >>Doing these things will allow you to skip using an initial ram disk
    >>(initrd).
    >>These are the two most common issues that foiled my first kernel
    >>building attempts. :)
    >
    >
    > Thanks Mitch for your tips; I have built a few kernels before, and have them
    > set up as you suggest; however, they still seem to use an initrd by default.
    > How does one prevent this? (I have read man kernel-pkg.conf, but didn't quite
    > follow it!)
    >
    > Thanks,
    >
    > John
    >
    >

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Hari Bhaskaran: "s/w raid and bios renumbering HDs"

    Relevant Pages

    • Re: Installing a new Linux build on a Debian distro
      ... why do you recommend initrd? ... When I first started compiling kernels, I built one using the Debian ... config as a starting point, compiled, rebooted, and got a kernel ...
      (Debian-User)
    • Re: Stock vs. Debian kernel sources
      ... > John O'Hagan wrote: ... >>I'm looking for a brief summary of the differences between Debian kernel ... > Here are two pointers for kernel building newbies: ... > built in to the kernel, rather than being built as a module. ...
      (Debian-User)
    • Re: Installing a new Linux build on a Debian distro
      ... why do you recommend initrd? ... When I first started compiling kernels, I built one using the Debian ... config as a starting point, compiled, rebooted, and got a kernel ...
      (Debian-User)
    • Re: Root partition on ext3 totally damaged (total frustration)
      ... >to the way the kernel had been built: ext2 support was built into the ... >kernel, and ext3 loaded later as a module from initrd. ... But initrd itself is what the kernel initially mounts as /. ...
      (comp.os.linux.misc)
    • Re: Kernel rebuild problems
      ... > built into the kernel. ... and that either because the initrd directive is missing from the GRUB ... the EXT3 module is not being loaded out of the initial ram disk image. ...
      (Debian-User)