1

I want to expand my filesystem, so I tried to follow this tutorial to expand it, but it did not work.

enter image description here

I had to fix it. To expand the file system of my SD-card of 16 Gb, I had to install gparted and move the partition to the entire size of my SD.

Matze
  • 103
  • 4
skatedan
  • 51
  • 1
  • 1
  • 8

4 Answers4

5

A quicker solution:

  • Run apt-get install gparted

  • GUI pops up

  • Select ext4 + right click + "resize/move"
  • Get all available space + "resize"
  • "Apply All Operations"
Aurora0001
  • 6,357
  • 3
  • 25
  • 39
cizzbar
  • 51
  • 1
  • 3
2

This will do it ... sudo kalipi-config

1

You can do this on GParted with another computer. Open GParted, go to your SD card, unmount it, right click, and press resize/something.

Aurora0001
  • 6,357
  • 3
  • 25
  • 39
pcs3rd
  • 25
  • 6
0

Here is the solution: Installing Kali Pi using all available storage space?

If you try download the raspi-config, please use the newest version raspi-config_20160322_all.deb

@Edit: I found working script for Kali:

wget -O /boot/raspi-expand-rootfs.sh http://dl.linhost.info/file1/raspi-expand-rootfs.sh
chmod +x /boot/raspi-expand-rootfs.sh
sh /boot/raspi-expand-rootfs.sh

Source: https://linhost.info/2015/05/expand-the-root-partition-in-kali-linux-for-the-raspberry-pi/

Huczu
  • 1,251
  • 9
  • 13