Custom kernel boot options are lost on kernel update

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I need to add some custom boot options to grub (namely video=VGA-1:1366x768@6 to manage a 2nd monitor). Unfortunately this option is lost everytime a new kernel is installed. Is there a way to set an option so that the kernel update postinst applies to each entry ?










share|improve this question

























    up vote
    0
    down vote

    favorite












    I need to add some custom boot options to grub (namely video=VGA-1:1366x768@6 to manage a 2nd monitor). Unfortunately this option is lost everytime a new kernel is installed. Is there a way to set an option so that the kernel update postinst applies to each entry ?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I need to add some custom boot options to grub (namely video=VGA-1:1366x768@6 to manage a 2nd monitor). Unfortunately this option is lost everytime a new kernel is installed. Is there a way to set an option so that the kernel update postinst applies to each entry ?










      share|improve this question













      I need to add some custom boot options to grub (namely video=VGA-1:1366x768@6 to manage a 2nd monitor). Unfortunately this option is lost everytime a new kernel is installed. Is there a way to set an option so that the kernel update postinst applies to each entry ?







      boot grub2 kernel






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 18 at 8:13









      wilk

      1135




      1135




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You can add your custom kernel option for grub in file "/etc/default/grub" in line "GRUB_CMDLINE_LINUX_DEFAULT".






          share|improve this answer



























            up vote
            0
            down vote













            It was quite easy actually : you can set



            GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.alpha_support=1 video=VGA-1:1366x768@60"


            in /etc/default/grub.






            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: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              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%2f1026039%2fcustom-kernel-boot-options-are-lost-on-kernel-update%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote



              accepted










              You can add your custom kernel option for grub in file "/etc/default/grub" in line "GRUB_CMDLINE_LINUX_DEFAULT".






              share|improve this answer
























                up vote
                1
                down vote



                accepted










                You can add your custom kernel option for grub in file "/etc/default/grub" in line "GRUB_CMDLINE_LINUX_DEFAULT".






                share|improve this answer






















                  up vote
                  1
                  down vote



                  accepted







                  up vote
                  1
                  down vote



                  accepted






                  You can add your custom kernel option for grub in file "/etc/default/grub" in line "GRUB_CMDLINE_LINUX_DEFAULT".






                  share|improve this answer












                  You can add your custom kernel option for grub in file "/etc/default/grub" in line "GRUB_CMDLINE_LINUX_DEFAULT".







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 18 at 8:18









                  mariaczi

                  31915




                  31915






















                      up vote
                      0
                      down vote













                      It was quite easy actually : you can set



                      GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.alpha_support=1 video=VGA-1:1366x768@60"


                      in /etc/default/grub.






                      share|improve this answer
























                        up vote
                        0
                        down vote













                        It was quite easy actually : you can set



                        GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.alpha_support=1 video=VGA-1:1366x768@60"


                        in /etc/default/grub.






                        share|improve this answer






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          It was quite easy actually : you can set



                          GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.alpha_support=1 video=VGA-1:1366x768@60"


                          in /etc/default/grub.






                          share|improve this answer












                          It was quite easy actually : you can set



                          GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.alpha_support=1 video=VGA-1:1366x768@60"


                          in /etc/default/grub.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Apr 18 at 8:18









                          wilk

                          1135




                          1135



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026039%2fcustom-kernel-boot-options-are-lost-on-kernel-update%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              pylint3 and pip3 broken

                              Missing snmpget and snmpwalk

                              How to enroll fingerprints to Ubuntu 17.10 with VFS491