Encrypted Live-USB

Forum › Forums › New users › New Users and General Questions › Encrypted Live-USB

  • This topic has 11 replies, 4 voices, and was last updated Feb 18-1:34 am by andfree.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #6617
    andfree
    Member

      I’m trying to create an encrypted Live-USB of antiX-17_386-base.iso. In two different laptops with antiX-17-base installed, the Live-USB Maker gives me the same error:

      :Could not read words file /usr/share/dict/words

      Normal mode option works fine.

      • This topic was modified 8 years, 7 months ago by andfree.
      • This topic was modified 8 years, 7 months ago by andfree.
      #6625
      Anonymous

        you can:
        dpkg-query -S /usr/share/dict/words
        to determine whether an already installed package is (was) expected to provide /usr/share/dict/words
        If you identify which package, reinstall that package and check whether the missing file is now present.
        (If still not present following reinstall, merits a followup bug report)

        If you cannot identify the package via dpkg-query, sudo apt-get install apt-file
        read the apt-file manpage
        use apt-file to determine which package would provide /usr/share/dict/words
        sudo apt-get install themissingpackage

        #6631
        andfree
        Member

          Thank you for helping me.

          $ dpkg-query -S /usr/share/dict/words
          diversion by dictionaries-common from: /usr/share/dict/words
          diversion by dictionaries-common to: /usr/share/dict/words.pre-dictionaries-common

          Does this help to identify the package?

          #6641
          Anonymous

            yes.
            Installing “dictionaries-common” package should resolve the “can’t find words file” error.
            (FWIW, live-usb-maker uses that words file to generate a suggested passphrase when you choose to apply encryption.)

            #6647
            andfree
            Member

              Installing “dictionaries-common” package should resolve the “can’t find words file” error.

              It seems to be already installed:

              $ sudo apt-get install dictionaries-common
              Reading package lists... Done
              Building dependency tree       
              Reading state information... Done
              dictionaries-common is already the newest version (1.27.2).
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              #6649
              caprea
              Moderator

                Here it looks like this

                helga@antix1:~
                $ dpkg-query -S /usr/share/dict/words
                Umleitung durch dictionaries-common von: /usr/share/dict/words
                Umleitung durch dictionaries-common zu: /usr/share/dict/words.pre-dictionaries-common
                wamerican: /usr/share/dict/words

                You maybe could look if wamerican is installed.

                #6650
                Anonymous

                  sorry, andfree, I’m not using encyrption (have never used/tested that live-usb-maker feature) and I assumed it would use dictionaries-common if no localized dictionary is installed. I reviewed the code and see that Caprea is correct, the use of the encryption feature depends on “wamerican” ~~ live-usb-maker does not consult any a localized dictionary.

                  At this point, I’m uncertain whether both “wamerican” and “dictionaries-common” are required (I suspect the latter is not needed) so, try:
                  sudo apt-get purge dictionaries-common
                  sudo apt-get install wamerican
                  then launch live-usb-maker.

                  If no errors, we’ll know dictionaries-common is in fact not required.
                  If you still encounter an error message, install dictionaries-common again before retrying live-usb-maker.

                  #6660
                  andfree
                  Member

                    At this point, I’m uncertain whether both “wamerican” and “dictionaries-common” are required (I suspect the latter is not needed) so, try:
                    sudo apt-get purge dictionaries-common
                    sudo apt-get install wamerican
                    then launch live-usb-maker.

                    If no errors, we’ll know dictionaries-common is in fact not required.

                    No errors, so dictionaries-common seems to not be required for this. On the other hand, removing dictionaries-common also removed some more packages (among them: abiword, midori, sylpheed; more info in the attached terminal output).

                    Thanks to both of you for the help.

                    Attachments:
                    #6667
                    andfree
                    Member

                      I’d like to ask something more. When I boot from the laptop’s hard disk, how can I gain access to the encrypted usb flash disk storage?

                      #6690
                      Anonymous

                        ? websearch “linux mount encrypted volume”

                        #6692
                        fungalnet
                        Member

                          I suspect either putting it on /etc/fstab as an encrypted volume or have adequate software to mount encrypted volumes, like by clicking them to mount on a filemanager.
                          The problem with fstab is it may create an error and slow down booting when the volume is disconnected, physically, but there is a certain degree of safety to be asked for a passphrase to unlock it before networking goes up.

                          #6701
                          andfree
                          Member

                            ? websearch “linux mount encrypted volume”

                            Thanks for the indication. This did the job:

                            $ udisksctl unlock -b /dev/sdb2
                            Passphrase: 
                            Unlocked /dev/sdb2 as /dev/dm-0.
                            yyy@antix1:~
                            $ udisksctl mount -b /dev/dm-0
                            Mounted /dev/dm-0 at /media/yyy/antiX-Live-usb.
                          Viewing 12 posts - 1 through 12 (of 12 total)
                          • You must be logged in to reply to this topic.