# Omitted "$" sign for the convenience # Just copy and paste into the connected SSH shell sudo mount -o bind /proc /mnt/proc sudo mount -o bind /sys /mnt/sys sudo mount -o bind /dev /mnt/dev sudo cp -R /lib/modules/$(uname -r) /mnt/lib/modules/ sudo chroot /mnt cd /boot sudo update-initramfs -c -t -k $(uname -r) sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n uInitrd -d /boot/initrd.img-$(uname -r) /boot/uInitrd-$(uname -r) sudo cp /boot/uInitrd-$(uname -r) /media/boot/uInitrd