![]() Tftp -r license.key -l /mnt/key/license.key -p tftp.localĭropbear -B -p 2222 -b /etc/dropbear/banner.crypto -P /run/dropbear.pid 2>&1 >/dev/nullĭropbear -B -p 2222 -b /etc/dropbear/banner.rescue -P /run/dropbear.pid 2>&1 >/dev/nullĮcho -e "\n Something went wrong. ![]() Tftp -r license.key -l /mnt/key/license.key -g tftp.localĬryptsetup luksOpen $cryptdev cryptroot -key-file /mnt/key/license.keyĭd if=/dev/urandom of=/mnt/key/license.key bs=1024 count=$RANDOM # fttpServerIp=$(ifconfig | grep -Eo 'inet (addr:)?(*\.)') #mount -o rw $(findfs LABEL=key) /mnt/key # (c) Carl Schiller Start decryption filesystemĮxport cryptdev=$(blkid -l -o device -t TYPE=crypto_LUKS)Įcho device=$(blkid -l -o device -t TYPE=crypto_LUKS) >/etc/profile # add location of crytodevice to environment # init-script for WD Mycloud Mirror gen2 & Ex2 ultra Just for your info here is my Initrd init file: So I use Busybox for Initrd with a very minimal amount of scripts + TFTP support to download encryption key file + cryptsetup to decrypt HDD raid. ![]() My flow is that I boot from custom Initrd just to decrypt the HDD raid and switch futher booting to HDD where I have the full Debian 10. Your Initrd is too big for my /dev/mtdblock2 (5Mb). Thank you very much for paying attention to my question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |