树莓派安装kali初始化操作


扩展分区

kali默认移除了raspi-config,在github下载一键安装脚本:https://github.com/snubbegbg/install_raspi-config,安装即可

raspi-config运行的时候,可能会报boot partition not mounted错误。此时执行:

sudo mount /dev/mmcblk0p1 /boot

大神给的解释是:

Check if your boot folder is empty using cd /boot/ in a terminal session. If so, you should be able to mount it to the SD card using a simple command.

sudo mount /dev/mmcblk0p1 /boot

All this command does is mount the boot partition on your SD card. Which explains the The boot partition is not mounted - cannot configure. error. sudo raspi-config looks for the config.txt which is located on the boot partition. If the boot partition isn't mounted, raspi-config will not be able to find your config.txt file. Thus, no configurations can be made.

That should do the trick. However, if that doesn't work then there's another problem. Good luck, tell me any other information about this problem if it comes up.

扩展分区操作参考:将树莓派系统盘扩展至整个SD卡

随后重启即可

安装kali组件

 

下载的镜像主要是kali的操作系统,可以认为是kali的框架,除了nmap,sqlmap这些名气很大的工具之外,其他的渗透工具像是metasploit默认是不安装的,要想使用kali的完全功能,需要把这些缺失的工具补上。

首先运行apt-get update 更新缓存:

apt-cache search kali-

就可以看到一些kali的组件包:

1498362148-1072-20151106

为了减少麻烦,把所有的组件全部装上:

apt-get install kali-linux-all

1498362147-7425-20151106

 

Archives