LinuxQuestions.org
Review your favorite Linux distribution.
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 09-24-2012, 11:19 AM   #1
stoneheart95
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
Question What is needed to find what to place after vga= when editing /etc/default/grub


Hello.

Recently I along with a friend have been working on getting my Windows desktop to successfully boot. Right now, we've managed to get past the display resolution error that was aggravating me for weeks, but we both lost the link to an article showing all the codes to put after vga=.

When searching, I can't find mine, because it's rare. It's 1600x900.

Is there a way to calculate the vga code(if that's what it's called)?

Thanks in advance.



Also, if needed, I'm running Ubuntu 12.04.1 on Windows 7.

Last edited by stoneheart95; 09-24-2012 at 11:26 AM.
 
Old 09-24-2012, 11:42 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
On modern open source drivers the option vga= is deprecated. You should rather use the video= option, like this
Code:
video=1600x900
 
Old 09-24-2012, 12:06 PM   #3
stoneheart95
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
I'll give that a try when I school lets out(about 4 hours).

There was a line that said
GRUB_GFXMODE=640x480

I'm thinking I need to change that to 1600x900, right?(This is my second day getting to know how grub works)
 
Old 09-24-2012, 12:40 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The GRUB_GFXMODE option is, AFAIK, only for the Grub menu itself (I would test that, but I am not a Grub user), not for the general resolution that is applied later by the driver.
 
Old 09-24-2012, 12:49 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Quote:
I'll give that a try when I school lets out(about 4 hours).

There was a line that said
GRUB_GFXMODE=640x480

I'm thinking I need to change that to 1600x900, right?(This is my second day getting to know how grub works)
No, you add it to one of these lines in /etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
Then rerun
Code:
sudo update-grub
 
  


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] Help needed editing grub csaenemy Linux - Newbie 15 10-28-2010 09:25 AM
Editing grub.conf to make Windows default in dual boot pssmba Linux - Newbie 4 04-04-2010 05:54 AM
Editing GRUB Loader to Have WINXP As Default OS firekid1239 Linux - Newbie 3 09-18-2008 10:00 AM
Editing DrakLive-Install (change default grub options) Val-Ent Linux - General 0 01-05-2007 03:11 AM
Booting to VGA or text mode without editing config file mattman1081 Linux - Newbie 6 02-10-2004 08:36 PM

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

All times are GMT -5. The time now is 08:30 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