If you have encrypted /boot, make sure it's LUKS1, GRUB doesn't support LUKS2 , if you want to use LUKS2 make sure it is the pbkdf2 and not argon , as it is not supported as of yet and is the default one used by LUKS2, so take care of it. cryptsetup luksDump /dev/sda** BOOT INTO THE LIVE ENVIRONMENT Make folders for mount mkdir /mnt/ boot mkdir /mnt/ boot/efi #Decrypt luks drives / and /boot Cryptsetup luksOpen /dev/ sda** mount-name-x // both root and boot mount -o subvol=@ /dev/m apper /mount-name-root /m nt mount /dev/m apper /mount-name-boot /m nt/boot mount /dev/ sda1 /mnt/ boot/efi #Bind /dev /proc /sys /run mount --bind /dev /m nt/dev mount --bind /proc /m nt/proc mount --bind /sys /m nt/sys mount --bind /run /m nt/run update-grub // Update the grub config (grub.cfg) based on current working update-initramfs -u // Update the initramfs grub-install /dev/ sda // Update the efi one, only use when /boot part is changed aka change in / dev /sda-boot, like when you en...
Compile your own open-appsec for raspberry-pi 5 //Install Dependencies wget https: //downloads.openappsec.io/open-appsec-install sudo apt install -y build-essential cmake git libssl- dev libcurl4-openssl- dev \ libboost- all - dev libjsoncpp- dev pkg-config sudo apt install libgtest- dev sudo apt install doxygen sudo apt- get install libgmock- dev sudo apt- get install libmaxminddb- dev sudo apt- get install libpcre2- dev sudo apt- get install libhiredis- dev sudo apt- get install libxml2- dev sudo apt- get update && sudo apt- get install -y \ libboost- dev \ libssl- dev \ libpcre2- dev \ libxml2- dev \ libgtest- dev \ libcurl4-openssl- dev \ libhiredis- dev \ redis-server \ libmaxminddb- dev //Compile & Make git clone https: //github.com/openappsec/openappsec.git cd openappsec/ cmake -DCMAKE_INSTALL_PREFIX=build_out . sudo make install sudo make package wget https://github.com/mikefarah/yq/releases/d...