On Friday 24 November 2000 02:07, Ron Stodden wrote:
> Peter,
>
> Is updating a kernel as simple as installing its RPM, replacing
> /boot/vmlinuz, then editing /etc/lilo.conf? Does this set up all
> the kernel modules correctly?
Ron,
Installing a kernel RPM will automatically replace /boot/vmlinuz, so you just
have to edit lilo.conf and run lilo.
When I update, I use the kernel source and headers RPMS and rebuild. Before
I do this I rename, for example, /usr/src/linux-2.2.17 to
/usr/src/linux-2.2.17-21mdk, otherwise it'll get overwritten. I have several
kernel versions in /usr/src: 2.2.17-21, -25, -27 etc., so if I get problems
with one I can easily switch.
Procedure as follows:
1. As root, cd to /usr/src/linux-2.2.17-27mdk and run "make xconfig ; make
dep; make bzImage; make modules; make modules_install;"
2. cd to /usr/src/linux-2.2.17-27mdk/arch/i386/boot and copy bzImage to
vmlinuz-2.2.17-27mdk. I then copy this to /boot and to my dos c:\linux
folder (so I can use "C:\Linux\loadlin.exe C:\Linux\vmlinuz-2.2.17-27mdk
root=/dev/hde7 ro" to get to linux from config.sys or Win98 desktop).
3. Copy /usr/src/linux-2.2.17-27mdk/System.map to
/boot/System.map-2.2.17-27mdk.
4. Edit /etc/lilo.conf to add the new kernel (leave the old ones for safety),
run /bin/lilo and reboot.
It's fun and you're in control.
Regards
--
--------------------------------------------------------------------
Peter Ruskin, Wrexham, UK <[EMAIL PROTECTED]>
Preferred desktop environment KDE 1.1.2
Linux 2.2.17-27mdk, Uptime 1 hour 40 minutes