»-----Original Message----- »From: linuxers-bounces@mm.ilug-bom.org.in On Behalf Of Goldwyn »Rodrigues »Subject: [ILUG-BOM] Corrupted kernel »Someone corrupted my libc.so file and linux now refuses to boot, »giving a kernel panic. the kernel kills the init process!!! » »Now I wish to reinstall glibc. The problem is I have no CD drive »attached to the machine. I have a floppy drive though. And the »"pseudo-corrupted" kernel is the only kernel on the machine. the »machine is attached to a network. » »Is there anyway I can boot into the machine in rescue mode using »floppies? The boot images in the CD are installation ones. and »other boot images of other machines won't work because it again »runs init which contacts libc.so file.
You have following options, afik 1. attach the hdd to a linux machine, mount the filesystem somewhere and copy the libc.so file from that machine.
this should work if the files are identical
2. attach an cd-rom temporarily and use the installation cd-rom
3. i think u can create a minimal linux disk with the file libc.so on it then u can boot with this and perform operation similar to suggestion 1 but here i dont know size of liso.c and process to create the disk also :0)
4. (this is looong method in case u dont wish to open the cabinet but are ready to fiddle around) setup linux diskless client server on another machine and boot a client on your machine. once the client booted using remote server, u can mount local hdd and transfer the file from the remote server
:-) HTH n HTW(orks)
Thanks and Regards, Kiran Ghag Web Page: http://kiran7.freeservers.com _________________________________________________ Computers are like air conditioners. They work fine until you start opening windows.