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.
Have a 4k screen so the current Max resolution supported by the nouveau drivers is killing my eyes.
First order of business is to get the GTX 980 up & running.
Attempt to do it manually by downloading driver from Nvidia website.
Blacklist the nouveau drivers. Run the Drivers.run. Installation begins... Lots of errors about headers not matching. Get locked out without GPU.
***Reinstall Fedora***
This time attempt to try via rpm.
Unable to find akmod or kmod rpms that support the card.
(try anyway & fail)
Stuck on boot screen. Ctrl+shift+F4 to terminal. Remove installed packages. Reboot - get further but still stuck on boot screen. Reboot with troubleshooting - I'm back in.
Trying the manual install method again...
------------------------------------------
Following this guide ----> Guide
Everything is going smooth so far until 2.6.3 Update grub2 conf
I'm apprehensive to continue when the terminal is already giving me errors. I don't want to wing it like last time and have to reinstall Fedora again (I don't mind a reinstall if I'm learning).
What is your system's make and model (and model number) and how are you booting Fedora? I'm curious to know what your "sdd" drive actually is, since I've not seen these initials before. If this is an internal drive, please post the results of...
Code:
su smartctl -a /dev/sdd
If that doesn't work, try this command...
Code:
su martctl -i
Note: if you get a error message that says "command not found," you may need to install the "smartmontools" package.
Disclaimer: Be careful with commands that are prefaced with "su" or "sudo." They will essentially allow root access to your system. Mistakes could possibly damage or even destroy your OS.
Also, a possible solution to this issue may be found in post #22 here, if your BIOS has this setting.
Regards...
Last edited by ardvark71; 11-26-2016 at 11:11 PM.
Reason: Added information.
Thank you very much for your warm welcome and reply.
I'll post the results of the commands you taught me as soon as I return to my machine (~2hrs).
I made a bootable USB from a live image of Fedora 24.
- machine consists of 3 internal drives
1) Windows 10 (256Gb SSD)
2) Fedora 24 (512Gb SSD)
3) Plain storage ( 2Tb HDD)
Disk 2 was cleaned in windows Disk Part.
Booted Fedora from USB and installed on Disk 2.
On Reboots, I always enter the boot menu and choose the drive I want to boot from (Win or Fedora).
Seems as though my latest reply has yet to be approved by an admin though I have an important update.
Your suggestion to run that command to identify dev/sdd worked out.
I removed the removable drive and reran the commands from the guide I was following and everything worked out great....until...
I ran into the exact same problem that I originally ran into when I first attempted this.
The error messages read:
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 375.20 -k 4.5.5-300.fc24.x86_64`: Error! echo
Your kernel headers for kernel 4.5.5-300.fc24.x86_64 cannot be found at
/lib/modules/4.5.5-300.fc24.x86_64/build or /lib/modules/4.5.5-300.fc24.x86_64/source.
ERROR: Failed to install kernel module through DKMS. No kernel module was installed: please try installing again without DKMS, or check the DKMS logs for more information.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details/
I also tried walking back some of the steps in the guide (i.e. installing packages I had removed & removing changes I made to various files), although I can still only boot the terminal
I understand it appears I don't have the kernel I need, so I will begin researching how to get it.
First & foremost thank you ardvark71 for your kind help!
(without your suggestion, I would undoubtedly have wiped my drive and restarted to no avail!)
As I am typing, my eyes are very grateful for the resolution (pun absolutely intended )
I was about to wipe my drive and start over, though before doing so, I figured I have a working terminal and it can't get worse from here, so why not start experimenting.
I did a dnf search for kernel headers (Bad Idea - probably over 1,000 hits and without a working mouse to scroll)
I searched the repos for nvidia and installed akmod-nvidia.x86_64
No good, as I ran into errors - so I removed it.
Afterwards I tried installing kmod-nvidia-4.5.5-300.fc24.x86_64
So far, so good - no errors.
Next I tried installing the driver I downloaded from Nvidia's website, namely NVIDIA-Linux-x86_64-375.20.run
IT ACTUALLY WORKED THIS TIME. (Ok, for all you vets out there, this may be very obvious, but it felt like hitting the ball after striking out for days)
I walked back all of my previous walk backs (i.e. re-editing files and reinstalling packages)
Reboot.
Showed 1 failure in the boot menu, but loaded the Fedora login menu for the first time in the proper resolution!
Everything seems to be working!
I hope this explanation will help some other newbies like me out there.
Code:
[root@localhost user]# nvidia-installer -v |grep version
nvidia-installer: version 375.20 (buildmeister@swio-display-x86-rhel47-06)
[root@localhost user]# uname -a
Linux localhost.localdomain 4.8.8-200.fc24.x86_64 #1 SMP Tue Nov 15 19:41:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost user]# lspci |grep -i VGA
02:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 980] (rev a1)
Is there a debug mode or a way of booting that will initiate each process on a keystroke?
The system boots so fast I can't read the error.
When Fedora boots, there are lots of green [OK]'s being returned.
At the very top of the screen, I see red letters flash and what looks like the word Failed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.