On Sat, 18 Dec 1999,  ��־ wrote about,  new kernel problem:
> Hi,
> I just update the kernel from 2.2.5-15(RH6.0) to 2.2.13:
> make dep;make clean;make bzImage;make modules;
> cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz;
> make modules_install
> vi lilo.conf
> lilo;
> but when i reboot the machine, i get the error:
> can't open the modules /lib/modules/2.2.5-15/modules.rej
> How to open the modules in /lib/modules/2.2.13 ?
> Someone can help me?
> Thanx

You seem to have made more than one mistake here.

1) no mention of make config
2) Never copy a new vmlinuz as vmlinuz to /boot you destroy the origanal.
3) You did not read the documentation properly.

Now in this case things might not be as bad as they seem, the machine boots
your lucky.

Now do the following.

rm /boot/System.map
rm /boot/vmlinuz
That deletes the symlinks in /boot not the actual file, i presume you still
have symlinks there if none are presant skip the above rm commands.

cd /usr/src/linux
edit Makefile and add -1 to EXTRAVERSION as follows.

EXTRAVERSION = -1

make config   if you have done this step on the last compile then do;
make oldconfig
make dep clean bzImage
make modules modules_install
cp arch/i386/boot/vmlinuz /boot/vmlinux-2.2.13-1
cp System.map /boot/System.map-2.2.13-1
edit /etc/lilo.conf  add;

image=/boot/vmlinuz-2.2.13-1
        label=2.2.13-1
        read-only
        root=/dev/hdax 

Of course set /dev/hdax to your partition.

Then run lilo with.
/sbin/lilo should return the following.

Added vmlinuz *
Added 2.2.13-1 

lilo -v will give more output.

Reboot, problem over.


More problems, then;

For more information check out the archives at;
http://www.geocrawler.com/lists/3/Linux/47/0
Use the search engine there to find a "Keyword"
Configuration information at;
http://www.linuxtopia.com

> Jiangzhi
> 
>             [EMAIL PROTECTED]
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
Merry Xmas.

Reply via email to