Results 1 to 4 of 4

Thread: Kernel Compiling Errors

  1. #1
    Member
    Join Date
    Dec 2004
    Location
    Missing Mile
    Posts
    122

    Kernel Compiling Errors

    Im running Debian Sid 3.1, and am trying to build a custom kernel with 2.6.10. Anyhow my issue is configuring it at the end. meaning it only creates a vmlinuz-2.6.10, and not initrd.img The kernel configuration is one ive used many times before so i know it works. Im just not sure about how to go about the initrd. Im going to be producing two kernels a light performance one and a full featured one, for office. These are the commands i use for making a kernel.
    make menuconfig/make xconfig
    make
    make modules_install
    make install

    this is what i get for make install
    [[[[[[[ CHK include/linux/version.h
    make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
    CHK include/linux/compile.h
    CHK usr/initramfs_list
    Kernel: arch/i386/boot/bzImage is ready
    sh /usr/src/linux-2.6.10/arch/i386/boot/install.sh 2.6.10 arch/i386/boot/bzImage System.map ""
    In order to use the new kernel image you have just installed, you
    will need to reboot the machine. First, however, you will need to
    either make a bootable floppy diskette, re-run LILO, or have GRUB
    installed.

    Checking for ELILO...No

    GRUB is installed. To automatically switch to new kernels, point your
    default entry in menu.lst to /boot/arch/i386/boot/bzImage-2.6.10}]]]]]]]]]]

    So did i goof this time around or do i need to configure grub some special way.
    ops:

    Thanks in Advance for the response

  2. #2

    Re: Kernel Compiling Errors

    You could always skip the make install part and just cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.10 && cp System.map /boot/System.map yourself, and edit grub.conf.

  3. #3
    Member
    Join Date
    Dec 2004
    Location
    Missing Mile
    Posts
    122

    Re: Kernel Compiling Errors

    ive never messed with grub before how would i edit exactly like example of the lines needed to be inserted

  4. #4
    Just copy the old entry and change the bootimage. And label.

    Like so:

    title Whatevertexthere
    root (hd0,1)
    kernel /vmlinuz-2.6.10 ro root=/dev/hdaX
    initrd /initrd-2.4.7-10.img

    /dev/hdaX needs to be changed to your root. (note: not /root)

Similar Threads

  1. errors while compiling device drivers
    By yeah in forum Redhat / Fedora
    Replies: 1
    Last Post: 09-08-2007, 08:52 AM
  2. compiling fluxbox thru cvs, got errors
    By S_D_Willie in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 07-07-2002, 07:26 AM
  3. Errors compiling Gaim
    By gmoreno in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 03-22-2002, 02:17 PM
  4. Compiling MPlayer gives errors
    By in forum Linux - Software, Applications & Programming
    Replies: 18
    Last Post: 01-16-2002, 06:19 PM
  5. kernel compile errors on slack
    By ericn in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 12-28-2001, 08:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •