Page 1 of 1
Resize jessie img on 64gb SDXC card
Posted: Mon Jan 11, 2016 11:27 pm
by ex_directory
I have a new shiny 64gb SDXC, I found the links to format it via windows to 64gb, but when I put the jessie img on the card it shrinks my partition down to 60mb.
What is the correct way to resize this (ideally via ssh) and can I just have one 64gb partition which is bootable?
Re: Resize jessie img on 64gb SDXC card
Posted: Mon Jan 11, 2016 11:52 pm
by malicious
The easiest way to use the entire card is:
sudo raspi-config
and select the "Expand Filesystem" option, then let the script reboot your Pi. The 60MB FAT32 partition is required for booting and should not be removed. Raspbian's root filesystem resides in an separate EXT4 partition that will span the rest of your SD card once the procedure above is performed.
Re: Resize jessie img on 64gb SDXC card
Posted: Tue Jan 12, 2016 12:08 am
by fruitoftheloom
ex_directory wrote:I have a new shiny 64gb SDXC, I found the links to format it via windows to 64gb, but when I put the jessie img on the card it shrinks my partition down to 60mb.
What is the correct way to resize this (ideally via ssh) and can I just have one 64gb partition which is bootable?
Windows only reads the 60mb FAT Partition, it is incapable of doing anything else, so your SD Card is showing correctly.
Boot from the card in your RPi and as stated above you can re-size the second partition.
Windows will not see the second partition because it is a EXT Partition, unless you use 3rd party software...

Re: Resize jessie img on 64gb SDXC card
Posted: Tue Jan 12, 2016 9:37 am
by ex_directory
Ah yes, if I open it in Windows Disk Manager I can see the second partition. Thanks.
I assume I can use all 64gb (or what is left) for that second partition.
What is the correct sequence of ssh commands to expand please - googling this seems to give about 3 different options.
Re: Resize jessie img on 64gb SDXC card
Posted: Tue Jan 12, 2016 9:40 am
by fruitoftheloom
ex_directory wrote:Ah yes, if I open it in Windows Disk Manager I can see the second partition. Thanks.
I assume I can use all 64gb (or what is left) for that second partition.
What is the correct sequence of ssh commands to expand please - googling this seems to give about 3 different options.
https://www.raspberrypi.org/documentati ... -config.md
Re: Resize jessie img on 64gb SDXC card
Posted: Tue Jan 12, 2016 12:11 pm
by ex_directory
Hi, have no means to view raspi-config as only connecting by putty to ssh!
What commands is raspi-config calling?
Re: Resize jessie img on 64gb SDXC card
Posted: Tue Jan 12, 2016 12:13 pm
by kusti8
ex_directory wrote:Hi, have no means to view raspi-config as only connecting by putty to ssh!
What commands is raspi-config calling?
You can view raspi-config via SSH. Try it.
Re: Resize jessie img on 64gb SDXC card
Posted: Tue Jan 12, 2016 12:13 pm
by ex_directory
Cool!!! Didn't know that!
Thanks.