LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 05-23-2019, 05:55 PM   #1
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Rep: Reputation: Disabled
Black screen after boot?


It seems to boot but goes right to black screen and nothing.
I have no idea what to try next

I did the following:

Kernel
built-in kernel command line
(root=PARTLABEL=rootfs)

made dir /boot/EFI/Gentoo

cp vmlinuz-4.19.44-gentoo to /boot/EFI/Gentoo/bootx64.efi

my /etc/fstab
Code:
# /dev/sda
UUID="286D-3BEE"        /boot           vfat  noauto,noatime  0 2
PARTLABEL="swap"        none            swap  sw              0 0
PARTLABEL="rootfs"      /               ext4  defaults        0 1
# /dev/sdb
PARTLABEL="home"        /home           xfs   defaults        0 2
Code:
efibootmgr --create --part 1 --disk /dev/sda --label "Gentoo" --loader '\EFI\Gentoo\bootx64.efi'
 
Old 05-24-2019, 06:53 PM   #2
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Original Poster
Rep: Reputation: Disabled
I added nomodeset to grub and it boots ok. However, without nomodeset it goes black and I am guessing it's nvidia driver.

I followed this:

https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers

I enabled and disabled all the stuff mention on this page except direct rendering..

I don't know what else to do..
 
Old 05-26-2019, 02:21 PM   #3
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Original Poster
Rep: Reputation: Disabled
I have somewhat fixed the black screen part. Using compat in USE flags it seems conflicts with X. Therefore, if you add -compat to use flags system boots after a few seconds of black screen you should see login.
 
Old 05-27-2019, 11:52 AM   #4
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Original Poster
Rep: Reputation: Disabled
I fixed it and this is how I did it.

First thing is the wiki is wrong. It says to enable compat in USE tags don't do that. Static-libs not needed either every other USE tag should be enabled.

Kernel Configuration:
[*] Enable loadable module support --->

Processor type and features --->[*] MTRR (Memory Type Range Register) support

Bus options (PCI etc.) --->[*] Mark VGA/VBE/EFI FB as generic system framebuffer

Device Drivers --->
Character devices --->[*] IPMI top-level message handler

Device Drivers ---> (ONLY THINGS THAT SHOULD BE ENABLED UNLESS YOUR CARD IS AGP)
Graphics support --->
-*- VGA Arbitration
[*] Bootup logo

Frame buffer Devices ---> (ONLY THINGS THAT SHOULD BE ENABLED)
<*> Support for frame buffer devices --->
<*> Enable Video Mode Handling Helpers
<*> Enable Tile blitting support
<*> Simple frame buffer support

Of course after you build kernel you need to recompile nvidia-driver

Code:
emerge @module-rebuild

Last edited by drillsar; 05-27-2019 at 11:53 AM.
 
  


Reply



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
[SOLVED] Ubuntu 11.10 black screen after boot screen makrylemis Ubuntu 30 01-17-2012 01:46 PM
black screen/unresponsive system after boot messages (or after startx) ftdwffs Debian 1 01-28-2011 12:05 AM
Acer A0A 110 has a black screen during boot up along with a black cursor sw3etpinay Linux - Newbie 23 12-29-2010 11:05 AM
Ubuntu 9.10 frozen screen after startup and black screen on startup DutchieAms Ubuntu 4 01-03-2010 07:29 PM
Screen goes to "grub>" black screen after trying to merge 2 drives Planet-Zhar Linux - General 4 06-20-2007 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration