LinuxQuestions.org
Review your favorite Linux distribution.
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, 01: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, 02:06 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 187Reputation: 187
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, 12:05 PM   #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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:01 AM
kernel panic boot problem tshontikidis Linux - General 6 09-05-2005 04:56 PM
kernel panic: can't find init novacrasher Linux - Hardware 2 12-20-2004 01:27 PM
kernel panic (trying to kill init), libc.so.6 Rocker Linux - Software 0 09-29-2004 12:34 PM
newbie boot problem- kernel panic nekid Linux - General 4 05-04-2004 01:55 PM


All times are GMT -5. The time now is 09:44 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration