DigitalGeek
Posts: 12
Joined: Sun Jan 20, 2013 3:16 pm

Expand SD space with Kali OS

Sun Mar 31, 2013 9:19 am

Hello,

i would like to know how to expand the sd card with Kali OS on Raspberry,

i cannot run the command raspi-config

thx for your help

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Expand SD space with Kali OS

Sun Mar 31, 2013 9:23 am


DigitalGeek
Posts: 12
Joined: Sun Jan 20, 2013 3:16 pm

Re: Expand SD space with Kali OS

Sun Mar 31, 2013 9:24 am

Thx you Dirks

the problem is i cannot see any config.txt file when i do
sudo nano /boot/config.txt

& i cannot "locate" because i have no place for install it

pjc123
Posts: 922
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: Expand SD space with Kali OS

Sun Mar 31, 2013 11:29 am

There are plenty of examples on this forum of using gparted or parted to do that. But, if you want to use the program that raspi-config uses, why don't you load Raspbian and look for the script that raspi-config calls to expand the card, and just copy it to your Kalix install; assuming you have two SD cards or don't mind loading the OS twice on the same card? However, it may have to be tweaked slightly for Kali Linux.
My Raspberry Pi Project Page:

https://www.flaminghellmet.com/launch/

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Expand SD space with Kali OS

Sun Mar 31, 2013 12:49 pm

the problem is i cannot see any config.txt file when i do
sudo nano /boot/config.txt
Can you see the FAT partition (with the boot loader and config files) when you read the card on a Linux / Windows PC?
If yes than you can still edit config.txt from there.

Gr
Dirk.

User avatar
cyrano
Posts: 714
Joined: Wed Dec 05, 2012 11:48 pm
Location: Belgium

Re: Expand SD space with Kali OS

Sun Mar 31, 2013 12:51 pm

The config.txt file is missing on the donwloaded Kali, but can be installed from github. Instructions here:

http://rageweb.info/2013/03/21/raspi-config-in-kali/

And you should read all the threads about Kali. It's the second time today I've posted this exact answer :lol:

DigitalGeek
Posts: 12
Joined: Sun Jan 20, 2013 3:16 pm

Re: Expand SD space with Kali OS

Mon Apr 01, 2013 2:37 am

Thx you all for your answer & sorry if this was already answered

Return to “Beginners”