LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   What is needed to find what to place after vga= when editing /etc/default/grub (https://www.linuxquestions.org/questions/ubuntu-63/what-is-needed-to-find-what-to-place-after-vga%3D-when-editing-etc-default-grub-4175428806/)

stoneheart95 09-24-2012 11:19 AM

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.

TobiSGD 09-24-2012 11:42 AM

On modern open source drivers the option vga= is deprecated. You should rather use the video= option, like this
Code:

video=1600x900

stoneheart95 09-24-2012 12:06 PM

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)

TobiSGD 09-24-2012 12:40 PM

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.

colorpurple21859 09-24-2012 12:49 PM

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


All times are GMT -5. The time now is 08:19 PM.