[99869] in RedHat Linux List
RE: Crazy RPM problem
daemon@ATHENA.MIT.EDU (Paul Pettit)
Tue Nov 17 11:42:39 1998
Reply-To: <paulp@ccbnpts.com>
From: "Paul Pettit" <paulp@ccbnpts.com>
To: <redhat-list@redhat.com>
Date: Tue, 17 Nov 1998 10:41:28 -0600
In-Reply-To: <3.0.5.32.19981117105733.01d864d0@MAIL.INAME.COM>
Resent-From: redhat-list@redhat.com
Try rpm -ivh --force kernel-yyyyyyy-x.x.xx-x.i386.rpm
WARNING:
This may fix the problem of you having removed manually the source tree from
a RPM install but not the problem you first encountered.
The steps for compiling a kernel are:
make mrproper
make menuconfig (or config or xconfig)
make dep ; make clean
make zImage (or bzImage on 2.0.34 kernels and later)
make modules
mv /lib/modules/2.0.xx /lib/modules/2.0.xx-old
make modules_install
cd /boot
# if you are going from a older kernel to a newer one
cp /usr/src/linux-2.0.32/arch/i386/boot/zImage vmlinuz-2.0.32-2
^^^^ #point of no return ^^^^
# else
mv vmlinuz-2.0.32-2 vmlinuz-2.0.32-2-old
cp /usr/src/linux-2.0.32/arch/i386/boot/zImage vmlinuz-2.0.32-2
# end
# make sure that the link 'vmlinuz' points to vmlinuz-2.0.32-2 else
rm vmlinuz
ln -s vmlinuz-2.0.32-2 vmlinuz
# end
cd /etc
vi lilo.conf # edit this file adding a new entry for your back up vmlinuz,
# how this rewritten depends on the upgrade
# at prompt
lilo -v
# note any errors and correct BEFORE rebooting
Then you should be able to reboot to the new kernel.
Luck,
Paul Pettit | Opinions and advice expressed are from me
CTO | and are not my employer's.
Consistent Computer Bargains, Inc.
http://www.ccbnpts.com
If you had to identify, in one word, the reason the human race has not
achieved, and never will achieve, its full potential, that word would
be: "meetings." -- Dave Berry
> -----Original Message-----
> From: Dave [mailto:DGMDGM@INAME.COM]
>
> I am trying to recompile my kernel and somewhere along the line I did
> something that caused the make command to start generating "No rules"
> messages. Assuming that I accidently corrupted or deleted something
> (because I am new at this and not really sure what I am doing yet) I
[snip]
> This makes no sense to me. Am I doing something wrong here? If its
> installed I should be able to un-install it and if its not
> installed then I
> should be able to install it. Any suggestions as to how I can
> get this to
> work again? Does anyone know where RPM stores the list of
> what is and is
> not installed? Maybe I can just edit this list directly?
>
> Thank you all for any help you may have to offer.
>
> Dave
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.