Page 1 of 1

Resizing Sd card partitions on windows.

Posted: Sun Jul 08, 2012 4:36 pm
by charlie
I'm using a Windows system so Gparted won't work on it. Is there a Windows program that will allow me to resize the partitions?

Re: Resizing Sd card partitions on windows.

Posted: Sun Jul 08, 2012 5:57 pm
by geezbeez
I dont know of any that are free,
I'd just burn a gparted boot CD , boot your PC from the gparted CD, put in the SD card and resize the partitions on the SD card. Shut down and remove the CD when finished. This wont alter anything on your PC. Only thing is if you don't have the CD/DVD drive in your boot sequence but you should be able to find info on the net on how to do that if you dont already know. Its quite easy.

Re: Resizing Sd card partitions on windows.

Posted: Sun Jul 08, 2012 6:45 pm
by texy
Use the Debian wheezy image and you don't need to reimage before pluging into the pi.
Wheezy has a configuration script at first boot, one if the options is to resize the partitions.
T.

Re: Resizing Sd card partitions on windows.

Posted: Sun Jul 08, 2012 6:53 pm
by BobAGI
Does this mean that my Wheezy image, which was just 2 GB will now have expanded to use all available space on my 4GB SD-Card?
How can I check if this is the case? I don't have a monitor so I am running headless by connecting with SSH through PuTTY via the network.
What I mean is how can I find out how much space is available on the drive in Linux (command line)??

Re: Resizing Sd card partitions on windows.

Posted: Sun Jul 08, 2012 7:14 pm
by texy
Someone with more Linux experience can tell you about how much space is free. Note the first (boot) image will remain at ~70mb, its the other main partition that gets expanded. Once ur in the X GUI the file system tells you how much space is left.
Texy

Re: Resizing Sd card partitions on windows.

Posted: Sun Jul 08, 2012 7:20 pm
by BobAGI
I have no GUI access, just SSH via PuTTY....
So I need a commandline command to find out.

Re: Resizing Sd card partitions on windows.

Posted: Sun Jul 08, 2012 7:22 pm
by itimpi
You can use the df command to get details of mounted file systems.

Re: Resizing Sd card partitions on windows.

Posted: Sun Jul 08, 2012 7:32 pm
by texy
You can still get GUI access without having a monitor fitted. Search for tightvncserver.
T.

Re: Resizing Sd card partitions on windows.

Posted: Mon Jul 16, 2012 4:26 pm
by charlie
charlie wrote:I'm using a Windows system so Gparted won't work on it. Is there a Windows program that will allow me to resize the partitions?
By the way, there is a way to resize the partitions on the pi itself, sorry but I cant find the link to the topic that showed it.

Re: Resizing Sd card partitions on windows.

Posted: Tue Jul 17, 2012 10:41 am
by andrewmk
As itimpi said, the "df" command will show you filesystems mounted on your Pi and how much space is left on each. At the command line (logged in via SSH in your case) type:

Code: Select all

df -h
and you'll get something like this:

Code: Select all

Filesystem            Size  Used Avail Use% Mounted on
    tmpfs                  94M     0   94M   0% /lib/init/rw
    udev                   10M  136K  9.9M   2% /dev
    tmpfs                  94M     0   94M   0% /dev/shm
    rootfs                1.6G  1.6G     0 100% /
    /dev/mmcblk0p1         75M   28M   47M  38% /boot
BY the way, the -h flag means 'show the sizes in something that a human can understand'.

Andrew

Re: Resizing Sd card partitions on windows.

Posted: Tue Jul 17, 2012 6:42 pm
by chessman2212
hello, if using debian on your raspi you can read that : http://elinux.org/RPi_Resize_Flash_Partitions

Re: Resizing Sd card partitions on windows.

Posted: Wed Jul 18, 2012 3:33 am
by Ocean20
There is a free Windows partition manager called Easus partition manager. Try that.