Forum › Forums › New users › New Users and General Questions › Encrypted Live-USB
Tagged: encrypt Live-USB
- This topic has 11 replies, 4 voices, and was last updated Feb 18-1:34 am by andfree.
-
AuthorPosts
-
February 15, 2018 at 3:36 pm #6617Member
andfree
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 5 years, 2 months ago by andfree.
- This topic was modified 5 years, 2 months ago by andfree.
February 15, 2018 at 7:55 pm #6625Anonymous
::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 themissingpackageFebruary 16, 2018 at 2:36 am #6631Memberandfree
::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-commonDoes this help to identify the package?
February 16, 2018 at 10:58 am #6641Anonymous
::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.)February 16, 2018 at 1:57 pm #6647Memberandfree
::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.February 16, 2018 at 4:37 pm #6649Moderator
caprea
::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/wordsYou maybe could look if wamerican is installed.
February 16, 2018 at 6:48 pm #6650Anonymous
::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.February 17, 2018 at 4:00 am #6660Memberandfree
::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:
February 17, 2018 at 7:08 am #6667Memberandfree
::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?
February 17, 2018 at 1:19 pm #6690Anonymous
February 17, 2018 at 3:15 pm #6692Member
fungalnet
::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.anti-X - Adélie - obarun - systemd Free Space
February 18, 2018 at 1:34 am #6701Memberandfree
::? 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. -
AuthorPosts
- You must be logged in to reply to this topic.