LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-01-2008, 12:53 PM   #1
glc23
LQ Newbie
 
Registered: Apr 2008
Location: Golden, CO
Distribution: RedHat 8 (2.4.18-14)
Posts: 2

Rep: Reputation: 0
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?
 
Old 04-01-2008, 01:06 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by glc23 View Post

Can I boot a cdrom with a small linux and mount hd so can restore libc name?
Yes, this is the easiest way to do it. Most distributions' install CDs contain a rescue system.

-----------------------
Steve Stites
 
Old 04-03-2008, 11:05 AM   #3
glc23
LQ Newbie
 
Registered: Apr 2008
Location: Golden, CO
Distribution: RedHat 8 (2.4.18-14)
Posts: 2

Original Poster
Rep: Reputation: 0
Lightbulb Solution to problem

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.
 
  


Reply

Tags
boot



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-Boot install, Kernel panic, Lilo problem ghostrider.002 Slackware 7 05-29-2007 01:01 AM
kernel panic boot problem tshontikidis Linux - General 6 09-05-2005 03:56 PM
kernel panic: can't find init novacrasher Linux - Hardware 2 12-20-2004 12:27 PM
kernel panic (trying to kill init), libc.so.6 Rocker Linux - Software 0 09-29-2004 11:34 AM
newbie boot problem- kernel panic nekid Linux - General 4 05-04-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration