Re: Recompiling kernel and grub

From: ne... (akabi_at_speakeasy.net)
Date: 06/03/04

  • Next message: Aaron Hughes: "Re: NVidia official driver on Fedora 2"
    Date: Thu, 3 Jun 2004 16:25:57 -0400 (EDT)
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Jun 3, 2004 at 22:11, Juan L. Pastor in a soothing rage wrote:

    >Hello all,
    >
    >I have recompiled my FC2 kernel (make xconfig, make bzImage, make
    >modules, make modules_install), I copied the bzImage and System.map to
    >the /boot directory and then updated the /etc/grub.conf file with the
    >new entry (first one):
    >
    >default=0
    >timeout=10
    >splashimage=(hd2,0)/grub/splash.xpm.gz
    >title Fedora Core (2.6.5-1.358)
    > root (hd2,0)kernel /bzImage ro root=/dev/hdc2 rhgb quiet
    > kernel /bzImage ro root=/dev/hdc2 rhgb quiet
    > initrd /initrd-2.6.5-1.358.img
    >title Fedora Core (2.6.5-1.358) 02 Jun 06
    > root (hd2,0)
    > kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
    > initrd /initrd-2.6.5-1.358.img
    >title Windows
    > rootnoverify (hd0,0)
    > chainloader +1
    >
    >The second Fedora entry is working OK, but why if I change
    >
    >kernel /bzImage ro root=/dev/hdc2 rhgb quiet
    >
    >from the first entry to:
    >
    >kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
    >
    >FC2 does not want to boot?
    Cause you didn't configure your kernel the way the original
    one was configured. You never created the proper initrd image
    for the kernel you compiled. Instead of copying over the bzImage
    and System.map to the /boot directory, why not do a make install
    instead? This should set things up nicely for you including the
    changes to /boot/grub/grub.conf.

    N.Emile...

    -- 
    Registered Linux User # 125653 (http://counter.li.org)
    Switch to: http://www.speakeasy.net/refer/190653
    You know you've been spending too much time on the computer when your
    friend misdates a check, and you suggest adding a "++" to fix it.
     16:22:30  up 20:18,  3 users,  load average: 0.00, 0.00, 0.00
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Aaron Hughes: "Re: NVidia official driver on Fedora 2"

    Relevant Pages

    • Re: Newbie. Java Path in Fedora not found
      ... > I am running Oxygen XML successfully under Fedora 4 ... > kernel 2.6.12 ... > java.sh entry so I do not need to run the export ... > command every time I want to run Oxygen? ...
      (Fedora)
    • New kernel...now how do I get grub.conf to refer to it?
      ... bzImage to the /boot directory. ... Do I make a new entry (or comment out the existing one? ... also use the same root argument value for the kernel command for my new ... the 'info grub' pages, and didn't see anything that could help me. ...
      (Fedora)
    • Newbie. Java Path in Fedora not found
      ... I am running Oxygen XML successfully under Fedora 4 ... kernel 2.6.12 ... java.sh entry so I do not need to run the export ... command every time I want to run Oxygen? ...
      (Fedora)
    • On-disk indexing for "Project Ideas" page
      ... The kernel usually does the lookup by starting at the beginning ... of the directory and going through, comparing each entry in turn. ... name cache described in Section 6.6. ...
      (freebsd-current)
    • [PATCH] ppc32: rename head_e500.S to head_fsl_booke.S
      ... * Kernel execution entry point code. ... Initial PowerPC version. ... -/* Note that the SPE support is closely modeled after the AltiVec ...
      (Linux-Kernel)