----- Original Message ----- 
From: "Wes Gray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 10:19 PM
Subject: Re: [gentoo-user] Kernel Upgrade


> On Wed, Dec 10, 2003 at 11:31:02PM -0800, Joshua Banks wrote:
> > I found the following on Gentoo web forum and just wanted someone to
> > take a look at this and tell me if this is outdated or still in its
> > correctedness. It also looks as though its missing some steps
> > concerning "System.map". Can someone please confirm the following
> > steps. And whether or not after step 11 I should "cp System.map" to
> > "/boot"

Yes you should copy System.map to /boot if you want to do kernel debugging,
if you don't want to do any kernel debugging System.map is useless for you
and you don't have to copy it there.


>
> Not sure about that, I do my kernel by hand and I don't copy System.map.
> Might have to do with using initrd.
>
> > I also don't have anything referencing "bizImage" linux directory tree.
> > Maybe its because I used Genkernel last time?
>
> bzImage is a file name for the kernel file, it's not a directory.
>
> [snip]
> >
> > [1] cp /usr/src/linux/.config /usr/src/linux-2.x.xx-yyyyyy/.config
> > [2] cd /usr/src
> > [3] rm linux
> > [4] ln -s linux-2.x.xx-yyyyyy linux
> > [5] cd /usr/src/linux
> > [6] make oldconfig
> > [7] make menuconfig or make xconfig
> > [8] make dep clean bzImage modules modules_install
> > **My Comments** shouldn't this be "make dep && make clean bizImage
> > modules modules_install" ??
>
> I usually use "make dep && make ..." but the other command probably
> works fine too.
>
> > And don't I wan't to "cd" to the new 2.4.20-gentoo-r8 kernel tree
> > before issuing this step 8 command?
>
> The ln -s command is making "linux" a link to "linux-2.x.xx-yyyyyy",
> so you already did cd there when you did the "cd /usr/src/linux"
>
> > [9] mount /boot (where /boot is an entry in your /etc/fstab, which
> > should [normally not be mounted during normal use)
> > [10] mv /boot/bzImage /boot/bzImage.old
> > [11] cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
> > [12] edit /boot/grub/menu.lst and add an entry for your new kernel and
> > replace the reference to bzImage in your previous kernel entry to point
> > to the deprecated kernel file (bzImage.old)
> > [13] if you are using nvidia- emerge nivdia-kernel
> > [14] if you are using alsa - emerge alsa-driver
> > [15] edit /etc/modules.autoload to reflect any changes in modules to be
> >          auto loaded
> > [16] unmount /boot (ie. umount /boot)
> > [17] shutdown -hr now
> > and voila you new kernel entry should appear in the grub menu waiting
> > to be tried....
>
> These instructions are almost exactly what I do and it works fine.  I
> would point out that if you previously have run genkernel in a kernel
> src tree, then you should remove the tree and reemerge it before trying
> to use it for a manual build.
>
> hth
>
> --
> [EMAIL PROTECTED] mailing list
>
>
>


--
[EMAIL PROTECTED] mailing list

Reply via email to