Ok. So now I'm aware of the root exploit and some of the bugs associated with -r9. Can I get a confident confirmation from someone that the following (How-To) -- Upgrade your Kernel -- listed below, is correct in its entirety??
Thanks, Joshua Banks --- Joshua Banks <[EMAIL PROTECTED]> wrote: > Hello, > > Last time I tried to upgrade my kernel I botched it somehow. I would > like to upgrade from 2.4.20-gentoo-r7 to r8 and move my r7 .config > settings into the new r8 kernel. I used Genkernel to compile last > time > and this time I would like to manually do this for the learning > experience. > > I found the following on the 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" > > I also don't have anything referencing "bizImage" linux directory > tree. > Maybe its because I used Genkernel last time? > > I'm running a PIII 667EB coppermine processor. > > ********************************* > If you wish to maintain as much of your old kernel configuration as > possible when installing your new kernel, copy /usr/src/linux/.config > to your new kernel tree (1), then switch to the base source directory > (2) then delete the symlink pointing to linux (3) and re-link linux > to > your new kernel tree (4), now enter your new linux directory (5) and > run make oldconfig (6) - this attempts to preserve existing kernel > configurations - you will be prompted to make choices regarding new > kernel options (and if you don't know whether or not to enable some > option, simply pressing <return> usually selects "No". Once you have > completed this step, then you should run make menuconfig (or make > xconfig) (7) and then carefully look over the sections involved in > selecting file systems, printer setup, usb setup and possible scsi > emulation-the time spent here can save much time and many needed > re-compiles later. After you have finished configuring the kernel, > you > must compile and install your new kernel. (8-17) (in step format:) > > [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" ?? > And don't I wan't to "cd" to the new 2.4.20-gentoo-r8 kernel tree > before issuing this step 8 command? > > [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.... > > Thanks, > Joshua Banks __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- [EMAIL PROTECTED] mailing list
