Change Ubuntu Server 18.04 LTS Bionic Console Screen Resolution











up vote
1
down vote

favorite
1













  • Running Ubuntu 18.04 sever on a physical machine or VirtualBox?

  • Do you need/want to use the full native resolution of your screen? Higher than 640x480 / 800x600?


Then you may be stuck as I've been, because the solution that used to work on 14.04 and 16.04 doesn't work on 18.04.



Problems to solve (goals)





  1. hwinfo --framebuffer gives an empty output -> find another solution

  2. adding the usual lines to /etc/default/grub, only helps at the first stage of the boot. After GRUB2 has done its work, the resolution switches back to a lower value -> resolve this too

  3. exclude xorg based tools like xrandr (this is a server without GUI by default)

  4. increase VT1-7 (CTRL + ALT + F1, F2 - F7 ) resolution in case of Desktop systems with a GUI

  5. set the resolution to 1280x1024










share|improve this question




























    up vote
    1
    down vote

    favorite
    1













    • Running Ubuntu 18.04 sever on a physical machine or VirtualBox?

    • Do you need/want to use the full native resolution of your screen? Higher than 640x480 / 800x600?


    Then you may be stuck as I've been, because the solution that used to work on 14.04 and 16.04 doesn't work on 18.04.



    Problems to solve (goals)





    1. hwinfo --framebuffer gives an empty output -> find another solution

    2. adding the usual lines to /etc/default/grub, only helps at the first stage of the boot. After GRUB2 has done its work, the resolution switches back to a lower value -> resolve this too

    3. exclude xorg based tools like xrandr (this is a server without GUI by default)

    4. increase VT1-7 (CTRL + ALT + F1, F2 - F7 ) resolution in case of Desktop systems with a GUI

    5. set the resolution to 1280x1024










    share|improve this question


























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1






      • Running Ubuntu 18.04 sever on a physical machine or VirtualBox?

      • Do you need/want to use the full native resolution of your screen? Higher than 640x480 / 800x600?


      Then you may be stuck as I've been, because the solution that used to work on 14.04 and 16.04 doesn't work on 18.04.



      Problems to solve (goals)





      1. hwinfo --framebuffer gives an empty output -> find another solution

      2. adding the usual lines to /etc/default/grub, only helps at the first stage of the boot. After GRUB2 has done its work, the resolution switches back to a lower value -> resolve this too

      3. exclude xorg based tools like xrandr (this is a server without GUI by default)

      4. increase VT1-7 (CTRL + ALT + F1, F2 - F7 ) resolution in case of Desktop systems with a GUI

      5. set the resolution to 1280x1024










      share|improve this question
















      • Running Ubuntu 18.04 sever on a physical machine or VirtualBox?

      • Do you need/want to use the full native resolution of your screen? Higher than 640x480 / 800x600?


      Then you may be stuck as I've been, because the solution that used to work on 14.04 and 16.04 doesn't work on 18.04.



      Problems to solve (goals)





      1. hwinfo --framebuffer gives an empty output -> find another solution

      2. adding the usual lines to /etc/default/grub, only helps at the first stage of the boot. After GRUB2 has done its work, the resolution switches back to a lower value -> resolve this too

      3. exclude xorg based tools like xrandr (this is a server without GUI by default)

      4. increase VT1-7 (CTRL + ALT + F1, F2 - F7 ) resolution in case of Desktop systems with a GUI

      5. set the resolution to 1280x1024







      server grub2 18.04 virtualbox console






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 27 at 22:45

























      asked Nov 27 at 22:32









      linux64kb

      550512




      550512






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          1. Get supported video mode (use vbeinfo instead of hwinfo)




          • reboot

          • hold down SHIFT after the BIOS/UEFI finished

          • press `c´ for the GRUB command line

          • type vbeinfo, then hit ENTER

          • take a note about the supported video mode you need Mode 0x031b: 1280x1024 (+3840), 24 bits

          • reboot


          2. Modify / add the following lines to /etc/default/grub to match the ones below



          >     GRUB_CMDLINE_LINUX_DEFAULT="video=0x0345 gfxpayload=true"
          > GRUB_CMDLINE_LINUX="video=0x0345 gfxpayload=true"
          > ...
          > # 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=1280x1024x24
          > GRUB_GFXPAYLOAD=1280x1024x24
          > GRUB_GFXPAYLOAD_LINUX=1280x1024x24


          3. Update GRUB



          sudo update-grub


          4. Reboot



          sudo reboot




          Note1: I've tested the above solution with Ubuntu 18.04 Server and Desktop on VirtualBox.



          Note2: Didn't include linux terminal (emulator), putty, cygwin, conemu and other fancy tools, because this is about the bare console.





          None of the sources I used had a complete solution, but putting the parts together, solved the problem for me.



          Change Ubuntu Server 14.04 Screen Resolution



          https://ubuntuforums.org/archive/index.php/t-1468789.html






          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',
            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%2f1096629%2fchange-ubuntu-server-18-04-lts-bionic-console-screen-resolution%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            1. Get supported video mode (use vbeinfo instead of hwinfo)




            • reboot

            • hold down SHIFT after the BIOS/UEFI finished

            • press `c´ for the GRUB command line

            • type vbeinfo, then hit ENTER

            • take a note about the supported video mode you need Mode 0x031b: 1280x1024 (+3840), 24 bits

            • reboot


            2. Modify / add the following lines to /etc/default/grub to match the ones below



            >     GRUB_CMDLINE_LINUX_DEFAULT="video=0x0345 gfxpayload=true"
            > GRUB_CMDLINE_LINUX="video=0x0345 gfxpayload=true"
            > ...
            > # 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=1280x1024x24
            > GRUB_GFXPAYLOAD=1280x1024x24
            > GRUB_GFXPAYLOAD_LINUX=1280x1024x24


            3. Update GRUB



            sudo update-grub


            4. Reboot



            sudo reboot




            Note1: I've tested the above solution with Ubuntu 18.04 Server and Desktop on VirtualBox.



            Note2: Didn't include linux terminal (emulator), putty, cygwin, conemu and other fancy tools, because this is about the bare console.





            None of the sources I used had a complete solution, but putting the parts together, solved the problem for me.



            Change Ubuntu Server 14.04 Screen Resolution



            https://ubuntuforums.org/archive/index.php/t-1468789.html






            share|improve this answer



























              up vote
              1
              down vote













              1. Get supported video mode (use vbeinfo instead of hwinfo)




              • reboot

              • hold down SHIFT after the BIOS/UEFI finished

              • press `c´ for the GRUB command line

              • type vbeinfo, then hit ENTER

              • take a note about the supported video mode you need Mode 0x031b: 1280x1024 (+3840), 24 bits

              • reboot


              2. Modify / add the following lines to /etc/default/grub to match the ones below



              >     GRUB_CMDLINE_LINUX_DEFAULT="video=0x0345 gfxpayload=true"
              > GRUB_CMDLINE_LINUX="video=0x0345 gfxpayload=true"
              > ...
              > # 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=1280x1024x24
              > GRUB_GFXPAYLOAD=1280x1024x24
              > GRUB_GFXPAYLOAD_LINUX=1280x1024x24


              3. Update GRUB



              sudo update-grub


              4. Reboot



              sudo reboot




              Note1: I've tested the above solution with Ubuntu 18.04 Server and Desktop on VirtualBox.



              Note2: Didn't include linux terminal (emulator), putty, cygwin, conemu and other fancy tools, because this is about the bare console.





              None of the sources I used had a complete solution, but putting the parts together, solved the problem for me.



              Change Ubuntu Server 14.04 Screen Resolution



              https://ubuntuforums.org/archive/index.php/t-1468789.html






              share|improve this answer

























                up vote
                1
                down vote










                up vote
                1
                down vote









                1. Get supported video mode (use vbeinfo instead of hwinfo)




                • reboot

                • hold down SHIFT after the BIOS/UEFI finished

                • press `c´ for the GRUB command line

                • type vbeinfo, then hit ENTER

                • take a note about the supported video mode you need Mode 0x031b: 1280x1024 (+3840), 24 bits

                • reboot


                2. Modify / add the following lines to /etc/default/grub to match the ones below



                >     GRUB_CMDLINE_LINUX_DEFAULT="video=0x0345 gfxpayload=true"
                > GRUB_CMDLINE_LINUX="video=0x0345 gfxpayload=true"
                > ...
                > # 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=1280x1024x24
                > GRUB_GFXPAYLOAD=1280x1024x24
                > GRUB_GFXPAYLOAD_LINUX=1280x1024x24


                3. Update GRUB



                sudo update-grub


                4. Reboot



                sudo reboot




                Note1: I've tested the above solution with Ubuntu 18.04 Server and Desktop on VirtualBox.



                Note2: Didn't include linux terminal (emulator), putty, cygwin, conemu and other fancy tools, because this is about the bare console.





                None of the sources I used had a complete solution, but putting the parts together, solved the problem for me.



                Change Ubuntu Server 14.04 Screen Resolution



                https://ubuntuforums.org/archive/index.php/t-1468789.html






                share|improve this answer














                1. Get supported video mode (use vbeinfo instead of hwinfo)




                • reboot

                • hold down SHIFT after the BIOS/UEFI finished

                • press `c´ for the GRUB command line

                • type vbeinfo, then hit ENTER

                • take a note about the supported video mode you need Mode 0x031b: 1280x1024 (+3840), 24 bits

                • reboot


                2. Modify / add the following lines to /etc/default/grub to match the ones below



                >     GRUB_CMDLINE_LINUX_DEFAULT="video=0x0345 gfxpayload=true"
                > GRUB_CMDLINE_LINUX="video=0x0345 gfxpayload=true"
                > ...
                > # 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=1280x1024x24
                > GRUB_GFXPAYLOAD=1280x1024x24
                > GRUB_GFXPAYLOAD_LINUX=1280x1024x24


                3. Update GRUB



                sudo update-grub


                4. Reboot



                sudo reboot




                Note1: I've tested the above solution with Ubuntu 18.04 Server and Desktop on VirtualBox.



                Note2: Didn't include linux terminal (emulator), putty, cygwin, conemu and other fancy tools, because this is about the bare console.





                None of the sources I used had a complete solution, but putting the parts together, solved the problem for me.



                Change Ubuntu Server 14.04 Screen Resolution



                https://ubuntuforums.org/archive/index.php/t-1468789.html







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 27 at 22:42

























                answered Nov 27 at 22:32









                linux64kb

                550512




                550512






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f1096629%2fchange-ubuntu-server-18-04-lts-bionic-console-screen-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

                    Ellipse (mathématiques)

                    Quarter-circle Tiles

                    Mont Emei