Re: 2.6.1 kernel compile and installation with GRUB

From: Linux4life (Linux4life_at_seznam.cz)
Date: 02/04/04

  • Next message: Mike Westkamper: "RE: Anaconda crashes"
    To: fedora-list@redhat.com
    Date: Wed, 04 Feb 2004 19:38:26 +0100
    
    

    cdrobsonjr@netscape.net wrote:
    > Dear Linux friends,
    >
    > I am a noob and a boob when it comes to kernel compilation.
    >
    > I downloaded the source from kernel.org and unpacked it in my home
    > directory. I ran make mrproper (didn't need to?), make xconfig,
    > make dep, make clean, and make bzImage. Then I ran make modules and
    > make modules_install.
    > Now I'm to the point of trying to put the results where they need to be
    > and modify GRUB to be able to boot into this new kernel.
    > But...all the instructions I have found so far (especially the ones
    > that came with the kernel source) only document what to change if
    > you are using lilo or loadlin. I'm a Fedora guy with GRUB.
    >
    > Few other questions: I looked for a file called bzImage in my /boot
    > directory and can't find it. I found vmlinux instead. Am I supposed
    > to rename bzImage to something like vmlinux-2.6.1 and put it in the
    > /boot directory? And then change the symlink vmlinux to it?
    >
    > Also, there were a couple of other files in /boot for which I cannot find
    > equivalents in my new compiled kernel source tree. The are equivalents for
    > initrd-2.4.22-1.2149.nptl and vmlinuz-2.4.22-1.2149.nptl.
    > And why is there a symlink of vmlinux-2.4.22-1.2149.nptl pointing to
    > /lib/modules/2.4.22-1.2149.nptl/vmlinux ? What is that file?
    > I looked in my present grub.conf and found that it uses two things:
    > a vmlinuz and an initrd file names. I can't find anything in what
    > I compiled that would obviously get put in /boot for GRUB to use.
    > Confusion!
    >
    > Too many questions - all showing I don't know what I'm doing.
    > I know - dangerous. But, this system is for me to learn on.
    > So far I have not been able to find help on the web. To make matters
    > worse for me, the kernel HOWTO has been removed ! Hopefully they will
    > update it to include directions for using GRUB.
    > Anybody have time to walk me through what all else I need to do to
    > get this kernel useable?
    >
    >
    >
    > __________________________________________________________________
    > New! Unlimited Netscape Internet Service.
    > Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
    > Act now to get a personalized email address!
    >
    > Netscape. Just the Net You Need.
    >
    >

    Run the following commands:

    make xconfig
    make bzImage
    make modules
    make modules_install
    make install

    it will even add a new entry in your grub.conf file.
    Sincerely,
    Ivo

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Mike Westkamper: "RE: Anaconda crashes"

    Relevant Pages

    • Re: 2.6.8.1-mm3
      ... > Kernel hacking is not an end in itself, ... > of compilation of any software as a benchmark are showstopping issues. ... benchmarks have to be useful to evaluate different ... Bundle a toolchain and all supporting userspace required for it ...
      (Linux-Kernel)
    • Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3
      ... The third time I didn't touch emacs so the kernel ... # PCI Ethernet NICs that use the common MII bus controller code. ... # ISA Ethernet NICs. ... The result was that after succesful compilation I got ...
      (freebsd-performance)
    • Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3
      ... The third time I didn't touch emacs so the kernel ... # PCI Ethernet NICs that use the common MII bus controller code. ... # ISA Ethernet NICs. ... The result was that after succesful compilation I got ...
      (freebsd-questions)
    • Re: kernel compilation fears
      ... old kernel (the binary image, often found under /boot/ or /, ... You should tell lilo or grub where to find both your old and your new ... more compilation time, but it won't degrade system performance. ...
      (comp.os.linux.misc)
    • kernel BUG at page_alloc.c:98 -- compiling with distcc
      ... time (seconds after compilation start). ... The kernel panic happens *only* ... VIA Technologies, ... Inc. IEEE 1394 Host Controller ...
      (Linux-Kernel)