GRUB2: Use maximum detected resolution?












32















How do I tell GRUB2 to set its resolution (and also the one passed to the kernel) to the maximum one it can detect at time of boot?










share|improve this question

























  • This answer should answer your question.

    – martin
    Feb 12 '12 at 10:34






  • 2





    @severin: No, it doesn't. That only tells me how to set it to a specific resolution that I can find, not to the maximum one it detects at boot time.

    – Mehrdad
    Feb 12 '12 at 10:54











  • ´vbeinfo´ will tell you the maximum supported resolution. Then you can edit /etc/default/grub to use that resolution.

    – martin
    Feb 12 '12 at 15:43






  • 3





    @severin: You're still not understanding the question!! :( I want automatic detection, not manual detection.

    – Mehrdad
    Feb 12 '12 at 19:51








  • 2





    @AmithKK: Uh, yes? I have variable resolutions...

    – Mehrdad
    May 26 '12 at 5:14


















32















How do I tell GRUB2 to set its resolution (and also the one passed to the kernel) to the maximum one it can detect at time of boot?










share|improve this question

























  • This answer should answer your question.

    – martin
    Feb 12 '12 at 10:34






  • 2





    @severin: No, it doesn't. That only tells me how to set it to a specific resolution that I can find, not to the maximum one it detects at boot time.

    – Mehrdad
    Feb 12 '12 at 10:54











  • ´vbeinfo´ will tell you the maximum supported resolution. Then you can edit /etc/default/grub to use that resolution.

    – martin
    Feb 12 '12 at 15:43






  • 3





    @severin: You're still not understanding the question!! :( I want automatic detection, not manual detection.

    – Mehrdad
    Feb 12 '12 at 19:51








  • 2





    @AmithKK: Uh, yes? I have variable resolutions...

    – Mehrdad
    May 26 '12 at 5:14
















32












32








32


19






How do I tell GRUB2 to set its resolution (and also the one passed to the kernel) to the maximum one it can detect at time of boot?










share|improve this question
















How do I tell GRUB2 to set its resolution (and also the one passed to the kernel) to the maximum one it can detect at time of boot?







boot grub2 resolution






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 6 '12 at 13:15









jokerdino

32.6k21119187




32.6k21119187










asked Feb 12 '12 at 9:19









MehrdadMehrdad

1,66682846




1,66682846













  • This answer should answer your question.

    – martin
    Feb 12 '12 at 10:34






  • 2





    @severin: No, it doesn't. That only tells me how to set it to a specific resolution that I can find, not to the maximum one it detects at boot time.

    – Mehrdad
    Feb 12 '12 at 10:54











  • ´vbeinfo´ will tell you the maximum supported resolution. Then you can edit /etc/default/grub to use that resolution.

    – martin
    Feb 12 '12 at 15:43






  • 3





    @severin: You're still not understanding the question!! :( I want automatic detection, not manual detection.

    – Mehrdad
    Feb 12 '12 at 19:51








  • 2





    @AmithKK: Uh, yes? I have variable resolutions...

    – Mehrdad
    May 26 '12 at 5:14





















  • This answer should answer your question.

    – martin
    Feb 12 '12 at 10:34






  • 2





    @severin: No, it doesn't. That only tells me how to set it to a specific resolution that I can find, not to the maximum one it detects at boot time.

    – Mehrdad
    Feb 12 '12 at 10:54











  • ´vbeinfo´ will tell you the maximum supported resolution. Then you can edit /etc/default/grub to use that resolution.

    – martin
    Feb 12 '12 at 15:43






  • 3





    @severin: You're still not understanding the question!! :( I want automatic detection, not manual detection.

    – Mehrdad
    Feb 12 '12 at 19:51








  • 2





    @AmithKK: Uh, yes? I have variable resolutions...

    – Mehrdad
    May 26 '12 at 5:14



















This answer should answer your question.

– martin
Feb 12 '12 at 10:34





This answer should answer your question.

– martin
Feb 12 '12 at 10:34




2




2





@severin: No, it doesn't. That only tells me how to set it to a specific resolution that I can find, not to the maximum one it detects at boot time.

– Mehrdad
Feb 12 '12 at 10:54





@severin: No, it doesn't. That only tells me how to set it to a specific resolution that I can find, not to the maximum one it detects at boot time.

– Mehrdad
Feb 12 '12 at 10:54













´vbeinfo´ will tell you the maximum supported resolution. Then you can edit /etc/default/grub to use that resolution.

– martin
Feb 12 '12 at 15:43





´vbeinfo´ will tell you the maximum supported resolution. Then you can edit /etc/default/grub to use that resolution.

– martin
Feb 12 '12 at 15:43




3




3





@severin: You're still not understanding the question!! :( I want automatic detection, not manual detection.

– Mehrdad
Feb 12 '12 at 19:51







@severin: You're still not understanding the question!! :( I want automatic detection, not manual detection.

– Mehrdad
Feb 12 '12 at 19:51






2




2





@AmithKK: Uh, yes? I have variable resolutions...

– Mehrdad
May 26 '12 at 5:14







@AmithKK: Uh, yes? I have variable resolutions...

– Mehrdad
May 26 '12 at 5:14












2 Answers
2






active

oldest

votes


















47





+100









I presume the reason you are asking about this is that you use different monitors on the same Ubuntu machine and you want GRUB2 to look good on all of them. However, if you are concerned about the resolution used once Ubuntu boots, this does not address that. GRUB2 does not "pass on to the kernel" the resolution it selects for the boot menu.



Edit /etc/default/grub as root. You may want to back it up first:



sudo cp /etc/default/grub /etc/default/grub.old


(You would run that in the Terminal, which you can open by pressing Ctrl+Alt+T.)



To edit it with Gedit as root run:



gksu gedit /etc/default/grub


(Or if you're using Kubuntu, run kdesudo kate /etc/default/grub instead.)



You'll get a lot of messages in the Terminal, if you run that command in the Terminal rather than with Alt+F2. You'll notice they don't say they pertain to the file you're editing, so that's fine.



You'll find that part of the file says something like this:



# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480


Uncomment (i.e., remove the leading # from) the line that says GRUB_GFXMODE, and change the resolution from 640x480 to auto. The line should now read:



GRUB_GFXMODE=auto


Save the file and quit the editor. In the Terminal, run:



sudo update-grub


(This must be run after every modification to /etc/default/grub, to apply the changes.)



Now reboot, and see if that does what you want.



It might not (as it uses the "platform default" which might not be the highest possible). If that is the case, edit /etc/default/grub again, and this time change the line so it says something like:



GRUB_GFXMODE=1600x1200,1280x1024,1024x768,800x600,640x480


You will not necessarily want to use exactly that line. You should list all the resolutions you want to be tried, in the order you want them to be tried. The resolutions I have listed are the most standard resolutions for monitors with a 4:3 aspect ratio, but widescreen monitors (including most laptop screens these days) have different form factors and use different resolutions. Wikipedia has a list of common resolutions which may help you. If you know the specific resolutions you want for each device, you can just list them (highest first). You should probably include 640x480 or auto at the end . I recommend this because I don't know if GRUB2 will always try a safe low resolution, if you don't include that.



Then save the file again, run sudo update-grub again, reboot again, and see if that does what you need.



If it doesn't, you may be out of luck. GRUB2 doesn't display video the same way as Ubuntu does once it's booted. GRUB2 uses VESA BIOS Extensions to display the boot menu with enhanced resolution (and color depth), and a machine's maximum resolution through VBE is not always as high as the maximum resolution supported by the video card and monitor.



Source: The official GRUB2 documentation. (You'll notice the version number is 1.99. It's still GRUB2. A bit confusing, but true.)



[Finally, thanks to TechZilla for pointing out a serious error in the original version of this answer.]






share|improve this answer


























  • +1 definitely a viable solution, even though it's not perfect. Thanks for the detailed answer, it's very well-written!

    – Mehrdad
    May 26 '12 at 4:42






  • 2





    Also just an FYI, GRUB_GFXMODE=auto nearly always gets the best resolution possible via VESA. The VESA widescreen resolutions are not standardized, and I have never once been able to get one working from Grub2. I have heard it's possible, if using an Intel GFX chip and some semi-complicated VESA soft-patching. AFAIK this is not possible with non-Intel GFX chips. ... also you should add a +1 to my comment if it was on target. :P

    – J. M. Becker
    May 26 '12 at 4:53








  • 1





    @Mehrdad Give the bounty to this answer. This is as close as your going to get AFAIK :D

    – Amith KK
    May 26 '12 at 5:46













  • @AmithKK: I most likely will, though I think I'll just wait a little and let other people get a chance to at least read the question before I award it haha. :)

    – Mehrdad
    May 26 '12 at 5:50





















12














There's also a GUI option available.



Grub Customizer:



Grub Customizer allows to edit, rename, re-order or freeze Grub entries. It also allows to change the background colors of Grub menu or add a custom picture and supports BURG customization also. You can also use Grub Customizer from a Live CD/USB environment to fix your boot issues.



Installation:



Hit Alt+Ctrl+T to open terminal and run following commands:




sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer


How to use:



Once installed, hit Alt+F2, type grub-customizer and hit Enter.



Authenticate by giving your user password.



Once open, click on Preferences in toolbar.



enter image description here



Under Appearance tab enable custom resolution, and type auto in the text box.



enter image description here



Alternatively under Advanced tab enable GRUB_GFXMODE and type auto in the text field in front of it. You can also specify resolution as a sequence of one or more modes, separated by commas (‘,’) or semicolons (‘;’); each will be tried in turn until one is found. For example:



1440x900,1680x1050,1920x1200,2560x1600



Or specified with depth (8, 16 or 24):



1440x900x16,1680x1050x16,1920x1200x16,2560x1600x16



enter image description here



Close the Preferences dialog box and click save on the toolbar of main window. That's it!



enter image description here



To remove Grub Customizer run following commands in terminal:




sudo apt-get autoremove --purge grub-customizer
sudo add-apt-repository -r ppa:danielrichter2007/grub-customizer
sudo apt-get update





share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f103516%2fgrub2-use-maximum-detected-resolution%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    47





    +100









    I presume the reason you are asking about this is that you use different monitors on the same Ubuntu machine and you want GRUB2 to look good on all of them. However, if you are concerned about the resolution used once Ubuntu boots, this does not address that. GRUB2 does not "pass on to the kernel" the resolution it selects for the boot menu.



    Edit /etc/default/grub as root. You may want to back it up first:



    sudo cp /etc/default/grub /etc/default/grub.old


    (You would run that in the Terminal, which you can open by pressing Ctrl+Alt+T.)



    To edit it with Gedit as root run:



    gksu gedit /etc/default/grub


    (Or if you're using Kubuntu, run kdesudo kate /etc/default/grub instead.)



    You'll get a lot of messages in the Terminal, if you run that command in the Terminal rather than with Alt+F2. You'll notice they don't say they pertain to the file you're editing, so that's fine.



    You'll find that part of the file says something like this:



    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480


    Uncomment (i.e., remove the leading # from) the line that says GRUB_GFXMODE, and change the resolution from 640x480 to auto. The line should now read:



    GRUB_GFXMODE=auto


    Save the file and quit the editor. In the Terminal, run:



    sudo update-grub


    (This must be run after every modification to /etc/default/grub, to apply the changes.)



    Now reboot, and see if that does what you want.



    It might not (as it uses the "platform default" which might not be the highest possible). If that is the case, edit /etc/default/grub again, and this time change the line so it says something like:



    GRUB_GFXMODE=1600x1200,1280x1024,1024x768,800x600,640x480


    You will not necessarily want to use exactly that line. You should list all the resolutions you want to be tried, in the order you want them to be tried. The resolutions I have listed are the most standard resolutions for monitors with a 4:3 aspect ratio, but widescreen monitors (including most laptop screens these days) have different form factors and use different resolutions. Wikipedia has a list of common resolutions which may help you. If you know the specific resolutions you want for each device, you can just list them (highest first). You should probably include 640x480 or auto at the end . I recommend this because I don't know if GRUB2 will always try a safe low resolution, if you don't include that.



    Then save the file again, run sudo update-grub again, reboot again, and see if that does what you need.



    If it doesn't, you may be out of luck. GRUB2 doesn't display video the same way as Ubuntu does once it's booted. GRUB2 uses VESA BIOS Extensions to display the boot menu with enhanced resolution (and color depth), and a machine's maximum resolution through VBE is not always as high as the maximum resolution supported by the video card and monitor.



    Source: The official GRUB2 documentation. (You'll notice the version number is 1.99. It's still GRUB2. A bit confusing, but true.)



    [Finally, thanks to TechZilla for pointing out a serious error in the original version of this answer.]






    share|improve this answer


























    • +1 definitely a viable solution, even though it's not perfect. Thanks for the detailed answer, it's very well-written!

      – Mehrdad
      May 26 '12 at 4:42






    • 2





      Also just an FYI, GRUB_GFXMODE=auto nearly always gets the best resolution possible via VESA. The VESA widescreen resolutions are not standardized, and I have never once been able to get one working from Grub2. I have heard it's possible, if using an Intel GFX chip and some semi-complicated VESA soft-patching. AFAIK this is not possible with non-Intel GFX chips. ... also you should add a +1 to my comment if it was on target. :P

      – J. M. Becker
      May 26 '12 at 4:53








    • 1





      @Mehrdad Give the bounty to this answer. This is as close as your going to get AFAIK :D

      – Amith KK
      May 26 '12 at 5:46













    • @AmithKK: I most likely will, though I think I'll just wait a little and let other people get a chance to at least read the question before I award it haha. :)

      – Mehrdad
      May 26 '12 at 5:50


















    47





    +100









    I presume the reason you are asking about this is that you use different monitors on the same Ubuntu machine and you want GRUB2 to look good on all of them. However, if you are concerned about the resolution used once Ubuntu boots, this does not address that. GRUB2 does not "pass on to the kernel" the resolution it selects for the boot menu.



    Edit /etc/default/grub as root. You may want to back it up first:



    sudo cp /etc/default/grub /etc/default/grub.old


    (You would run that in the Terminal, which you can open by pressing Ctrl+Alt+T.)



    To edit it with Gedit as root run:



    gksu gedit /etc/default/grub


    (Or if you're using Kubuntu, run kdesudo kate /etc/default/grub instead.)



    You'll get a lot of messages in the Terminal, if you run that command in the Terminal rather than with Alt+F2. You'll notice they don't say they pertain to the file you're editing, so that's fine.



    You'll find that part of the file says something like this:



    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480


    Uncomment (i.e., remove the leading # from) the line that says GRUB_GFXMODE, and change the resolution from 640x480 to auto. The line should now read:



    GRUB_GFXMODE=auto


    Save the file and quit the editor. In the Terminal, run:



    sudo update-grub


    (This must be run after every modification to /etc/default/grub, to apply the changes.)



    Now reboot, and see if that does what you want.



    It might not (as it uses the "platform default" which might not be the highest possible). If that is the case, edit /etc/default/grub again, and this time change the line so it says something like:



    GRUB_GFXMODE=1600x1200,1280x1024,1024x768,800x600,640x480


    You will not necessarily want to use exactly that line. You should list all the resolutions you want to be tried, in the order you want them to be tried. The resolutions I have listed are the most standard resolutions for monitors with a 4:3 aspect ratio, but widescreen monitors (including most laptop screens these days) have different form factors and use different resolutions. Wikipedia has a list of common resolutions which may help you. If you know the specific resolutions you want for each device, you can just list them (highest first). You should probably include 640x480 or auto at the end . I recommend this because I don't know if GRUB2 will always try a safe low resolution, if you don't include that.



    Then save the file again, run sudo update-grub again, reboot again, and see if that does what you need.



    If it doesn't, you may be out of luck. GRUB2 doesn't display video the same way as Ubuntu does once it's booted. GRUB2 uses VESA BIOS Extensions to display the boot menu with enhanced resolution (and color depth), and a machine's maximum resolution through VBE is not always as high as the maximum resolution supported by the video card and monitor.



    Source: The official GRUB2 documentation. (You'll notice the version number is 1.99. It's still GRUB2. A bit confusing, but true.)



    [Finally, thanks to TechZilla for pointing out a serious error in the original version of this answer.]






    share|improve this answer


























    • +1 definitely a viable solution, even though it's not perfect. Thanks for the detailed answer, it's very well-written!

      – Mehrdad
      May 26 '12 at 4:42






    • 2





      Also just an FYI, GRUB_GFXMODE=auto nearly always gets the best resolution possible via VESA. The VESA widescreen resolutions are not standardized, and I have never once been able to get one working from Grub2. I have heard it's possible, if using an Intel GFX chip and some semi-complicated VESA soft-patching. AFAIK this is not possible with non-Intel GFX chips. ... also you should add a +1 to my comment if it was on target. :P

      – J. M. Becker
      May 26 '12 at 4:53








    • 1





      @Mehrdad Give the bounty to this answer. This is as close as your going to get AFAIK :D

      – Amith KK
      May 26 '12 at 5:46













    • @AmithKK: I most likely will, though I think I'll just wait a little and let other people get a chance to at least read the question before I award it haha. :)

      – Mehrdad
      May 26 '12 at 5:50
















    47





    +100







    47





    +100



    47




    +100





    I presume the reason you are asking about this is that you use different monitors on the same Ubuntu machine and you want GRUB2 to look good on all of them. However, if you are concerned about the resolution used once Ubuntu boots, this does not address that. GRUB2 does not "pass on to the kernel" the resolution it selects for the boot menu.



    Edit /etc/default/grub as root. You may want to back it up first:



    sudo cp /etc/default/grub /etc/default/grub.old


    (You would run that in the Terminal, which you can open by pressing Ctrl+Alt+T.)



    To edit it with Gedit as root run:



    gksu gedit /etc/default/grub


    (Or if you're using Kubuntu, run kdesudo kate /etc/default/grub instead.)



    You'll get a lot of messages in the Terminal, if you run that command in the Terminal rather than with Alt+F2. You'll notice they don't say they pertain to the file you're editing, so that's fine.



    You'll find that part of the file says something like this:



    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480


    Uncomment (i.e., remove the leading # from) the line that says GRUB_GFXMODE, and change the resolution from 640x480 to auto. The line should now read:



    GRUB_GFXMODE=auto


    Save the file and quit the editor. In the Terminal, run:



    sudo update-grub


    (This must be run after every modification to /etc/default/grub, to apply the changes.)



    Now reboot, and see if that does what you want.



    It might not (as it uses the "platform default" which might not be the highest possible). If that is the case, edit /etc/default/grub again, and this time change the line so it says something like:



    GRUB_GFXMODE=1600x1200,1280x1024,1024x768,800x600,640x480


    You will not necessarily want to use exactly that line. You should list all the resolutions you want to be tried, in the order you want them to be tried. The resolutions I have listed are the most standard resolutions for monitors with a 4:3 aspect ratio, but widescreen monitors (including most laptop screens these days) have different form factors and use different resolutions. Wikipedia has a list of common resolutions which may help you. If you know the specific resolutions you want for each device, you can just list them (highest first). You should probably include 640x480 or auto at the end . I recommend this because I don't know if GRUB2 will always try a safe low resolution, if you don't include that.



    Then save the file again, run sudo update-grub again, reboot again, and see if that does what you need.



    If it doesn't, you may be out of luck. GRUB2 doesn't display video the same way as Ubuntu does once it's booted. GRUB2 uses VESA BIOS Extensions to display the boot menu with enhanced resolution (and color depth), and a machine's maximum resolution through VBE is not always as high as the maximum resolution supported by the video card and monitor.



    Source: The official GRUB2 documentation. (You'll notice the version number is 1.99. It's still GRUB2. A bit confusing, but true.)



    [Finally, thanks to TechZilla for pointing out a serious error in the original version of this answer.]






    share|improve this answer















    I presume the reason you are asking about this is that you use different monitors on the same Ubuntu machine and you want GRUB2 to look good on all of them. However, if you are concerned about the resolution used once Ubuntu boots, this does not address that. GRUB2 does not "pass on to the kernel" the resolution it selects for the boot menu.



    Edit /etc/default/grub as root. You may want to back it up first:



    sudo cp /etc/default/grub /etc/default/grub.old


    (You would run that in the Terminal, which you can open by pressing Ctrl+Alt+T.)



    To edit it with Gedit as root run:



    gksu gedit /etc/default/grub


    (Or if you're using Kubuntu, run kdesudo kate /etc/default/grub instead.)



    You'll get a lot of messages in the Terminal, if you run that command in the Terminal rather than with Alt+F2. You'll notice they don't say they pertain to the file you're editing, so that's fine.



    You'll find that part of the file says something like this:



    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480


    Uncomment (i.e., remove the leading # from) the line that says GRUB_GFXMODE, and change the resolution from 640x480 to auto. The line should now read:



    GRUB_GFXMODE=auto


    Save the file and quit the editor. In the Terminal, run:



    sudo update-grub


    (This must be run after every modification to /etc/default/grub, to apply the changes.)



    Now reboot, and see if that does what you want.



    It might not (as it uses the "platform default" which might not be the highest possible). If that is the case, edit /etc/default/grub again, and this time change the line so it says something like:



    GRUB_GFXMODE=1600x1200,1280x1024,1024x768,800x600,640x480


    You will not necessarily want to use exactly that line. You should list all the resolutions you want to be tried, in the order you want them to be tried. The resolutions I have listed are the most standard resolutions for monitors with a 4:3 aspect ratio, but widescreen monitors (including most laptop screens these days) have different form factors and use different resolutions. Wikipedia has a list of common resolutions which may help you. If you know the specific resolutions you want for each device, you can just list them (highest first). You should probably include 640x480 or auto at the end . I recommend this because I don't know if GRUB2 will always try a safe low resolution, if you don't include that.



    Then save the file again, run sudo update-grub again, reboot again, and see if that does what you need.



    If it doesn't, you may be out of luck. GRUB2 doesn't display video the same way as Ubuntu does once it's booted. GRUB2 uses VESA BIOS Extensions to display the boot menu with enhanced resolution (and color depth), and a machine's maximum resolution through VBE is not always as high as the maximum resolution supported by the video card and monitor.



    Source: The official GRUB2 documentation. (You'll notice the version number is 1.99. It's still GRUB2. A bit confusing, but true.)



    [Finally, thanks to TechZilla for pointing out a serious error in the original version of this answer.]







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 13 '17 at 12:24









    Community

    1




    1










    answered May 26 '12 at 4:33









    Eliah KaganEliah Kagan

    81.9k21227364




    81.9k21227364













    • +1 definitely a viable solution, even though it's not perfect. Thanks for the detailed answer, it's very well-written!

      – Mehrdad
      May 26 '12 at 4:42






    • 2





      Also just an FYI, GRUB_GFXMODE=auto nearly always gets the best resolution possible via VESA. The VESA widescreen resolutions are not standardized, and I have never once been able to get one working from Grub2. I have heard it's possible, if using an Intel GFX chip and some semi-complicated VESA soft-patching. AFAIK this is not possible with non-Intel GFX chips. ... also you should add a +1 to my comment if it was on target. :P

      – J. M. Becker
      May 26 '12 at 4:53








    • 1





      @Mehrdad Give the bounty to this answer. This is as close as your going to get AFAIK :D

      – Amith KK
      May 26 '12 at 5:46













    • @AmithKK: I most likely will, though I think I'll just wait a little and let other people get a chance to at least read the question before I award it haha. :)

      – Mehrdad
      May 26 '12 at 5:50





















    • +1 definitely a viable solution, even though it's not perfect. Thanks for the detailed answer, it's very well-written!

      – Mehrdad
      May 26 '12 at 4:42






    • 2





      Also just an FYI, GRUB_GFXMODE=auto nearly always gets the best resolution possible via VESA. The VESA widescreen resolutions are not standardized, and I have never once been able to get one working from Grub2. I have heard it's possible, if using an Intel GFX chip and some semi-complicated VESA soft-patching. AFAIK this is not possible with non-Intel GFX chips. ... also you should add a +1 to my comment if it was on target. :P

      – J. M. Becker
      May 26 '12 at 4:53








    • 1





      @Mehrdad Give the bounty to this answer. This is as close as your going to get AFAIK :D

      – Amith KK
      May 26 '12 at 5:46













    • @AmithKK: I most likely will, though I think I'll just wait a little and let other people get a chance to at least read the question before I award it haha. :)

      – Mehrdad
      May 26 '12 at 5:50



















    +1 definitely a viable solution, even though it's not perfect. Thanks for the detailed answer, it's very well-written!

    – Mehrdad
    May 26 '12 at 4:42





    +1 definitely a viable solution, even though it's not perfect. Thanks for the detailed answer, it's very well-written!

    – Mehrdad
    May 26 '12 at 4:42




    2




    2





    Also just an FYI, GRUB_GFXMODE=auto nearly always gets the best resolution possible via VESA. The VESA widescreen resolutions are not standardized, and I have never once been able to get one working from Grub2. I have heard it's possible, if using an Intel GFX chip and some semi-complicated VESA soft-patching. AFAIK this is not possible with non-Intel GFX chips. ... also you should add a +1 to my comment if it was on target. :P

    – J. M. Becker
    May 26 '12 at 4:53







    Also just an FYI, GRUB_GFXMODE=auto nearly always gets the best resolution possible via VESA. The VESA widescreen resolutions are not standardized, and I have never once been able to get one working from Grub2. I have heard it's possible, if using an Intel GFX chip and some semi-complicated VESA soft-patching. AFAIK this is not possible with non-Intel GFX chips. ... also you should add a +1 to my comment if it was on target. :P

    – J. M. Becker
    May 26 '12 at 4:53






    1




    1





    @Mehrdad Give the bounty to this answer. This is as close as your going to get AFAIK :D

    – Amith KK
    May 26 '12 at 5:46







    @Mehrdad Give the bounty to this answer. This is as close as your going to get AFAIK :D

    – Amith KK
    May 26 '12 at 5:46















    @AmithKK: I most likely will, though I think I'll just wait a little and let other people get a chance to at least read the question before I award it haha. :)

    – Mehrdad
    May 26 '12 at 5:50







    @AmithKK: I most likely will, though I think I'll just wait a little and let other people get a chance to at least read the question before I award it haha. :)

    – Mehrdad
    May 26 '12 at 5:50















    12














    There's also a GUI option available.



    Grub Customizer:



    Grub Customizer allows to edit, rename, re-order or freeze Grub entries. It also allows to change the background colors of Grub menu or add a custom picture and supports BURG customization also. You can also use Grub Customizer from a Live CD/USB environment to fix your boot issues.



    Installation:



    Hit Alt+Ctrl+T to open terminal and run following commands:




    sudo add-apt-repository ppa:danielrichter2007/grub-customizer
    sudo apt-get update
    sudo apt-get install grub-customizer


    How to use:



    Once installed, hit Alt+F2, type grub-customizer and hit Enter.



    Authenticate by giving your user password.



    Once open, click on Preferences in toolbar.



    enter image description here



    Under Appearance tab enable custom resolution, and type auto in the text box.



    enter image description here



    Alternatively under Advanced tab enable GRUB_GFXMODE and type auto in the text field in front of it. You can also specify resolution as a sequence of one or more modes, separated by commas (‘,’) or semicolons (‘;’); each will be tried in turn until one is found. For example:



    1440x900,1680x1050,1920x1200,2560x1600



    Or specified with depth (8, 16 or 24):



    1440x900x16,1680x1050x16,1920x1200x16,2560x1600x16



    enter image description here



    Close the Preferences dialog box and click save on the toolbar of main window. That's it!



    enter image description here



    To remove Grub Customizer run following commands in terminal:




    sudo apt-get autoremove --purge grub-customizer
    sudo add-apt-repository -r ppa:danielrichter2007/grub-customizer
    sudo apt-get update





    share|improve this answer






























      12














      There's also a GUI option available.



      Grub Customizer:



      Grub Customizer allows to edit, rename, re-order or freeze Grub entries. It also allows to change the background colors of Grub menu or add a custom picture and supports BURG customization also. You can also use Grub Customizer from a Live CD/USB environment to fix your boot issues.



      Installation:



      Hit Alt+Ctrl+T to open terminal and run following commands:




      sudo add-apt-repository ppa:danielrichter2007/grub-customizer
      sudo apt-get update
      sudo apt-get install grub-customizer


      How to use:



      Once installed, hit Alt+F2, type grub-customizer and hit Enter.



      Authenticate by giving your user password.



      Once open, click on Preferences in toolbar.



      enter image description here



      Under Appearance tab enable custom resolution, and type auto in the text box.



      enter image description here



      Alternatively under Advanced tab enable GRUB_GFXMODE and type auto in the text field in front of it. You can also specify resolution as a sequence of one or more modes, separated by commas (‘,’) or semicolons (‘;’); each will be tried in turn until one is found. For example:



      1440x900,1680x1050,1920x1200,2560x1600



      Or specified with depth (8, 16 or 24):



      1440x900x16,1680x1050x16,1920x1200x16,2560x1600x16



      enter image description here



      Close the Preferences dialog box and click save on the toolbar of main window. That's it!



      enter image description here



      To remove Grub Customizer run following commands in terminal:




      sudo apt-get autoremove --purge grub-customizer
      sudo add-apt-repository -r ppa:danielrichter2007/grub-customizer
      sudo apt-get update





      share|improve this answer




























        12












        12








        12







        There's also a GUI option available.



        Grub Customizer:



        Grub Customizer allows to edit, rename, re-order or freeze Grub entries. It also allows to change the background colors of Grub menu or add a custom picture and supports BURG customization also. You can also use Grub Customizer from a Live CD/USB environment to fix your boot issues.



        Installation:



        Hit Alt+Ctrl+T to open terminal and run following commands:




        sudo add-apt-repository ppa:danielrichter2007/grub-customizer
        sudo apt-get update
        sudo apt-get install grub-customizer


        How to use:



        Once installed, hit Alt+F2, type grub-customizer and hit Enter.



        Authenticate by giving your user password.



        Once open, click on Preferences in toolbar.



        enter image description here



        Under Appearance tab enable custom resolution, and type auto in the text box.



        enter image description here



        Alternatively under Advanced tab enable GRUB_GFXMODE and type auto in the text field in front of it. You can also specify resolution as a sequence of one or more modes, separated by commas (‘,’) or semicolons (‘;’); each will be tried in turn until one is found. For example:



        1440x900,1680x1050,1920x1200,2560x1600



        Or specified with depth (8, 16 or 24):



        1440x900x16,1680x1050x16,1920x1200x16,2560x1600x16



        enter image description here



        Close the Preferences dialog box and click save on the toolbar of main window. That's it!



        enter image description here



        To remove Grub Customizer run following commands in terminal:




        sudo apt-get autoremove --purge grub-customizer
        sudo add-apt-repository -r ppa:danielrichter2007/grub-customizer
        sudo apt-get update





        share|improve this answer















        There's also a GUI option available.



        Grub Customizer:



        Grub Customizer allows to edit, rename, re-order or freeze Grub entries. It also allows to change the background colors of Grub menu or add a custom picture and supports BURG customization also. You can also use Grub Customizer from a Live CD/USB environment to fix your boot issues.



        Installation:



        Hit Alt+Ctrl+T to open terminal and run following commands:




        sudo add-apt-repository ppa:danielrichter2007/grub-customizer
        sudo apt-get update
        sudo apt-get install grub-customizer


        How to use:



        Once installed, hit Alt+F2, type grub-customizer and hit Enter.



        Authenticate by giving your user password.



        Once open, click on Preferences in toolbar.



        enter image description here



        Under Appearance tab enable custom resolution, and type auto in the text box.



        enter image description here



        Alternatively under Advanced tab enable GRUB_GFXMODE and type auto in the text field in front of it. You can also specify resolution as a sequence of one or more modes, separated by commas (‘,’) or semicolons (‘;’); each will be tried in turn until one is found. For example:



        1440x900,1680x1050,1920x1200,2560x1600



        Or specified with depth (8, 16 or 24):



        1440x900x16,1680x1050x16,1920x1200x16,2560x1600x16



        enter image description here



        Close the Preferences dialog box and click save on the toolbar of main window. That's it!



        enter image description here



        To remove Grub Customizer run following commands in terminal:




        sudo apt-get autoremove --purge grub-customizer
        sudo add-apt-repository -r ppa:danielrichter2007/grub-customizer
        sudo apt-get update






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 28 '12 at 3:07

























        answered May 26 '12 at 10:45









        Basharat SialviBasharat Sialvi

        19.6k85276




        19.6k85276






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f103516%2fgrub2-use-maximum-detected-resolution%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?