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. namad crash, but not sure :-)
    By GNEEOT in forum Ubuntu / Debian
    Replies: 4
    Last Post: 01-27-2007, 05:31 PM
  2. getgrnam failed for$Enabling swap space
    By infinite_root in forum Linux - General Topics
    Replies: 8
    Last Post: 11-15-2003, 07:07 AM
  3. Redhat 9 reboots by it self
    By in forum Linux - General Topics
    Replies: 22
    Last Post: 10-14-2003, 02:54 PM
  4. Sony Microvault, and Red Hat 9
    By vwgtiturbo in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 08-29-2003, 11:13 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
  •