viernes, 9 de febrero de 2018

recuperar booteo LVM + LUKS




hacer CHROOT

mount /dev/mapper/devuan-root  /mnt
mount /dev/sdaX /boot

despues entras a /mnt
#cd /mnt

mount -o bind /dev dev
mount -o bind /proc proc
mount -o bind /sys sys
mount -t tmpfs tmpfs tmp
mount --bind /dev/pts pts





#  CRYPTSETUP=y  update-initramfs -u -k 4.9.0-4-686
update-initramfs: Generating /boot/initrd.img-4.9.0-4-686
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
ERROR:
Warning: /sbin/fsck.crypto_LUKS doesn't exist, can't install to initramfs, ignoring.

solucion:
# cp /sbin/fsck.ext4  /sbin/fsck.crypto_LUKS



if got / si de da el error :
 #update-grub
Generating grub configuration file ...
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.


try first to disable lvmetad from /etc/lvm/lvm.conf and set use_lvmetad = 0
primero desactiva en   /etc/lvm/lvm.conf y pon  use_lvmetad = 0 








y despues nuevamente :

# CRYPTSETUP=y  update-initramfs -u -k 4.9.0-4-686 ; sync

#update-grub

 # update-grub
Generating grub configuration file ...
Found theme: /usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt
Found linux image: /boot/vmlinuz-4.9.0-4-686
Found initrd image: /boot/initrd.img-4.9.0-4-686
Found Windows 7 on /dev/sda3
done


 fuentes y ayuda:

https://superuser.com/questions/1093509/kali-linux-2-0-failed-to-connect-to-lvmetad-falling-back-to-device-scanning





miércoles, 24 de enero de 2018

KDE connect + DEVUAN (MATE Desktop)


 DEVUAN Jessie 😌


#aptitude install kdeconnect



Download to X86 :   https://code.launchpad.net/~vikoadi/+archive/ubuntu/ppa/+files/indicator-kdeconnect_0.1-0~41~ubuntu16.04.1_i386.deb

#dpkg -i indicator-kdeconnect_0.1-0~41~ubuntu16.04.1_i386.deb

Source to x64 : https://code.launchpad.net/~vikoadi/+archive/ubuntu/ppa/+packages 



depencies / dependencias necesarias  :

# apt install libgtk-3-dev
# apt install libappindicator3-dev
# apt install cmake
# apt install valac
# apt install python3-requests-oauthlib
# apt install python-nautilus (if you use/si usted usa  Nautilus) 
                      python-nemo (if you use /si usted usa   Nemo)
                       python-caja (if you use /si usted usa  Caja)  


on android :
https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp


and finaly/ y finalmente  :

$  indicator-kdeconnect

happy remote control :->

DEMO:



for more info:

https://community.kde.org/KDEConnect


https://albertvaka.wordpress.com/

Donarme :->

Donar a AlexLikeRock
muchas gracias por tu ayuda :->

2022

stand by ... PD: "Viva México!"