Bug 5808
Summary: | Updateing the kernel with rpm broke my system - reinstall | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | margarita |
Component: | kernel | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.0 | CC: | dautrevaux, margarita |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-02-05 23:46:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
margarita
1999-10-10 17:29:17 UTC
Assigned to dledford Did you re-run lilo? If you do an rpm -U upgrade, you'll need to edit your /etc/lilo.conf to point it at the new kernel, and re-run lilo. I don't know if it's related, but I upgraded my stock 6.1 release with the 2.2.14-8smp kernel as provided by Ed Schlunder on http://www.ajusd.org/~edward/silkhat-6.1/i386/kernel-smp-2.2.14-8.i686.rpm by using GNORPM in update mode, what seems the natural way to do :-). I then look at my /etc/lilo.conf and change to redirect to the new kernel and ramdisk image, then ran lilo and badam! it says that I was missing an ram-disk image for this kernel version ;-( So I look at the docs and see that I have to type the following magic incantation: mkinitrd /boot/initrd-2.2.14-8smp.img 2.2.14-8smp I try it and re-badam! I get the following error (or approximately I've forget to note it but the meaning is clear): Excuse me, I've hit 'ALT-C' I think, by error and submitted an incomplete comment; here is the end: I get the following error: No excuse me I've just tried to start a line by a TAB followed by the letter C! Quite usual when typing an email message but fatal in Bugzilla... Probably a small ergonomy problem ;-P Anyway I promise to be careful now... but back to my problem: I get the following error: Can't acess /dev/loop0: no device driver; maybe "insmod"? I then looked at the needed modules and then BINGO, the rpm -U has already deleted my /lib/modules/2.2.12-32smp directory... so I no more can "insmod loop",, and the one from 2.2.14-8smp obviusly cannot be loaded in my current kernel... Whow, so I had to re-install the stock 6.1 kernel (hopefully I had the CD at hand), manually load the "loop.o" module, then install the new kernel, mkinitrd, lilo, and voila... not very convenient indeed ?-) Isn't it possible that install scripts for the kernel first load all the modules that may be needed for proper configuration of the system, or better do NOT remove old kernels till the system has rebooted successfully with the new one? as all files are tagged with the kernel version number, there is NO problem in having several kernel versions present at the same time (you can even choose the version at boot time) and that would avoid a lot of hassles and provide a backup boot solution if all else fails. Also the call to mkinitrd should be done by the install script and an entry in lilo.conf could be automatically added and lilo automatically re-run; that should be a lot more convenient. |