Page 1 of 4 123 ... LastLast
Results 1 to 10 of 39

Thread: Guide:- Install any version of NVIDIA drivers on KALI SANA 2.0 (Solved)

  1. #1
    Junior Member
    Join Date
    Jul 2015
    Posts
    15

    Guide:- Install any version of NVIDIA drivers on KALI SANA 2.0 (Solved)

    This is the guide by which I was able to install NVIDIA drivers on KALI Linux SANA 2.0 after struggling for almost a month and trying almost every available guides online which are only for upto Kali Linux 1.1 and results in unbootable device. The drivers are necessary for 16:9 resolution for me as the nouveau provided resiolution was crap and making me run away from Kali, but I was determined this time and hence was able to install the drivers.
    Have to flash the kali iso atleast 40 times to make it work..
    Am using a USB drive for Kali 2.0 of 32 GB and a guide will folow for "How to make Kali Sana with 4 partitions and a Windows readable FAT32 partion on Windows 7-10 itself without using Linux or Gparted".

    So as I mentioned I have 4 partititons on USB pen drive and please do check what your partitions consist of by fdisk -l.
    Am not using any numbers for steps as to make it a copy-paste guide so please consider every other line not starting from # as a step and a command in terminal.
    This guide is for fresh install as well as a working installation of Kali Sana with persistence.

    Mandatory:
    Kali Linux with persistence if its a USB Drive.

    Steps:-
    # Boot up your PC from USB Drive.
    # In Boot menu of kali choose Kali with persistence or encrypted persistence as your installation is and press Tab on keyboard, give a space and type:-

    nomodeset=0

    # Let the PC boot up
    # Open a terminal and check your NVIDIA chipset:-

    lspci

    # Resulting in VGA compatible controller: NVIDIA Corporation ******** where stars are your model number.
    # Open Iceweasel and Google to Download appropriate Linux drvers for your NVIDIA GPU or from:-
    http://www.nvidia.com/download/index.aspx

    # Copy-paste the driver file to root of your system and remane it as 99999.run or anything, I ain't did that but it helps when you have not to type a very long name in TTY. Got the idea?
    # Now change permission for the file:-

    chmod +x /root/99999.run

    # Open terminal

    apt-get install -y linux-headers-$(uname -r)

    # when everything is installed just do this. If its a new installation it might bring no results and would just say nothing to remove. The peeps who have a working installation and did a apt-get install nvidia-kernel-dkms should do:-

    apt-get remove nvidia-kernel-dkms (optional for peoples who did apt-get install nvidia-kernel-dkms.)

    apt-get remove nvidia-* --purge
    apt-get remove nvidia* --purge

    # Now open TTY by pressing CTRL+ALT+F1
    # Login with root and toor for USB installs or whatever your login and password is.

    service gdm3 stop

    ls /root

    # it will give you the output of contents of /root

    ./99999.run -a

    # The driver installation should start now:-
    # Whatever it asks you just accept or ok or agree to it by choosing with arrows and pressing enter on keyboard.
    # It will ask you for installation or making changes to
    xconfig - accept it.
    # When everthing is done and notification pops up that the installation is done enter ok.
    # The TTY screen will pop up:-

    service gdm3 start

    # And voila you are into your 16:9 resolution display, CONGRATULATIONS..

    # Now pop a terminal and type:-

    nvidia-settings

    # OMG you have a NVIDIA settings panel too.
    #Do Mirror the Screens if you have more than 1.
    #Now we have to remove nouveau drivers or stop nouveau from loading in next boot otherwise it will be a bootloop on next boot:-
    # make a file with name:-

    /etc/modprobe.d/nvidia-installer-disable-nouveau.conf

    # Copy paste these lines in the file:-

    blacklist nouveau
    options nouveau modeset=0
    options nouveau.modeset=0




    # Now just do:-

    apt-get update && apt-get upgrade

    # Hope I covered it thoroughly but as am a Linux noob please use your brains and point out any mistake in the guide prior to or after using it.

    DISCLAIMER:- Am not responsible for any broken pen drives or eathquakes or hurricanes or shattered lives due to the guide.
    # Please bud me to teach me few basics of Kali Linux if you have a bit of spare time.
    !!!!!!!!!!!!!!!!!!!!!!!DONE!!!!!!!!!!!!!!!!ENJOY!! !!!!!!!!!!!!

    If it helps you please rate the thread.
    The people who have a 32 GB or 64 GB pen drives and want to have a windows readable 10, 15, 20 GB space with kali on it must wait a Day as of now I am short on time to write the guide.
    Last edited by sihag; 2015-09-12 at 07:32 AM. Reason: Text Size, Forgot to quiet Nouveau resulting in bootloop on next boot.

  2. #2
    Junior Member
    Join Date
    Nov 2014
    Posts
    15
    Thanks alot for the tut sihag, but i couldn't get it to work, the screen stucks at the black screen with a blinking cursor.
    can access CTRL+ALT+F1 tty.

    Can you help ?
    Kali-Linux 1.1.0a 32Bit (VM)
    kali-linux 2.0-amd64
    Lenovo Y510p
    RAM 8GB
    HDD 1TB
    GRAPHICS 2GB NVIDIA GT755M && 1GB Intel Integrated

  3. #3
    Junior Member
    Join Date
    Jul 2015
    Posts
    15
    Yup Rajnish357 what is the exact problem? Where is exactly I can be of any help. Can you please tell me where the problem actually occurs?

  4. #4
    Junior Member
    Join Date
    Sep 2015
    Posts
    8
    i have the same problem, more and less. I check and this happend because there is something wrong with the xorg.conf, before installing he driver there were no xorg.conf, if you rename it wthis problem will disapeard. But for me this open the door for new problems because i have nvidia optimus a nothing work right.

  5. #5
    Junior Member
    Join Date
    Sep 2015
    Posts
    8
    i have the same problem, more and less. I check and this happend because there is something wrong with the xorg.conf, before installing he driver there were no xorg.conf, if you rename it wthis problem will disapeard. But for me this open the door for new problems because i have nvidia optimus a nothing work right.
    Sihag do you have a computer with nvidia optimus system?

  6. #6
    Junior Member
    Join Date
    Jun 2015
    Posts
    4
    Sihag - you just saved me so much time. Been having some serious issues with getting the latest NVIDIA drivers working and your guide was perfect. Thank you!!!

  7. #7
    Junior Member
    Join Date
    Jul 2015
    Posts
    15

    Please give more details....

    Quote Originally Posted by harry_arg View Post
    i have the same problem, more and less. I check and this happend because there is something wrong with the xorg.conf, before installing he driver there were no xorg.conf, if you rename it wthis problem will disapeard. But for me this open the door for new problems because i have nvidia optimus a nothing work right.
    If only you provide me more details (of your system, the way you wanna install it and at what stage you have the problem) I can be of real help.
    BTW I had a Intel installation and am assuming you are not running a AMD build? If that is the cas this guide should work but I can not troubleshoot it.
    XORG.cfg problem
    While installing the correct NVIDIA drivers it would have asked you about installing XORG and am hoping you accepted it? Anyways you can always install it manually.

  8. #8
    works for 525M.thanks

  9. #9
    Junior Member
    Join Date
    Oct 2015
    Posts
    1
    I fallowed your guide, but it doesn't work with me. It doesn't let me install the drivers.

    nvidia-installer.log
    Code:
    nvidia-installer command line:
        ./nvidia-installer
        -a
    
    Using: nvidia-installer ncurses user interface
    -> License accepted by command line option.
    -> Installing NVIDIA driver version 340.93.
    
    ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
    Any ideas?

  10. #10
    Junior Member
    Join Date
    Oct 2015
    Posts
    2
    wil this guide work on a gtx 970 on kali 2.0

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •