Linux - Cannot initialize device-mapper

Linux - Cannot initialize device-mapper

Ahoj, používám běžně mount zařízení s LUKS šifrováním na Raspberry Pi 3, ale teď po restartu to nejde:
cryptsetup luksOpen /dev/sdb2 luks
a dělá to chybu
Cannot initialize device-mapper. Is dm_mod kernel module loaded?



ODPOVĚĎ


Tak jsem ten problém vyřešil pomocí update Raspbianu, navíc tam byla i chyba dpkg was interrupted.


root@raspberry:~# apt-get update
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@raspberry:~# dpkg --configure -a
root@raspberry:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
iceowl-extension pix-icons pix-plym-splash pixel-wallpaper
Use 'apt-get autoremove' to remove them.
Done
The following packages will be upgraded:
bind9 bind9-host bind9utils libbind9-90 libdns-export100 libdns100
libgcrypt20 libirs-export91 libisc-export95 libisc95 libisccc90
libisccfg-export90 libisccfg90 liblwres90 libtiff5 raspi-config
16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2596 kB of archives.
After this operation, 24.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] y


Poté luksOpen funguje, takže to byla nějaká chyba v předchozím updatu Raspbianu, protože ani restarty to nevyřešily.

Našel jsem i jako radu dát USE="-caps" emerge -av libgcrypt , ale nevěděl jsem jak to použít.

Jak se ti článek líbil?

Komentáře (0)

Přidat komentář