Results 1 to 11 of 11

Thread: raspberrypi install is not using whole sd card

  1. #1
    Join Date

    raspberrypi install is not using whole sd card

    I did a fresh install and have 16 gig sd card. But only 5 gigs are able to be used. How can I grow the partition to use all 16 gigs?
    root@kali:~# df -lh
    Filesystem Size Used Avail Use% Mounted on
    rootfs 4.6G 4.3G 56M 99% /
    /dev/root 4.6G 4.3G 56M 99% /
    devtmpfs 85M 0 85M 0% /dev
    tmpfs 19M 208K 19M 2% /run
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 37M 0 37M 0% /run/shm

    root@kali:~# fdisk -l

    Disk /dev/mmcblk0: 16.0 GB, 16009658368 bytes
    4 heads, 16 sectors/track, 488576 cylinders, total 31268864 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000e166e

    Device Boot Start End Blocks Id System
    /dev/mmcblk0p1 1 125000 62500 c W95 FAT32 (LBA)
    /dev/mmcblk0p2 125001 9765624 4820312 83 Linux

  2. #2
    Join Date
    I haven't played with this myself, but these sound relevant: (probably the easiest)

  3. #3
    Join Date
    I use a 32 gig SD card myself. This always happens.
    What I usually do is just expand the partition using Gparted.

  4. #4
    Use gparted to resize the partition

  5. #5
    Hey guys, I've used GParted and similar tools in the past, but I'm kind of confused by the issues I'm experiencing here.

    It's an ARM chromebook, to start.

    it's a 64gb sdxc card.

    I can boot fine into Kali, after running the 'cgpt repair x' and other cgpt commands in the instructions, but so far any changes i make to the partition setup on the sd card prevent me from booting.

    gparted notes that the gpt is not using the whole disk - i can fix or ignore it. once i fix it, I can't reboot back into Kali. The partitions otherwise check out, though gparted doesn't understand the FS for the chrome kernel partitions.

    Ya'll think you could help me out, or should i create my own chromebook-specific thread?

  6. #6
    Keep it simple. Create a bootable gparted USB ISO using Linux Pen Drive or unetbootin. Boot gparted from USB, insert your Kali sd card, then refresh so gparted can see the sd card.

    Once you're in the gparted GUI, partition resizing should be pretty straightforward.

    By the way, I thought we were talking about the raspberry pi, not chromebook.
    Last edited by clearday; 2013-03-31 at 22:40.

  7. #7
    Join Date
    I'm having the same issues with both raspberry pi and chromebook images...

    I'm tried resizing in in a live distro gparted with the same errors reported in this thread (and the one discussing the chromebook image.)

    Perhaps someone that has done it before successfully (with these images) could post a step-by-step to help us out? I've used gparted in
    the past and never encountered a problem like this...

  8. #8
    Join Date

    rapi-config on kali BOOM!

    copy pasta this:

    dpkg -i triggerhappy_0.3.4-2_armel.deb
    dpkg -i lua5.1_5.1.5-4_armel.deb
    dpkg -i raspi-config_20121028_all.deb

    hit enter.

    open terminal. type "raspi-config" arrow down to expand rootfs. hit enter again.
    now reboot.

    No need for thanks my name is Frank, if you see me at derbycon you can buy me a beer. Ha!

  9. #9
    Join Date
    oops double posted
    Last edited by ciphersson; 2013-04-04 at 19:40. Reason: double post

  10. #10
    @ciphersson, @clearday

    those instructions look awesome and useful and when i get a sec I'll look through relevant documentation if there is any.

    I originally posted in this thread because of the shared ARM architecture, and because I have this thing against opening new threads if unnecessary. Anyway, someone else opened up a similar thread for the chromebook specifically. I'm cross-referencing the threads in the hopes that there is a simple answer that won't require modification other than perhaps cross-compiling the .deb above.

    not to say that the above hasn't worked, but it takes between half an hour to an hour to DD the .img for me. I'll give it a shot this weekend.

    Edit: Frank, there may be no need but thanks anyway!

    Would that config allow me to create additional partitions? See my post in the thread i linked for more specific information.
    Last edited by sickn3ss; 2013-04-05 at 19:40.

  11. #11
    Join Date
    Worked perfectly ... many thanks !

Similar Threads

  1. Raspberrypi 4 autologin
    By thefugue in forum ARM Archive
    Replies: 2
    Last Post: 2021-03-07, 17:30
  2. Is SSH enabled by default on Kali RaspberryPi distro?
    By Kali Arte Martial in forum ARM Archive
    Replies: 0
    Last Post: 2020-09-19, 09:11
  3. RaspberryPi 3 Kali Bluethoot no devices
    By Vitama in forum ARM Archive
    Replies: 3
    Last Post: 2016-11-27, 19:29
  4. RaspberryPi 3 Waveshare 4''LCD Touchscreen
    By Vitama in forum ARM Archive
    Replies: 3
    Last Post: 2016-11-12, 22:35
  5. RaspberryPi fun with Kali Linux
    By ijnnji in forum ARM Archive
    Replies: 1
    Last Post: 2013-04-10, 10:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts