LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-22-2015, 05:42 PM   #1
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Rep: Reputation: Disabled
Black screen upon first boot.


Hello, this is my first post here.
I have installed the Lxle distribution, which is a Ubuntu derivative.
I used the live DVD a number of times until I decided that this distribution (the 12th tried) may be the right one for me coming from Windows. The live DVD performed ok. The installation worked fine. I created a root partition, swap partition and a /home partition.
Upon booting from hard disk, I had a black screen. After investigating this on the internet, I found that I need to add a 'nomodeset' to the linux line in the boot process. This allowed the boot process to be visible and a completed screen came up. However, the resulting screen is only 640x480 on a 1024x768 screen size.
The computer is a low level notebook (Dell Inspiron 1100).
It appears that the screen is not identified correctly and defaults to show 640x480 pixels.
Could someone please tell me how to change this default to 1024x768 so that I end up with a full screen?
Then how do I change the boot process to include the 'nomodeset' permanently?
As it is common on Linux systems, a file will probably need to be modified, could you please refer to the file with the full path, as I have no understanding of the file structure yet, and where to look for a file.
Thank you.
 
Old 10-22-2015, 05:54 PM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Black screen upon first boot.

Hi,
What bootloader is shipped with your distro? Might be grub2. If so locate the line GRUB_GFXMODE=800x600 in /etc/default/grub and change it to what fits for your laptop.
You could use
nano /etc/default/grub to do it.
 
Old 10-22-2015, 06:03 PM   #3
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.
Found the file and found the GRUB_GFXMODE=640x480 entry. But it is commented out with the '#' at the start of the line.
Therefore, I believe that the default must be coming from somewhere else. Or, If I uncomment this and change the resolution to 1024x768, will this take precedence?
 
Old 10-22-2015, 09:27 PM   #4
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Even though I had trouble with permissions, I managed to to make the change.
I rebooted, still black screen. Rebooted with the 'nomodeset' added to grub. Screen had no change. Showed the thick line at bottom (in 640x480) during boot and then at the end showed the screen in 640x480 again.
No change. The default resolution for the screen is still 640x480.
Where do I go from here?
 
Old 10-22-2015, 09:37 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
GRUB_GFXMODE affects only GRUB, not your console or Xorg.
What graphics card you have? (Run lspci.)
 
Old 10-23-2015, 12:47 AM   #6
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
The lspci showed the graphics card as "VGA Compatible Controller: Intel Corporation 8284G/GL [Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)".
Thanks
 
Old 10-23-2015, 03:59 AM   #7
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Black screen upon first boot.

For grub2, you have to be root to edit, forgot to mention it.
You also have to make it take changes. On my distro it is with, as root :
grub-mkconfig -o /boot/grub/grub.cfg
Might be different on yours (update-grub?)
For adding permanently the nomodset option find in /etc/default/grub the line
GRUB_CMDLINE_LINUX_DEFAULT=""
And change it to
GRUB_CMDLINE_LINUX_DEFAULT="nomodset"
Don't forget to run as root
grub-mkconfig -o /boot/grub/grub.cfg
Or whatever the command is for your distro.
 
Old 10-23-2015, 04:10 AM   #8
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Black screen upon first boot.

For the screen resolution, I found that :
http://ubuntuforums.org/showthread.php?t=2249425
It seems that passing a VGA=792 option to grub could be ok for you. Otherwise you will find in the thread a link to another way to configure your screen.
 
Old 10-23-2015, 07:15 AM   #9
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Quote:
Originally Posted by fhutt View Post
The lspci showed the graphics card as "VGA Compatible Controller: Intel Corporation 8284G/GL [Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)".
Thanks
Is that 82845G/GL? My 11-year old Shuttle box down in the basement has onboard 82845G/GL graphics; last time I tried it (early spring) it didn't like current Fedora, Ubuntu, Linux Mint, or PCLinuxOS. I think I finally got it running with a recent Puppy Linux variant.
 
Old 10-23-2015, 07:17 PM   #10
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Tonus, thank you for recommendations.
I've done the Grub2 modification to add 'nomodeset'. It appeared to work.

Now, the resolution - "passing a VGA=792 option to grub" sounds like a simple task. However, coming from windows, that task is anything but simple. Could you please tell me how to do that.
I looked at the link you provided. That solution is totally different. If the VGA=792 fails, I'll try that option.
Thanks
 
Old 10-24-2015, 03:31 AM   #11
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Black screen upon first boot.

Seems that the VGA option is deprecated in grub2... Found that link that is quite complete and could be useful :
https://wiki.sabayon.org/index.php?title=HOWTO:_Using_Custom_Framebuffer_Resolution_with_GRUB2

Good luck and ask for more if difficult (answering from my phone, so have to be brief...).
 
Old 10-24-2015, 07:24 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,375

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
try adding this to the linux line in booting
Code:
video=VGA-1:1024x768
Of remove nomodeset and use this
Code:
video=SVIDEO-1:d
 
  


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
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
I messed with the screen resolution and now Redhat will boot into a black screen! Mr. Hill Linux - Newbie 29 05-04-2009 11:52 AM
Black screen after first boot JCG Linux - Hardware 2 11-25-2006 10:01 PM
Black Screen At Boot Up Ax787 Linux - Newbie 1 10-02-2003 12:23 PM

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

All times are GMT -5. The time now is 02:35 PM.

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