Dislocker error“Sun May 13 15:01:29 2018 [CRITICAL] Failed to open /etc/localtime: No such file or directory”

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








up vote
0
down vote

favorite












I installed the dislocker all correctly from github and I followed these steps to mount my bitlcoker encrypted volume (its /dev/sda5). Now after running this command



$ sudo dislocker -V /dev/sda5 -mypassword -- /media/bitlocker
dislocker: invalid option -- 'b'

Sun May 13 15:01:29 2018 [CRITICAL] Failed to open /etc/localtime: No such file or directory


What could be the problem?



I have followed every step described in the link and made directories as mentioned there. My guess is that this error is related to directories and their path.



I'm using ubuntu 17.10







share|improve this question


























    up vote
    0
    down vote

    favorite












    I installed the dislocker all correctly from github and I followed these steps to mount my bitlcoker encrypted volume (its /dev/sda5). Now after running this command



    $ sudo dislocker -V /dev/sda5 -mypassword -- /media/bitlocker
    dislocker: invalid option -- 'b'

    Sun May 13 15:01:29 2018 [CRITICAL] Failed to open /etc/localtime: No such file or directory


    What could be the problem?



    I have followed every step described in the link and made directories as mentioned there. My guess is that this error is related to directories and their path.



    I'm using ubuntu 17.10







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I installed the dislocker all correctly from github and I followed these steps to mount my bitlcoker encrypted volume (its /dev/sda5). Now after running this command



      $ sudo dislocker -V /dev/sda5 -mypassword -- /media/bitlocker
      dislocker: invalid option -- 'b'

      Sun May 13 15:01:29 2018 [CRITICAL] Failed to open /etc/localtime: No such file or directory


      What could be the problem?



      I have followed every step described in the link and made directories as mentioned there. My guess is that this error is related to directories and their path.



      I'm using ubuntu 17.10







      share|improve this question














      I installed the dislocker all correctly from github and I followed these steps to mount my bitlcoker encrypted volume (its /dev/sda5). Now after running this command



      $ sudo dislocker -V /dev/sda5 -mypassword -- /media/bitlocker
      dislocker: invalid option -- 'b'

      Sun May 13 15:01:29 2018 [CRITICAL] Failed to open /etc/localtime: No such file or directory


      What could be the problem?



      I have followed every step described in the link and made directories as mentioned there. My guess is that this error is related to directories and their path.



      I'm using ubuntu 17.10









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 13 at 10:56









      muru

      1




      1










      asked May 13 at 9:33









      Shubham Singh

      32




      32




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          You've got two errors here:



          dislocker: invalid option -- 'b'


          I'm guessing that your password begins with b and you've typed in the password directly after the dash, so -mypassword is more like -boyMyPasswordIsReallySecureCorrectHorseBatteryStaple. The option for entering a password is -u followed by the password, or -p followed by the recovery password. I'm assuming that you're not using the recovery password, so your command line should look like



          sudo dislocker -V /dev/sda5 -uboyMyPasswordIsReallySecureCorrectHorseBatteryStaple -- /media/bitlocker


          The second error is Failed to open /etc/localtime: No such file or directory... obviously, your /etc/localtime is missing. This should be a symbolic link to the actual file in /usr/share/zoneinfo. Read through man timedatectl and man 5 localtime; see the 'Setting Time Zone' part of https://linoxide.com/linux-command/timedatectl-change-time-date-systemd/ for an example.






          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%2f1035638%2fdislocker-errorsun-may-13-150129-2018-critical-failed-to-open-etc-localtim%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



            accepted










            You've got two errors here:



            dislocker: invalid option -- 'b'


            I'm guessing that your password begins with b and you've typed in the password directly after the dash, so -mypassword is more like -boyMyPasswordIsReallySecureCorrectHorseBatteryStaple. The option for entering a password is -u followed by the password, or -p followed by the recovery password. I'm assuming that you're not using the recovery password, so your command line should look like



            sudo dislocker -V /dev/sda5 -uboyMyPasswordIsReallySecureCorrectHorseBatteryStaple -- /media/bitlocker


            The second error is Failed to open /etc/localtime: No such file or directory... obviously, your /etc/localtime is missing. This should be a symbolic link to the actual file in /usr/share/zoneinfo. Read through man timedatectl and man 5 localtime; see the 'Setting Time Zone' part of https://linoxide.com/linux-command/timedatectl-change-time-date-systemd/ for an example.






            share|improve this answer
























              up vote
              0
              down vote



              accepted










              You've got two errors here:



              dislocker: invalid option -- 'b'


              I'm guessing that your password begins with b and you've typed in the password directly after the dash, so -mypassword is more like -boyMyPasswordIsReallySecureCorrectHorseBatteryStaple. The option for entering a password is -u followed by the password, or -p followed by the recovery password. I'm assuming that you're not using the recovery password, so your command line should look like



              sudo dislocker -V /dev/sda5 -uboyMyPasswordIsReallySecureCorrectHorseBatteryStaple -- /media/bitlocker


              The second error is Failed to open /etc/localtime: No such file or directory... obviously, your /etc/localtime is missing. This should be a symbolic link to the actual file in /usr/share/zoneinfo. Read through man timedatectl and man 5 localtime; see the 'Setting Time Zone' part of https://linoxide.com/linux-command/timedatectl-change-time-date-systemd/ for an example.






              share|improve this answer






















                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                You've got two errors here:



                dislocker: invalid option -- 'b'


                I'm guessing that your password begins with b and you've typed in the password directly after the dash, so -mypassword is more like -boyMyPasswordIsReallySecureCorrectHorseBatteryStaple. The option for entering a password is -u followed by the password, or -p followed by the recovery password. I'm assuming that you're not using the recovery password, so your command line should look like



                sudo dislocker -V /dev/sda5 -uboyMyPasswordIsReallySecureCorrectHorseBatteryStaple -- /media/bitlocker


                The second error is Failed to open /etc/localtime: No such file or directory... obviously, your /etc/localtime is missing. This should be a symbolic link to the actual file in /usr/share/zoneinfo. Read through man timedatectl and man 5 localtime; see the 'Setting Time Zone' part of https://linoxide.com/linux-command/timedatectl-change-time-date-systemd/ for an example.






                share|improve this answer












                You've got two errors here:



                dislocker: invalid option -- 'b'


                I'm guessing that your password begins with b and you've typed in the password directly after the dash, so -mypassword is more like -boyMyPasswordIsReallySecureCorrectHorseBatteryStaple. The option for entering a password is -u followed by the password, or -p followed by the recovery password. I'm assuming that you're not using the recovery password, so your command line should look like



                sudo dislocker -V /dev/sda5 -uboyMyPasswordIsReallySecureCorrectHorseBatteryStaple -- /media/bitlocker


                The second error is Failed to open /etc/localtime: No such file or directory... obviously, your /etc/localtime is missing. This should be a symbolic link to the actual file in /usr/share/zoneinfo. Read through man timedatectl and man 5 localtime; see the 'Setting Time Zone' part of https://linoxide.com/linux-command/timedatectl-change-time-date-systemd/ for an example.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 13 at 16:46









                Barton Chittenden

                647519




                647519






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035638%2fdislocker-errorsun-may-13-150129-2018-critical-failed-to-open-etc-localtim%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