On Wednesday 12 October 2005 04:35, Dave Nebinger wrote: > On Tuesday 11 October 2005 10:18 pm, Mark wrote: > > Is there a way I can apply all of the options I set last time I ran make > > menuconfig to the new kernel I just downloaded, or do I have to go > > through all the settings again? > > 1. cd /usr/src > 2. tar xjf /path/to/downloaded/kernel.tar.bz2 > 3. cd linux-new-kernel > 4. make mrproper > 5. cp ../path.to.old.kernel/.config ./.config > 6. make oldconfig > > 7. make && make modules_install && cp .config /boot/config-new-version && > cp System.map /boot/System.map-new-version && cp > arch/i386/boot/bzImage /boot/vmlinuz-new-version && /bin/rm -f > /usr/src/linux && ln -s /usr/src/linux-new-kernel /usr/src/linux && vi > /boot/grub/menu.lst >
or even better: make all modules install install which will cp bzImage to /boot/bmlinuz-yourversion, makes an symlink from vmlinuz to vmlinuz-yourversion and a vmlinuz.old symlink to your previous used kernel. So all you need to have in grub.conf is a vmlinuz and a vmlinuz.old entry to choose between your latest and the previous kernel. Hand copiing and editing grub.conf/menu.lst is just not needed. -- gentoo-user@gentoo.org mailing list