This article explains how to use expand_roofs from the raspi-config tool when your raspberry pi2 is running Kali Linux.
First we download the package:
and install it with:
dpkg -i ./raspi-config_20121028_all.deb
it will probably throw an error back at you … you can fix that with:
apt-get install -f -y
now you can run:
and use expand_rootfs and use your full sd card..
Have fun 😉
I like low-power devices that you can leave somewhere for some interesting research.
Therefore I need remote access to it and turnout it was an easy task on the Raspberry Pi.
Lets first do a general update/upgrade to make sure the pi is on the latest software..
apt-get dist-upgrade -y
Now lets install the VNC server.
apt-get install x11vnc -y
Before we can start the VNC server we first need to make sure our x11 server is just running fine (if you don’t start it first VNC will throw you an error.)
(Note: If it is the first time you start your X11 environment you probably want the pi connected to an external output (hdmi) to see if the initial configuration went well on it. after that it can be disconencted from the video source and remoted into.)
Now that we have our X11 server running fine we can start our VNC server to remote into you x11 enviroment:
I would recommend to tunnel your traffic over a ssh tunnel if your Pi is on a remote location.
(Note: When you disconnect from the VNC server the server will shut down. So if you wanne connect again you need to run x11vnc & again …)