On Tue, 2003-12-09 at 07:48, John Richard Smith wrote:
If you're on desktop and accidentally deleted your kernel from /boot directory is there any way to put one back other than reinstall everything from the beginning.
Can you rebuild a replacement while on desktop ? Can I run CD1 install disc and get it to rebuild and install a new kernel only ? That is without installing or altering anything else, the "upgrade route" ? In any case it won't have nvida driver will it ?
I think I still have a boot floppy, but never tried it, sometimes they don't work.
John
Actually , I had better make it clear that I accidentally deleted vmlinuz-2.4.21-0.13mdk from /boot directory and need to replace it, and not initrd-2.4.21-0.13mdk.img
can that be done from desktop ?
John
later ===
mkinitrd will not work, and in anycase I didn't delete the initrd file,
mkrescue will not work because there is no Kernel file:
" /boot/vmlinuz-2.4.21-0.13mdk does not exist"
so are there any options left ?
John
Just a wild guess.
Try upgrading to kernel 2.4.21-0.25mdk. At least you will have a kernel
to boot to.
I Hadn't thought of that, a bit obvious really. So I decided, what have I got to loose. but instead, I decided to try installing the original kernel-2.4.21-0.13mdk off the discs. sure enough it installed something. ls - /boot
vmlinuz-2.4.21-0.13mdk
there it is, back again, but will it work , I don't know, I mean originally on first install it had to do a complicated device scan and choose options to build into the kernel so that what you are left with is a synthesis of the original kernel built to your hardware needs, so how does it know how to do this again, without going through all the same old device scan proceedure ? Or perhaps it does,unseen behind the install script ?
At the moment I'm of the mind set that I only get the one chance to reboot,
the old kernel is in memory now, but if things are not right no chance to replace.
Any one know if it will work ?
John
--
John Richard Smith
[EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
