I'm trying to set up a dual boot windows/kali linux system. I'm able to live boot into Kali without much trouble, and have done all the necessary partitioning. Now that I've done that, I need to actually install Kali. This is where the problem is. Whenever entering one of the 'Install' options from the Kali boot menu, I get a screen with what looks like a garbled table. I've waited on this screen for a while, and it never moved forward. Based on my research, I think I have a problem with my graphics driver.
I have a Lenovo computer which formerly ran Windows 8, but is currently running Windows 10. The BIOS is still a windows 8 BIOS, if that's relevant to my question. I have approximately 450 gigabytes of storage, 50 gigabites of which I've partitioned as 'free space' where I hope to install my Kali system. I have 4 gigabytes of RAM. The USB disk I'm installing from has 4 gigabytes of space.
I would appreciate any help you could give me, as well as detailed instructions. While I'm experienced in Linux, I haven't worked much with troublesome installations before.
Thank you
1 Answer
Check the BIOS settings. Certain BIOS settings may need to be disabled to allow Linux installation and dual boot. I suspect that the BIOS/UEFI POST during startup is prohibiting the boot because of default security settings.
Quick Option: Disable any - Fastboot, IRRT (intel rapid restore technology), Secure Boot type of options which vary by manufacture. Restart,retry install. Also, you may need to press a manufacture specific key during power on to get into boot options menu to select between OS.
SATA configuration may also be an issue for dual boot or mutiple OS partitions.
If not successful and/or you do not want to interfere with UEFI settings the following link provides further steps for troubleshooting at linux.com
[https://www.linux.com/learn/how-install-linux-windows-machine-uefi-secure-boot]
How To Install Intel Graphics 4400 For Windows 10
Not the answer you're looking for? Browse other questions tagged graphics-cardmulti-boottroubleshootingkali-linuxliveusb or ask your own question.
After spending few days on how-tos and debugging the black screen issue on boot after insalling the nvidia drivers, I was finally able to find a solution to all my problems.The main reason I'm writing this post is to let you know that the tutorial found on Kali's official website is broken as of date 11 April 2018.According to he mentioned in their website you might be able to successfully install the packages - ocl-icd-libopencl1, nvidia-driver, nvidia-cuda-toolkitbut you might encounter issues during the reboot. You might get a black screen and won't be able to login via the GUI.
So lets get started-
First of all let me tell you the specifications of my system-
CPU - Intel® Core™ i5-8250U CPU @ 1.60GHz × 8
GPU #1- Intel® UHD Graphics 620
GPU #2- Nvidia GeForce MX150
Before we begin, a couple of notes:
USE AT YOUR OWN RISK
This tutorial is for official NVIDIA Driver
Tutorial found on official Kali website is BROKEN! It never works for optimus/hybrid Graphics enabled laptop
Step 1: Verify you have hybrid graphics
Step 2: Disable nouveau
Step 3: System will reboot and nouveau should be disabled. Verify if nouveau is disabled:
If shows nothing,means nouveau successfully disabled.
Step 4: Install nvidia driver from kali repo: Ant man bluray 720p sub indo.
You can also download latest .run file from Nvidia's website. Execute and procceed with installation. Whether its from Kali's repo or Nvidia's website, procedure is same.Code to install the .run file:
Step 5: Now we have to find bus id of our nvidia card:
it should show something like this:
This is our Bus ID.
Step 6: Now we generate /etc/X11/xorg.conf file with this bus ID according to Nvidia's guide:
Replace the string inside ** ** with your Bus ID and save it to /etc/X11/xorg.conf
Step 7: Now we have to create some scripts according to our display manager.Since im using default Kali linux which is GDM,i created two files:/usr/share/gdm/greeter/autostart/optimus.desktop/etc/xdg/autostart/optimus.desktopwith the following content:
Step 8: Now reboot and you should be using Nvidia Driver. Verify if everything is ok:install mesa-utils if not previously installed.
Step 9: Now you can install the cuda toolkits and drivers. The package nvidia-cuda-toolkit has been deprecated. You can install hashcat-nvidia package as an alternative.
Step 10: Now that our system should be ready to go, we need to verify the drivers have been loaded correctly. We can quickly verify this by running the nvidia-smi tool.
FIXING SCREEN TEARING ISSUE:After you successfully boot up with Nvidia Driver, you most probably would be experiencing screen tearing issue eg: glitches while playing videos in VLC, Youtube videos on Chrome/Firefox etc. Luckily, we can fix this by enabling PRIME Sync.
1. Verify if PRIME is disabled
it should output something like this:
First one is our connected display.So PRIME sync is disabled.
2. Edit /etc/default/grub and append nvidia-drm.modeset=1 in GRUB_CMDLINE_LINUX_DEFAULT after quiet.Like the following:
3. Save the changes and update grub using the command:
4. Reboot your system.
5. Verify if PRIME is enabled:
Now it should output:
If it still shows 0 for you,then there is probably something wrong with your system config/kernel. Since this is still an experimental feature from Nvidia,you are out of luck.
IF YOU STUCK IN BOOT SCREEN
Revert what we have done so far:
Press CTRL+ALT+F2 or CTRL+ALT+F3, login with your password.
Remove those display manager files we created earlier (for GDM):
Now reboot. You should be able get back to your old system.
If any issues exist please post it in Kali's forum.
My sincere thanks to TiGER511 who did all the hard-work.
I'll soon update this repo on how to switch between your Intel Graphics and Nvidia Graphic card.