I have downloaded Kali v1.1.0 for my Raspberry Pi 2 from here.
But the file I must transfer to the SD Card is a .img.xz, not the desired .img one.
I have tried to unpack with:
$ tar -jxvf kali-1.1.0-rpi2.img.xz
bzip2: (stdin) is not a bzip2 file. tar: Child returned status 2tar: Error is not recoverable: exiting no
Installing the xz-utils package:
# apt-get install xz-utils
... seems not to solve anything (it was already installed).
Same for:
$ tar -jxvf kali-1.1.0-rpi2.img.xz
What is the correct way to extract/convert the .img.xz file to .img ?
OS X
you can just double click the file and it decompresses on the spot. #ElCapitanxz
files.tar
is for manipulating tar files; it is not a compression utility. But sincetar
automatically decompresses tar files before extracting them, people get confused...