Could not load vboxdrv in Ubuntu 14.04 (and I want to keep secure boot)Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)Virtualbox , Ubuntu 11.10 , linux-kernel 3: cannot start virtual machineRun Oracle VM VirtualBox on Ubuntu 13.04Virtual box not working on ubuntu 15.04Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)ubuntu 16.10 virtualbox doesn't get signedCan't sign vboxdrv, mokutil thinks Secure Boot is not supported yet it isCannot enroll keys due to Shim IEFI Key Management not showing up after rebootMok Management Will Not Load on BootEnrolling MOK certificate with dkms and virtualbox-dkms (Virtualbox with secure boot enabled)virtual box kernel not found (ubuntu 16.04, vbox 5.02)

Grepping string, but include all non-blank lines following each grep match

How many people need to be born every 8 years to sustain population?

How much do grades matter for a future academia position?

Animation: customize bounce interpolation

How to write Quadratic equation with negative coefficient

Showing mass murder in a kid's book

Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?

El Dorado Word Puzzle II: Videogame Edition

Can I say "fingers" when referring to toes?

Echo with obfuscation

Check if object is null and return null

Why is the principal energy of an electron lower for excited electrons in a higher energy state?

Do I have to take mana from my deck or hand when tapping a dual land?

Why do Radio Buttons not fill the entire outer circle?

What does "tick" mean in this sentence?

Should I warn a new PhD Student?

Difference between shutdown options

Language involving irrational number is not a CFL

Why the "ls" command is showing the permissions of files in a FAT32 partition?

Deciphering cause of death?

Proving an identity involving cross products and coplanar vectors

What is the meaning of "You've never met a graph you didn't like?"

Isometric embedding of a genus g surface

How do you justify more code being written by following clean code practices?



Could not load vboxdrv in Ubuntu 14.04 (and I want to keep secure boot)


Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)Virtualbox , Ubuntu 11.10 , linux-kernel 3: cannot start virtual machineRun Oracle VM VirtualBox on Ubuntu 13.04Virtual box not working on ubuntu 15.04Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)ubuntu 16.10 virtualbox doesn't get signedCan't sign vboxdrv, mokutil thinks Secure Boot is not supported yet it isCannot enroll keys due to Shim IEFI Key Management not showing up after rebootMok Management Will Not Load on BootEnrolling MOK certificate with dkms and virtualbox-dkms (Virtualbox with secure boot enabled)virtual box kernel not found (ubuntu 16.04, vbox 5.02)













2















I encounter the exact same problem as here except I'm not able to recover using the proposed solution.



Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)



I have followed the recommended solution and everything seems fine but still the module could not be loaded.



The key seems correctly loaded:



$ sudo mokutil --list-enrolled
[key 1]
[…]
[key 2]
SHA1 Fingerprint: 0f:6f:8e:7a:39:d0:27:33:7d:eb:e0:62:cf:38:b1:af:4c:82:98:c4
Certificate:
[…]
Issuer: CN=modssign
[…]
X509v3 extensions:
X509v3 Subject Key Identifier:
83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
X509v3 Authority Key Identifier:
keyid:83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
[…]


And the module is signed with this key:



$ sudo modinfo vboxdrv
filename: /lib/modules/3.16.0-77-generic/misc/vboxdrv.ko
version: 5.1.0 r108711 (0x00260000)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
srcversion: 32F3C607C8086AE6187D18B
depends:
vermagic: 3.16.0-77-generic SMP mod_unload modversions
signer: modssign
sig_key: 83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
sig_hashalgo: sha256


But the module still failed to insert:



$ sudo modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Required key not available


Do you have any idea?
I thought I had correctly follow all the steps (including enrolling the new key at boot, etc)



More technical information:



  • Ubuntu 14.04.4 LTS freshly updated

  • Linux 3.16.0-77-generic

  • Virtualbox 5.1.0 r108711 freshly downloaded from the Virtualbox.org website

Thanks in advance for your hints!



Edit of 2016-08-23:



I think the issue is due to the fact my certificate is never loaded by the kernel at boot.



The certificate loaded by the kernel is 4a94:



$ sudo dmesg | grep 'Loaded X.509 cert'
[ 1.126207] Loaded X.509 cert 'Magrathea: Glacier signing key: 4a94aff5eff7b539906b3f2a9d0cca00dac4cbb0'


And all modules are well loaded because they are signed with this specific key (4a94):



$ sudo modinfo ip_tables | grep sig_key
sig_key: 4A:94:AF:F5:EF:F7:B5:39:90:6B:3F:2A:9D:0C:CA:00:DA:C4:CB:B0


But even if my certificate is shown in mokutil --list-enrolled, it seems to not be loaded at boot.



How could I add my certificate to the kernel at boot sequence?
Do I have to rebuild a new kernel with my certificate in it?










share|improve this question




























    2















    I encounter the exact same problem as here except I'm not able to recover using the proposed solution.



    Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)



    I have followed the recommended solution and everything seems fine but still the module could not be loaded.



    The key seems correctly loaded:



    $ sudo mokutil --list-enrolled
    [key 1]
    […]
    [key 2]
    SHA1 Fingerprint: 0f:6f:8e:7a:39:d0:27:33:7d:eb:e0:62:cf:38:b1:af:4c:82:98:c4
    Certificate:
    […]
    Issuer: CN=modssign
    […]
    X509v3 extensions:
    X509v3 Subject Key Identifier:
    83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
    X509v3 Authority Key Identifier:
    keyid:83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
    […]


    And the module is signed with this key:



    $ sudo modinfo vboxdrv
    filename: /lib/modules/3.16.0-77-generic/misc/vboxdrv.ko
    version: 5.1.0 r108711 (0x00260000)
    license: GPL
    description: Oracle VM VirtualBox Support Driver
    author: Oracle Corporation
    srcversion: 32F3C607C8086AE6187D18B
    depends:
    vermagic: 3.16.0-77-generic SMP mod_unload modversions
    signer: modssign
    sig_key: 83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
    sig_hashalgo: sha256


    But the module still failed to insert:



    $ sudo modprobe vboxdrv
    modprobe: ERROR: could not insert 'vboxdrv': Required key not available


    Do you have any idea?
    I thought I had correctly follow all the steps (including enrolling the new key at boot, etc)



    More technical information:



    • Ubuntu 14.04.4 LTS freshly updated

    • Linux 3.16.0-77-generic

    • Virtualbox 5.1.0 r108711 freshly downloaded from the Virtualbox.org website

    Thanks in advance for your hints!



    Edit of 2016-08-23:



    I think the issue is due to the fact my certificate is never loaded by the kernel at boot.



    The certificate loaded by the kernel is 4a94:



    $ sudo dmesg | grep 'Loaded X.509 cert'
    [ 1.126207] Loaded X.509 cert 'Magrathea: Glacier signing key: 4a94aff5eff7b539906b3f2a9d0cca00dac4cbb0'


    And all modules are well loaded because they are signed with this specific key (4a94):



    $ sudo modinfo ip_tables | grep sig_key
    sig_key: 4A:94:AF:F5:EF:F7:B5:39:90:6B:3F:2A:9D:0C:CA:00:DA:C4:CB:B0


    But even if my certificate is shown in mokutil --list-enrolled, it seems to not be loaded at boot.



    How could I add my certificate to the kernel at boot sequence?
    Do I have to rebuild a new kernel with my certificate in it?










    share|improve this question


























      2












      2








      2


      1






      I encounter the exact same problem as here except I'm not able to recover using the proposed solution.



      Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)



      I have followed the recommended solution and everything seems fine but still the module could not be loaded.



      The key seems correctly loaded:



      $ sudo mokutil --list-enrolled
      [key 1]
      […]
      [key 2]
      SHA1 Fingerprint: 0f:6f:8e:7a:39:d0:27:33:7d:eb:e0:62:cf:38:b1:af:4c:82:98:c4
      Certificate:
      […]
      Issuer: CN=modssign
      […]
      X509v3 extensions:
      X509v3 Subject Key Identifier:
      83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
      X509v3 Authority Key Identifier:
      keyid:83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
      […]


      And the module is signed with this key:



      $ sudo modinfo vboxdrv
      filename: /lib/modules/3.16.0-77-generic/misc/vboxdrv.ko
      version: 5.1.0 r108711 (0x00260000)
      license: GPL
      description: Oracle VM VirtualBox Support Driver
      author: Oracle Corporation
      srcversion: 32F3C607C8086AE6187D18B
      depends:
      vermagic: 3.16.0-77-generic SMP mod_unload modversions
      signer: modssign
      sig_key: 83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
      sig_hashalgo: sha256


      But the module still failed to insert:



      $ sudo modprobe vboxdrv
      modprobe: ERROR: could not insert 'vboxdrv': Required key not available


      Do you have any idea?
      I thought I had correctly follow all the steps (including enrolling the new key at boot, etc)



      More technical information:



      • Ubuntu 14.04.4 LTS freshly updated

      • Linux 3.16.0-77-generic

      • Virtualbox 5.1.0 r108711 freshly downloaded from the Virtualbox.org website

      Thanks in advance for your hints!



      Edit of 2016-08-23:



      I think the issue is due to the fact my certificate is never loaded by the kernel at boot.



      The certificate loaded by the kernel is 4a94:



      $ sudo dmesg | grep 'Loaded X.509 cert'
      [ 1.126207] Loaded X.509 cert 'Magrathea: Glacier signing key: 4a94aff5eff7b539906b3f2a9d0cca00dac4cbb0'


      And all modules are well loaded because they are signed with this specific key (4a94):



      $ sudo modinfo ip_tables | grep sig_key
      sig_key: 4A:94:AF:F5:EF:F7:B5:39:90:6B:3F:2A:9D:0C:CA:00:DA:C4:CB:B0


      But even if my certificate is shown in mokutil --list-enrolled, it seems to not be loaded at boot.



      How could I add my certificate to the kernel at boot sequence?
      Do I have to rebuild a new kernel with my certificate in it?










      share|improve this question
















      I encounter the exact same problem as here except I'm not able to recover using the proposed solution.



      Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)



      I have followed the recommended solution and everything seems fine but still the module could not be loaded.



      The key seems correctly loaded:



      $ sudo mokutil --list-enrolled
      [key 1]
      […]
      [key 2]
      SHA1 Fingerprint: 0f:6f:8e:7a:39:d0:27:33:7d:eb:e0:62:cf:38:b1:af:4c:82:98:c4
      Certificate:
      […]
      Issuer: CN=modssign
      […]
      X509v3 extensions:
      X509v3 Subject Key Identifier:
      83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
      X509v3 Authority Key Identifier:
      keyid:83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
      […]


      And the module is signed with this key:



      $ sudo modinfo vboxdrv
      filename: /lib/modules/3.16.0-77-generic/misc/vboxdrv.ko
      version: 5.1.0 r108711 (0x00260000)
      license: GPL
      description: Oracle VM VirtualBox Support Driver
      author: Oracle Corporation
      srcversion: 32F3C607C8086AE6187D18B
      depends:
      vermagic: 3.16.0-77-generic SMP mod_unload modversions
      signer: modssign
      sig_key: 83:83:25:5B:D6:6E:A0:BB:87:44:A9:8C:EA:47:58:DD:07:B9:A6:C7
      sig_hashalgo: sha256


      But the module still failed to insert:



      $ sudo modprobe vboxdrv
      modprobe: ERROR: could not insert 'vboxdrv': Required key not available


      Do you have any idea?
      I thought I had correctly follow all the steps (including enrolling the new key at boot, etc)



      More technical information:



      • Ubuntu 14.04.4 LTS freshly updated

      • Linux 3.16.0-77-generic

      • Virtualbox 5.1.0 r108711 freshly downloaded from the Virtualbox.org website

      Thanks in advance for your hints!



      Edit of 2016-08-23:



      I think the issue is due to the fact my certificate is never loaded by the kernel at boot.



      The certificate loaded by the kernel is 4a94:



      $ sudo dmesg | grep 'Loaded X.509 cert'
      [ 1.126207] Loaded X.509 cert 'Magrathea: Glacier signing key: 4a94aff5eff7b539906b3f2a9d0cca00dac4cbb0'


      And all modules are well loaded because they are signed with this specific key (4a94):



      $ sudo modinfo ip_tables | grep sig_key
      sig_key: 4A:94:AF:F5:EF:F7:B5:39:90:6B:3F:2A:9D:0C:CA:00:DA:C4:CB:B0


      But even if my certificate is shown in mokutil --list-enrolled, it seems to not be loaded at boot.



      How could I add my certificate to the kernel at boot sequence?
      Do I have to rebuild a new kernel with my certificate in it?







      14.04 drivers virtualbox secure-boot






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 '17 at 12:23









      Community

      1




      1










      asked Jul 19 '16 at 13:17









      yaapyaap

      113




      113




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Exactly same problem and same conclusions.
          Kernel is not loading signing module MOK that by other side it's present on shim as can I see by the output of te command: $mokutil --list-enrolled



          Any idea to forward ...?
          Thanks






          share|improve this answer








          New contributor




          Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.



















            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%2f800477%2fcould-not-load-vboxdrv-in-ubuntu-14-04-and-i-want-to-keep-secure-boot%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









            0














            Exactly same problem and same conclusions.
            Kernel is not loading signing module MOK that by other side it's present on shim as can I see by the output of te command: $mokutil --list-enrolled



            Any idea to forward ...?
            Thanks






            share|improve this answer








            New contributor




            Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              0














              Exactly same problem and same conclusions.
              Kernel is not loading signing module MOK that by other side it's present on shim as can I see by the output of te command: $mokutil --list-enrolled



              Any idea to forward ...?
              Thanks






              share|improve this answer








              New contributor




              Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                0












                0








                0







                Exactly same problem and same conclusions.
                Kernel is not loading signing module MOK that by other side it's present on shim as can I see by the output of te command: $mokutil --list-enrolled



                Any idea to forward ...?
                Thanks






                share|improve this answer








                New contributor




                Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                Exactly same problem and same conclusions.
                Kernel is not loading signing module MOK that by other side it's present on shim as can I see by the output of te command: $mokutil --list-enrolled



                Any idea to forward ...?
                Thanks







                share|improve this answer








                New contributor




                Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 2 hours ago









                SamelSamel

                1




                1




                New contributor




                Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Samel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



























                    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%2f800477%2fcould-not-load-vboxdrv-in-ubuntu-14-04-and-i-want-to-keep-secure-boot%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

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

                    Where is the suspend/hibernate button in GNOME Shell? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)No suspend option in UI on Bionic BeaverHow can I set sleep mode in ubuntu18.04 LTS and what is the short cut key to do so?17.10 suspend not availableUbuntu 18.04 LTS missing sleep optionUbuntu 18.04 LTS - missing suspend option when power button is pressedHow to put Thinkpad X1 Extreme to sleep in Ubuntu 18.10?Suspend Button in interactive power button menu18.04 - Keep programs running after logging outway to disable Hibernate from within gconf-editor so button disappears?How can I hibernate from GNOME Shell?How can I hibernate/suspend from the command line and do so at a specific timeNo permission to suspend/hibernate after upgrading to 12.10MATE - Missing Suspend and Hibernate buttons, pressing power button shutdowns system immediatelyUbuntu 14.04: Suspend, Hibernate and Suspend-hybrid in the menu?Change “power-button-action” comand for “hibernate” option in GNOME 3.18Shutdown / Power off button does always go to suspend on 17.10Hibernate after suspend stopped working in 17.10Why doesn't the keyboard screenshot button work on Ubuntu with GNOME shell?