LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-10-2008, 03:04 AM   #1
gelex
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
Unhappy Reinstalling Fedora 9


Hi everyone, I've got a big problem: I've erased by mistake an important library (gclib or something like that) and this library was at the base of couple of programs: the result is that the OS now doesn't boot. My question is: is it possible to reinstall the OS without modifying the current settings and archive files? I ask this because there is a similar "trick" in Windows, in which, thanks to the setup CD, you can reinstall the OS overwriting just the files of the OS, without touching the others.

Thanks a lot for your answers, I'm going crazy!!! (and sorry if the forum isn't the right one)

Last edited by gelex; 11-10-2008 at 03:13 AM.
 
Old 11-10-2008, 04:48 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 492

Rep: Reputation: 50
Quote:
I've erased by mistake an important library (gclib or something like that)
How is it possible? I'm not here to blame you, we learn from our mistakes, so learn that under GNU/linux, you've got a packages manager that handles softwares and libraries updates, installing and removing... The one for fedora is yum, and a GUI for it is yumex. By using yum, you won't removing a base library by mistakes, updates for every packages on your system will be automatically updated, it will deal with dependencies when installing new softwares...
By the way, I'm not sure but I think that your fedora media surely have live-CD mode, or better a recovery mode, thus you'll be able boot a system.
The idea is:
-mount your hard drive which contents "/lib" (assuming you've removed the libc)
-copy by hand the libc used by the live-CD into mounted "/lib"
-reboot on your system, hope that works
-take a look to yum to re-install properly libc with yum.
If the fedora media have a recovery-mode, maybe this kind of problem can be handle automatically...
Good luck.
 
Old 11-10-2008, 05:09 AM   #3
salter
Member
 
Registered: Oct 2008
Posts: 100

Rep: Reputation: 15
You should use a Live-CD or Live-DVD to launch a Linux system on your PC. Then you have to chroot into your harddisk-based system and re-install glibc. Use the force option to install glibc, if you are using RPM or something based on that, that way existing files from the glibc package will be overwritten - otherwise you will get a message that glibc package is already installed.

Doing it this way you can keep all your settings and data files intact.

Last edited by Tinkster; 10-30-2010 at 05:16 PM.
 
Old 11-10-2008, 07:23 AM   #4
gelex
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you both, I've tried the solution of jf.argentino, but now, at the boot, the message is : kernell panic - not syncing: Attempted to kill init!
What's the next step?
 
  


Reply

Tags
fedora 9, reinstalling


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
Problem in reinstalling fedora 9 shraddha6282 Fedora 4 10-06-2008 02:48 PM
reinstalling grub in fedora 8 vatzcar Fedora 5 02-18-2008 05:01 PM
GRUB problem/reinstalling Fedora bsdpowa Fedora 6 07-28-2005 09:25 AM
reinstalling fedora MasterCephus Linux - Newbie 1 06-27-2005 12:52 PM
Reinstalling on Fedora Core Brother Michael Fedora 1 01-17-2004 10:17 AM


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

Main Menu
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