mokutil - failing for almost all options

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








up vote
2
down vote

favorite












In the past I've successfully created a certificate and signed the virtualbox kernel modules for use. Now, other than --sb-state, all other parameters I try when running mokutil fail miserably.



Basic info:



  1. Ubuntu 17.10 64bit on an Asus X99-E motherboard.

  2. All commands run as root..

Sample results:



--reset
Failed to write MokAuth
Failed to issue a reset request

--list-enrolled
Failed to read MokListRT: No such file or directory

--password
input password:
input password again:
Failed to write MokPW: Invalid argument

--import MOK.der
input password:
input password again:
Failed to enroll new keys


Possibly related info:



dmesg | grep -i mok
[ 9.114419] MODSIGN: Couldn't get UEFI MokListRT


Does anyone have any suggestions what I'm doing wrong? Where are MokAuth, MokListRT, MokPW, etc.. stored that it is failing to write to them?



One possibly related bit of info. The previous, successful, use of mokutil was prior to a hardware change. I had a raid controller that was randomly ejecting drives out of my array so I cloned the partitions on the array to an external drive, replaced the card, recreated new arrays and restored the partitions. This included Ubuntu's root partition.



Other than that - the machine is as it was when things were working..



Any thoughts most welcome.



Steve.







share|improve this question
























    up vote
    2
    down vote

    favorite












    In the past I've successfully created a certificate and signed the virtualbox kernel modules for use. Now, other than --sb-state, all other parameters I try when running mokutil fail miserably.



    Basic info:



    1. Ubuntu 17.10 64bit on an Asus X99-E motherboard.

    2. All commands run as root..

    Sample results:



    --reset
    Failed to write MokAuth
    Failed to issue a reset request

    --list-enrolled
    Failed to read MokListRT: No such file or directory

    --password
    input password:
    input password again:
    Failed to write MokPW: Invalid argument

    --import MOK.der
    input password:
    input password again:
    Failed to enroll new keys


    Possibly related info:



    dmesg | grep -i mok
    [ 9.114419] MODSIGN: Couldn't get UEFI MokListRT


    Does anyone have any suggestions what I'm doing wrong? Where are MokAuth, MokListRT, MokPW, etc.. stored that it is failing to write to them?



    One possibly related bit of info. The previous, successful, use of mokutil was prior to a hardware change. I had a raid controller that was randomly ejecting drives out of my array so I cloned the partitions on the array to an external drive, replaced the card, recreated new arrays and restored the partitions. This included Ubuntu's root partition.



    Other than that - the machine is as it was when things were working..



    Any thoughts most welcome.



    Steve.







    share|improve this question






















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      In the past I've successfully created a certificate and signed the virtualbox kernel modules for use. Now, other than --sb-state, all other parameters I try when running mokutil fail miserably.



      Basic info:



      1. Ubuntu 17.10 64bit on an Asus X99-E motherboard.

      2. All commands run as root..

      Sample results:



      --reset
      Failed to write MokAuth
      Failed to issue a reset request

      --list-enrolled
      Failed to read MokListRT: No such file or directory

      --password
      input password:
      input password again:
      Failed to write MokPW: Invalid argument

      --import MOK.der
      input password:
      input password again:
      Failed to enroll new keys


      Possibly related info:



      dmesg | grep -i mok
      [ 9.114419] MODSIGN: Couldn't get UEFI MokListRT


      Does anyone have any suggestions what I'm doing wrong? Where are MokAuth, MokListRT, MokPW, etc.. stored that it is failing to write to them?



      One possibly related bit of info. The previous, successful, use of mokutil was prior to a hardware change. I had a raid controller that was randomly ejecting drives out of my array so I cloned the partitions on the array to an external drive, replaced the card, recreated new arrays and restored the partitions. This included Ubuntu's root partition.



      Other than that - the machine is as it was when things were working..



      Any thoughts most welcome.



      Steve.







      share|improve this question












      In the past I've successfully created a certificate and signed the virtualbox kernel modules for use. Now, other than --sb-state, all other parameters I try when running mokutil fail miserably.



      Basic info:



      1. Ubuntu 17.10 64bit on an Asus X99-E motherboard.

      2. All commands run as root..

      Sample results:



      --reset
      Failed to write MokAuth
      Failed to issue a reset request

      --list-enrolled
      Failed to read MokListRT: No such file or directory

      --password
      input password:
      input password again:
      Failed to write MokPW: Invalid argument

      --import MOK.der
      input password:
      input password again:
      Failed to enroll new keys


      Possibly related info:



      dmesg | grep -i mok
      [ 9.114419] MODSIGN: Couldn't get UEFI MokListRT


      Does anyone have any suggestions what I'm doing wrong? Where are MokAuth, MokListRT, MokPW, etc.. stored that it is failing to write to them?



      One possibly related bit of info. The previous, successful, use of mokutil was prior to a hardware change. I had a raid controller that was randomly ejecting drives out of my array so I cloned the partitions on the array to an external drive, replaced the card, recreated new arrays and restored the partitions. This included Ubuntu's root partition.



      Other than that - the machine is as it was when things were working..



      Any thoughts most welcome.



      Steve.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 23 at 20:28









      sa73917

      111




      111




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You should run above commands with sudo privilege.



          eg: sudo mokutil --password to set new password






          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%2f1027585%2fmokutil-failing-for-almost-all-options%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













            You should run above commands with sudo privilege.



            eg: sudo mokutil --password to set new password






            share|improve this answer
























              up vote
              0
              down vote













              You should run above commands with sudo privilege.



              eg: sudo mokutil --password to set new password






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                You should run above commands with sudo privilege.



                eg: sudo mokutil --password to set new password






                share|improve this answer












                You should run above commands with sudo privilege.



                eg: sudo mokutil --password to set new password







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 18 at 14:01









                Maduka Jayalath

                557410




                557410



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027585%2fmokutil-failing-for-almost-all-options%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