Author Topic: Nvidia Install Problems  (Read 955 times)

lwfitz

  • DEFCON 1
  • Posts: 1757
  • sudo rm -rf /
    • View Profile
Nvidia Install Problems
« on: October 26, 2016, 03:09:25 AM »
Here is my hardware:

Motherboard

https://www.asus.com/us/Motherboards/M5A99FX_PRO_R20/

CPU (AMD 8370

http://www.newegg.com/Product/Product.aspx?Item=N82E16819113374

RAM

32gb DDR3 2133 (PC3 17000)

Video Card

https://www.asus.com/Graphics-Cards/TURBO-GTX1060-6G/

Storage

http://www.corsair.com/en-us/force-series-ls-60gb-sata-3-6gb-s-ssd

two 1tb Seagate 7200rpm storage drives

Power Supply

CORSAIR CX series CX750 750W


I have two issues.

1) This is a new MB and I cannot boot up with a live disk to install. Everything seems to load fine and then the screen goes black and my monitor goes to sleep. I had this with the old MB and I was able to use the onboard video to get it installed, install the Nvidia driver and then use my video card.
Unfortunately this board doesnt have onboard video. Without using a different card to install with does anyone have any ideas how to get installed?

2) Every time I install for the last few releases, grub wont boot my system. I boot up and before I get to the grub screen I get a flashing cursor and thats it. I end up having to use a dirrent distro, install on a seperate disk, use that distro to boot VSIDO and from there purge grub and reinstall it (sometimes more than once) and finally I can boot up.

To make things even weirder, I can boot up just fine when booting in uefi mode and this video card. Just not in bios mode

Snap

  • Posts: 474
    • View Profile
Re: Nvidia Install Problems
« Reply #1 on: October 26, 2016, 10:54:02 AM »
I have a quite similar system (only older). The uefi/bios of these mobos are darn complex. It took me a good while to get used to it. Now that time went by and it works fine I forgot how the heck I did it. But from the top of my head I remember that I had to disable secure boot and enable hybrid legacy+uefi mode in order to boot both types of distros. Also the drive selection/boot order is a bit of a mess. It can drive you crazy until you figure it out.

Hope these crap tips help. If you need it I can poke into my uefi/bios for you and check the exact settings. My rig now boots anything you throw at it.

VastOne

  •      v-ger
  • Posts: 3961
    • View Profile
    • VSIDO Community
Re: Nvidia Install Problems
« Reply #2 on: October 26, 2016, 11:09:20 PM »
Specific changes coming in kernel 4.8 due to be released imminently (debian) may offer some help. As soon as it is released I will make an ISO

Quote
AMDGPU OverDrive support for overclocking AMD graphic cards
NVIDIA Pascal support, which includes only initial support
Raspberry Pi 3 SoC supported by mainline kernel
ACPI Low-Power Idle support
HDMI CEC support after years of development
Btrfs ENOSPC improvement
Hardened usercopy protection
ASLR for kernel memory sections
Microsoft Surface 3 touch support
Intel Virtual Button driver for Skylake laptops
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

lwfitz

  • DEFCON 1
  • Posts: 1757
  • sudo rm -rf /
    • View Profile
Re: Nvidia Install Problems
« Reply #3 on: October 27, 2016, 03:22:00 AM »
Thanks VastOne! I finally found an old video card so I'm gonna try to get installed tonight.

@ Snap, thanks for the tips. I don't think its an efi setting on the board as I have had the same issue with the past two boards.
I'm with VastOne in that I think its either a kernel or grub issue ( at least as far as the second issue goes).

The first issue is an nvidia issue I'm sure



hakerdefo

  • Posts: 520
    • View Profile
    • Looking at Linux through the Windows of Life
Re: Nvidia Install Problems <SOLVED*>
« Reply #4 on: October 27, 2016, 06:30:36 AM »
This is a rough guidline for a bios setup that will cause the least headaches,

Bios -> Boot -> Secure Boot -> Select 'Other OS' -> Save changes. Next go to,

Bios -> Boot -> Boot Override -> CSM -> Boot Option Filter -> Select 'UEFI and Legacy' -> Save changes

Bios settings and menu differ from model to model but the above should be good enough to guide you in the general direction :)

Cheers!!!
You Can't Always Git What You Want

lwfitz

  • DEFCON 1
  • Posts: 1757
  • sudo rm -rf /
    • View Profile
Re: Nvidia Install Problems <SOLVED*>
« Reply #5 on: October 27, 2016, 05:01:02 PM »
Thanks Hakerdefo

That's exactly the settings I have. I think I have figured out the grub issue, well, kind of figured it out.
I installed yesterday and everything went great. I rebooted multiple times and was so excited to finally be back up and working that it it dawn on me to make sure grub was actually installed to the MBR of the drive I was using. I wiped the other drive that I had windows on and then I couldn't boot. No bootable disk. Hmmmmmmm.....

I went in via chroot and tried to reinstall grub but kept getting an error so I said screw it and I reinstalled. I disconnected all unnecessary drives as to eliminated any possible headache. Everything went good with the install so I rebooted and got the same error. No bootable drives.
I continued this for another couple install attempts using both installers and had no luck.

It was the alternate installer that tipped me off. I kept getting a warning that grub failed. So I installed via the main installer and then grabbed a super grub disk and dd'd it to another USB drive.
Super grub was unable to detect any grub installation. So no wonder it won't boot! Using rescutux I attempted to repair/reinstall grub but it just errored and chroot didn't work either.


hakerdefo

  • Posts: 520
    • View Profile
    • Looking at Linux through the Windows of Life
Re: Nvidia Install Problems
« Reply #6 on: October 28, 2016, 05:20:16 AM »
Hi lwfitz,
Boot via live image of VSIDO and check the existance of,
Code: [Select]
/sys/firmware/efiIf it is present then you have booted using EFI/UEFI and in its absense we can conclude that you have booted-up via BIOS.

To reinstall Grub2 in UEFI,
https://wiki.debian.org/GrubEFIReinstall

And in BIOS,

https://help.ubuntu.com/community/Grub2/Installing#via_ChRoot

Cheers!!!
You Can't Always Git What You Want

lwfitz

  • DEFCON 1
  • Posts: 1757
  • sudo rm -rf /
    • View Profile
Re: Nvidia Install Problems
« Reply #7 on: October 28, 2016, 07:52:29 AM »
^ thanks for the help. I got installed earlier on bios. Tomorrow I'm gonna see if I can get this to work on uefi.