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