How to lock down one specific kernel out of several

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








up vote
1
down vote

favorite












I am currently on kernel 4.13.0-38-generic and I am happy to stay on the upgrade path, but I want to keep kernel 4.4.0-119-generic as-is (because virtualbox works for me on that one).



Using synaptic, I have locked the following.



  • linux-headers-4.4.0-119-generic

  • linux-image-4.4.0-119-generic

  • linux-image-extra-4.4.0-119-generic

Will that be sufficient or is there more that I need to do?










share|improve this question

























    up vote
    1
    down vote

    favorite












    I am currently on kernel 4.13.0-38-generic and I am happy to stay on the upgrade path, but I want to keep kernel 4.4.0-119-generic as-is (because virtualbox works for me on that one).



    Using synaptic, I have locked the following.



    • linux-headers-4.4.0-119-generic

    • linux-image-4.4.0-119-generic

    • linux-image-extra-4.4.0-119-generic

    Will that be sufficient or is there more that I need to do?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am currently on kernel 4.13.0-38-generic and I am happy to stay on the upgrade path, but I want to keep kernel 4.4.0-119-generic as-is (because virtualbox works for me on that one).



      Using synaptic, I have locked the following.



      • linux-headers-4.4.0-119-generic

      • linux-image-4.4.0-119-generic

      • linux-image-extra-4.4.0-119-generic

      Will that be sufficient or is there more that I need to do?










      share|improve this question













      I am currently on kernel 4.13.0-38-generic and I am happy to stay on the upgrade path, but I want to keep kernel 4.4.0-119-generic as-is (because virtualbox works for me on that one).



      Using synaptic, I have locked the following.



      • linux-headers-4.4.0-119-generic

      • linux-image-4.4.0-119-generic

      • linux-image-extra-4.4.0-119-generic

      Will that be sufficient or is there more that I need to do?







      kernel synaptic






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 18 at 3:33









      Humphrey van Polanen Petel

      62




      62




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          For virtualbox you should install DKMS package:



          sudo apt-get install dkms


          You should not pin kernel versions as they contain security and stability fixes! Meltdown & Spectre as examples.



          Continue only if you are completely sure what you are doing.



          For kernel packages pinning see my other answer.



          If you understand what you are going to achieve (with lowering security, of course) - you should pin the following packages:



          • linux-headers-4.4.0-119

          • linux-headers-4.4.0-119-generic

          • linux-headers-generic

          • linux-image-4.4.0-119-generic

          • linux-image-extra-4.4.0-119-generic

          • linux-image-generic

          • linux-tools-4.4.0-119

          • linux-tools-4.4.0-119-generic

          • linux-libc-dev

          • linux-libc-dev:i386

          • linux-tools-common

          • linux-source

          • linux-source-4.4.0

          To make Synaptic and APT pins consistent (see my other answer):



          sudo ln -s /etc/apt/preferences.d/synaptic /var/lib/synaptic/preferences





          share|improve this answer




















          • The reason I want to run 4.4.0-119 is that that was the last kernel that I could run VirtualBox with (see bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1764935) and I need to be able to run Microsoft Word/Excel until I have upskilled myself to use LibreOffice Writer/Calc.
            – Humphrey van Polanen Petel
            Apr 19 at 5:29










          • I recommend to use VirtualBox from Oracle repository. It is newer and runs normally with any kernel.
            – N0rbert
            Apr 19 at 8:49










          • I know, but not on my hardware (I tried). Problem is that Oracle has been phasing out support for 'raw mode' and my box needs that.
            – Humphrey van Polanen Petel
            Apr 20 at 1:04










          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%2f1025988%2fhow-to-lock-down-one-specific-kernel-out-of-several%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          For virtualbox you should install DKMS package:



          sudo apt-get install dkms


          You should not pin kernel versions as they contain security and stability fixes! Meltdown & Spectre as examples.



          Continue only if you are completely sure what you are doing.



          For kernel packages pinning see my other answer.



          If you understand what you are going to achieve (with lowering security, of course) - you should pin the following packages:



          • linux-headers-4.4.0-119

          • linux-headers-4.4.0-119-generic

          • linux-headers-generic

          • linux-image-4.4.0-119-generic

          • linux-image-extra-4.4.0-119-generic

          • linux-image-generic

          • linux-tools-4.4.0-119

          • linux-tools-4.4.0-119-generic

          • linux-libc-dev

          • linux-libc-dev:i386

          • linux-tools-common

          • linux-source

          • linux-source-4.4.0

          To make Synaptic and APT pins consistent (see my other answer):



          sudo ln -s /etc/apt/preferences.d/synaptic /var/lib/synaptic/preferences





          share|improve this answer




















          • The reason I want to run 4.4.0-119 is that that was the last kernel that I could run VirtualBox with (see bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1764935) and I need to be able to run Microsoft Word/Excel until I have upskilled myself to use LibreOffice Writer/Calc.
            – Humphrey van Polanen Petel
            Apr 19 at 5:29










          • I recommend to use VirtualBox from Oracle repository. It is newer and runs normally with any kernel.
            – N0rbert
            Apr 19 at 8:49










          • I know, but not on my hardware (I tried). Problem is that Oracle has been phasing out support for 'raw mode' and my box needs that.
            – Humphrey van Polanen Petel
            Apr 20 at 1:04














          up vote
          0
          down vote













          For virtualbox you should install DKMS package:



          sudo apt-get install dkms


          You should not pin kernel versions as they contain security and stability fixes! Meltdown & Spectre as examples.



          Continue only if you are completely sure what you are doing.



          For kernel packages pinning see my other answer.



          If you understand what you are going to achieve (with lowering security, of course) - you should pin the following packages:



          • linux-headers-4.4.0-119

          • linux-headers-4.4.0-119-generic

          • linux-headers-generic

          • linux-image-4.4.0-119-generic

          • linux-image-extra-4.4.0-119-generic

          • linux-image-generic

          • linux-tools-4.4.0-119

          • linux-tools-4.4.0-119-generic

          • linux-libc-dev

          • linux-libc-dev:i386

          • linux-tools-common

          • linux-source

          • linux-source-4.4.0

          To make Synaptic and APT pins consistent (see my other answer):



          sudo ln -s /etc/apt/preferences.d/synaptic /var/lib/synaptic/preferences





          share|improve this answer




















          • The reason I want to run 4.4.0-119 is that that was the last kernel that I could run VirtualBox with (see bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1764935) and I need to be able to run Microsoft Word/Excel until I have upskilled myself to use LibreOffice Writer/Calc.
            – Humphrey van Polanen Petel
            Apr 19 at 5:29










          • I recommend to use VirtualBox from Oracle repository. It is newer and runs normally with any kernel.
            – N0rbert
            Apr 19 at 8:49










          • I know, but not on my hardware (I tried). Problem is that Oracle has been phasing out support for 'raw mode' and my box needs that.
            – Humphrey van Polanen Petel
            Apr 20 at 1:04












          up vote
          0
          down vote










          up vote
          0
          down vote









          For virtualbox you should install DKMS package:



          sudo apt-get install dkms


          You should not pin kernel versions as they contain security and stability fixes! Meltdown & Spectre as examples.



          Continue only if you are completely sure what you are doing.



          For kernel packages pinning see my other answer.



          If you understand what you are going to achieve (with lowering security, of course) - you should pin the following packages:



          • linux-headers-4.4.0-119

          • linux-headers-4.4.0-119-generic

          • linux-headers-generic

          • linux-image-4.4.0-119-generic

          • linux-image-extra-4.4.0-119-generic

          • linux-image-generic

          • linux-tools-4.4.0-119

          • linux-tools-4.4.0-119-generic

          • linux-libc-dev

          • linux-libc-dev:i386

          • linux-tools-common

          • linux-source

          • linux-source-4.4.0

          To make Synaptic and APT pins consistent (see my other answer):



          sudo ln -s /etc/apt/preferences.d/synaptic /var/lib/synaptic/preferences





          share|improve this answer












          For virtualbox you should install DKMS package:



          sudo apt-get install dkms


          You should not pin kernel versions as they contain security and stability fixes! Meltdown & Spectre as examples.



          Continue only if you are completely sure what you are doing.



          For kernel packages pinning see my other answer.



          If you understand what you are going to achieve (with lowering security, of course) - you should pin the following packages:



          • linux-headers-4.4.0-119

          • linux-headers-4.4.0-119-generic

          • linux-headers-generic

          • linux-image-4.4.0-119-generic

          • linux-image-extra-4.4.0-119-generic

          • linux-image-generic

          • linux-tools-4.4.0-119

          • linux-tools-4.4.0-119-generic

          • linux-libc-dev

          • linux-libc-dev:i386

          • linux-tools-common

          • linux-source

          • linux-source-4.4.0

          To make Synaptic and APT pins consistent (see my other answer):



          sudo ln -s /etc/apt/preferences.d/synaptic /var/lib/synaptic/preferences






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 18 at 17:27









          N0rbert

          15.7k33274




          15.7k33274











          • The reason I want to run 4.4.0-119 is that that was the last kernel that I could run VirtualBox with (see bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1764935) and I need to be able to run Microsoft Word/Excel until I have upskilled myself to use LibreOffice Writer/Calc.
            – Humphrey van Polanen Petel
            Apr 19 at 5:29










          • I recommend to use VirtualBox from Oracle repository. It is newer and runs normally with any kernel.
            – N0rbert
            Apr 19 at 8:49










          • I know, but not on my hardware (I tried). Problem is that Oracle has been phasing out support for 'raw mode' and my box needs that.
            – Humphrey van Polanen Petel
            Apr 20 at 1:04
















          • The reason I want to run 4.4.0-119 is that that was the last kernel that I could run VirtualBox with (see bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1764935) and I need to be able to run Microsoft Word/Excel until I have upskilled myself to use LibreOffice Writer/Calc.
            – Humphrey van Polanen Petel
            Apr 19 at 5:29










          • I recommend to use VirtualBox from Oracle repository. It is newer and runs normally with any kernel.
            – N0rbert
            Apr 19 at 8:49










          • I know, but not on my hardware (I tried). Problem is that Oracle has been phasing out support for 'raw mode' and my box needs that.
            – Humphrey van Polanen Petel
            Apr 20 at 1:04















          The reason I want to run 4.4.0-119 is that that was the last kernel that I could run VirtualBox with (see bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1764935) and I need to be able to run Microsoft Word/Excel until I have upskilled myself to use LibreOffice Writer/Calc.
          – Humphrey van Polanen Petel
          Apr 19 at 5:29




          The reason I want to run 4.4.0-119 is that that was the last kernel that I could run VirtualBox with (see bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1764935) and I need to be able to run Microsoft Word/Excel until I have upskilled myself to use LibreOffice Writer/Calc.
          – Humphrey van Polanen Petel
          Apr 19 at 5:29












          I recommend to use VirtualBox from Oracle repository. It is newer and runs normally with any kernel.
          – N0rbert
          Apr 19 at 8:49




          I recommend to use VirtualBox from Oracle repository. It is newer and runs normally with any kernel.
          – N0rbert
          Apr 19 at 8:49












          I know, but not on my hardware (I tried). Problem is that Oracle has been phasing out support for 'raw mode' and my box needs that.
          – Humphrey van Polanen Petel
          Apr 20 at 1:04




          I know, but not on my hardware (I tried). Problem is that Oracle has been phasing out support for 'raw mode' and my box needs that.
          – Humphrey van Polanen Petel
          Apr 20 at 1:04

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025988%2fhow-to-lock-down-one-specific-kernel-out-of-several%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