Problems when updating my kernel !
Hi ! When I installed a new kernel (from MAntel, 2.4.18-135), I got a very nasty problem ! When I did a make modules-install, the new kernel overwrote my old kernel. Now when I am booting from the old (or new) kernel, I got an error : The system locked at the module : hotplug ide-scsi. Very nasty, I am able to boot the safe module but I am wondering how can I get back my old system. The initrd and vmlinuz were overwritten. It is very sad to see that the kernel overwrote something without asking me an authorization. Could you help me please, I have a floppy disk with the old system inside, maybe it is possible to restore the old system whithout reinstalling everything ! Arnaud
On Tuesday 03 September 2002 03:32, arnaud kubacki wrote:
Hi !
When I installed a new kernel (from MAntel, 2.4.18-135), I got a very nasty problem !
When I did a make modules-install, the new kernel overwrote my old kernel. Now when I am booting from the old (or new) kernel, I got an error : The system locked at the module : hotplug ide-scsi.
AFAIK, compiling from source did not delete current modules directory, unless the version of the new and current kernel is the same.
Very nasty, I am able to boot the safe module but I am wondering how can I get back my old system.
What about reinstall the older kernel (which mean back to the older kernel), backup the module (/lib/modules/2.4.16_blah).
The initrd and vmlinuz were overwritten.
Definitely, therefore backup vmlinuz also. For safer: - copy old vmlinuz (and possibly System.map) to say vmlinuz.2.4.16 - keep your older modules dir. - add another entry to Lilo to boot vmlinuz.2.4.16 - next time at booting, you may choose to boot to new kernel or old kernel This won't work however, if your new kernel and current kernel is the same version (as the modules is in the same directory). Regards, Verdi
It is very sad to see that the kernel overwrote something without asking me an authorization.
Could you help me please, I have a floppy disk with the old system inside, maybe it is possible to restore the old system whithout reinstalling everything !
Arnaud
Thank you everyone ! Now the system seems to work again. Now I know that I have to be very carefull when upgrading my kernel (btw it was the same version of kernel, the new is only optimized.) Thank you SuSE mailing list ! Arnaud
arnaud kubacki wrote:
Hi !
When I installed a new kernel (from MAntel, 2.4.18-135), I got a very nasty problem !
There is reason why those updates in private directory, and why there is some reading TBD before fiddling with new kernels isnt it 8) just find your old k_deflt.rpm and kernel_source.rpm on your installation media or load them from suse ftp once again (8.0 is on ftp now, if i am not mistaken) and use rpm -Uhv --force --nodeps *rpm that should restore your old ones. if you like to play with new kernels you shouldnt use overriding - just load sources of kernel,and configure it with some goofy name, then compile and copy bzImage and System.map with appropriate extensions and refer them from your lilo.conf (its all in SuSE books 8)) Cheers, Sergei
participants (3)
-
arnaud kubacki
-
Sergei Rodionov
-
Verdi March