Boot problem:: Kernel Panic because can't find libc.so.6 link
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Boot problem:: Kernel Panic because can't find libc.so.6 link
Dell Precision 340 with redhat 2.4.18-14, no other OS: I was trying to update libc to new version and to keep the old version available I renamed the old version...this of course resulted in the libc.so.6 link to point to nothing (I promise I will not do this again!!). SO when the system boots the kernel can't find libc and aborts. I tried Grub but am not familar with it. Also tried boot floppy but it just went down same path to Kernal Panic. Is there a way to boot with GRUB or boot floopy such that I can restore mangled libc filename? Can I boot a cdrom with a small linux and mount hd so can restore libc name?
Good advice. I have a Dell computer, when BIOS boots there are two function keys, Setup & Boot Menu. I pressed Boot Menu function key and could boot from floppy, cdrom, or hd. I used the RedHat installation cd #1 and booted to cdrom. The installation page had a list of function keys at bottom of page, one of which was Rescue. I pressed Rescue and got a mini-linux loaded into memory and to top it off I was prompted with an option to mount the system hd partition to /mnt/sysimage ( NICE ). Then I had access to my corrupted system directory and text command capability to fix the problem.
If you read this story, a word to the wise...do NOT use the bad habit of renameing files to preserve them for a change or upgrade. The system directory now-a-days uses a lot of links which can make for some confussion and the rename approach dangerous. Backup those files to a temp directory or cdrom.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.