i would like expand my filesystem, i try to follow this tutorial to expand filesystem, but don't work.

enter image description here

i had fix it. to expand a file system of my sd card of 16 GB i had install gparted and move partition on all size of my SD! Thanks for the help!


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/

  • i have installed it but don't work expand file system – skatedan Apr 27 '16 at 17:23
  • 1
    So you need to follow this guide: elinux.org/RPi_Resize_Flash_Partitions – Huczu Apr 27 '16 at 17:24
  • i had modified a question, because i can't to do :( – skatedan Apr 27 '16 at 17:51
  • If you are doing it on Raspberry Pi follow this section: elinux.org/… otherwise use another sections. – Huczu Apr 27 '16 at 18:02
  • ok, when i run 'W' to write the new partition table, return me error: Re-reading the partition table failed.:Device or resource Busy – skatedan Apr 27 '16 at 18:19

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"

This will do it ... sudo kalipi-config

  • This did the trick for me. – RasmusGP Jun 26 at 15:01

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.