LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-22-2009, 07:33 PM   #1
Vask
LQ Newbie
 
Registered: Jul 2009
Posts: 15

Rep: Reputation: 0
Ruined the OS ? Replacing deleted files from cd boot


From the beginning here is the situation: i needed to uninstall some nvidia software that i downloaded using the "add/remove software" tool. I went through and searched nvidia and unchecked everything on the list. Apparently something on that list was pre-installed in the system because after my restart, the os wont load up. After the load bar, it blackscreens and states " JBD: barrier-based sync Failed on dm-0:8 disabling barrier. " Im currently running from the os disk, is there any way to replace the deleted file from here?

im running Fedora 11

Last edited by Vask; 07-22-2009 at 07:49 PM.
 
Old 07-22-2009, 08:00 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,173
Blog Entries: 54

Rep: Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809
This (disregard the distro flavour) says the message is primarily an informational message and does not indicate a problem. Blackscreening may be due to booting into runlevel 5 while the driver wasn't configured: try runlevel 3 or 1 instead? Also please review /var/log/(messages, kernel, boot, dmesg, Xorg.0) for any related (or seemingly unrelated) errors. I don't know what you mean by "unchecked everything on the list" but if the /etc/cron.daily/rpm cronjob hasn't run again you'll find the complete list of packages still in /var/log/rpmpkgs, else grep /var/log/messages for any "uninstall" lines left by the package manager? What made you change your mind? Apparently you came close to making things work...

Last edited by unSpawn; 07-22-2009 at 08:10 PM. Reason: //quoting
 
Old 07-22-2009, 08:27 PM   #3
Vask
LQ Newbie
 
Registered: Jul 2009
Posts: 15

Original Poster
Rep: Reputation: 0
by "unchecked" i mean, uninstalled.
I am unsure how to read the rpmpkgs file,
I cant access Messages but in what i could access...

in xorg 0, i found this:

(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.1.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available.




in xorg 2:
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.1.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

^^ is repeated through the rest of the xorgs.

in boot i found:
Entering non-interactive startup

No akmod packages found, nothing to do.[ OK ]


WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

Enabling ondemand cpu frequency scaling: [ OK ]


ip6tables: Applying firewall rules: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

[ OK ]


and

Starting RPC idmapd: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

[ OK ]
 
Old 07-22-2009, 08:40 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Hi,

Not sure what exactly the nvidia software is, but if you did not intend to remove the nvidia binary video driver, then that is why you are not booting to the desktop (which I assume you want to do?) and so you need to reinstall the nvidia proprietary driver by whatever means Fedora uses (dpkg??)

If you knowingly removed the nvidia driver, then you need to change the 'Driver' line in xorg.conf and set it to another driver (like the nv driver)

Sasha

EDIT: As UnSpawn said, try booting into init 1 or 3 to get a console login, where you can fix the situation.
 
Old 07-22-2009, 08:44 PM   #5
Vask
LQ Newbie
 
Registered: Jul 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Ok cool, thanks for the help. Im pretty knew with linux, only been using it for 2 days now. What would the logistics of doing what you described be?

im in runlevel 3 now, i attempted to install the nvidia driver i downloaded but have yet to install. It gave me the following error halfway through the process:

"no precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface gfor your kernel from the nvidia ftp site?"
"no matching precompiled kernel interface was found on the nvidia ftp site; this means that the installer will need to compile a kernel interface for your kernel"
ERROR: unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and tht they are properly configured; on red hat linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' rpm installed. if you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option"

Last edited by Vask; 07-22-2009 at 09:17 PM.
 
Old 07-22-2009, 09:30 PM   #6
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Am I on the right track? Do you need to reinstall the nvidia driver? Or is it that you need to change the driver line in your xorg.conf??


If it's the latter, then you'll need to use a commandline text editor, such as Vi or Nano or MC, and load up the file /etc/X11/xorg.conf and locate the line that starts with Driver, and change the driver to "nv". Then save the file and restart X (or go to init 5) or reboot.

Note - the names of the editors I gave are only examples; I have no idea what editors are included with Fedora.

And, as for re-installing the driver, if that's what you want to do, I cannot help you because I do not use Fedora, and it is rather different from my Slackware system. I have little to no idea how you install stuff into Fedora; I guess it is with 'dpkg' or some other automated package manager, but someone with Fedora experience will have to help you there..

Meanwhile, just please clarify for us what you need to do.

Welcome to Linux, by the way -- be patient, have fun!

Sasha
 
Old 07-22-2009, 09:37 PM   #7
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Ok, disregard my last post.

To install the driver via its built-in installer as you are doing, you do need to have your kernel sources, headers, etc. installed in the system.

This (I'm guessing here again) would be done via dpkg or whatever the Fedora package manager is, and would be packages like 'kernel-devel', 'kernel-headers-<version>' and maybe others like this.

If you can make sure that you have the necessary stuff on the system, including kernel source, headers, etc., and then let us know how that installer goes.

I am going to step out of this thread, because I think you will get a more concise idea what's going on Fedora-wise, from someone who actually uses it. If I *can* help, I will -- I'll follow your thread, but I'm hoping a Fedora person will appear too

Sasha
 
Old 07-22-2009, 10:08 PM   #8
Vask
LQ Newbie
 
Registered: Jul 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Im not too sure what your asking, i think its missing the driver and some kernel deal but i am unsure how to install a new kernel/the original driver. I only have a nvida driver specific to my gfx card ready to install.

Thank you for the help and the welcome Sasha.

Last edited by Vask; 07-22-2009 at 11:45 PM.
 
Old 07-23-2009, 12:07 AM   #9
Vask
LQ Newbie
 
Registered: Jul 2009
Posts: 15

Original Poster
Rep: Reputation: 0
bump
 
Old 07-23-2009, 01:48 AM   #10
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
This webpage explains how to install the NVidia driver for Fedora 10 & 11. http://www.mjmwired.net/resources/mj...idia_rpmfusion

Look at the section "Installation Using RPMFusion". That should be the easiest method, as it provides a precompiled drivers. The instructions will work in init level 3.
 
  


Reply


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
Deleted files on a SMB-share - Files gone, space still allocated - Fedora 10 Zwentendorf Linux - Server 4 03-01-2009 05:04 AM
"Not replacing deleted config file /etc/apache/modules.conf" WTFN? lumix Linux - Software 1 04-26-2008 09:29 PM
Mepis, copy files to thumb drive, files deleted? vremenno Linux - Newbie 6 09-15-2006 11:21 PM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 04:53 PM
MBR with WinXP and Linux Dual Boot Ruined...! truhuska Linux - Newbie 7 04-29-2004 11:49 PM


All times are GMT -5. The time now is 02:23 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