Hi everyone. So I created my Raspberry pi setup and everything was great. I originally used a 4gb card and I made an image out of it. I then decided to write it to a 16gb sdcard since I needed some more space, but now I notice that the pi only recognizes the original 4gb space, and so the rest 12gb are pretty much not recognized anymore.
Is there anything I can do to expand the size of the image to utilize the 16gb sdcard?
It seems unnecessarily complicated to have to setup a whole new card if you want to expand the size.
Thanks guys!
-
- Posts: 38
- Joined: Mon Jan 06, 2014 1:59 am
Re: 4GB SD Card image to 16GB SD Card - only 4GB storage sho
If it's a non-noobs setup from a foundation image then you should be able to use the expand rootfs option is raspi-config.
If you have a linux box available gparted should be able to resize the partitions.
If you have a linux box available gparted should be able to resize the partitions.
Re: 4GB SD Card image to 16GB SD Card - only 4GB storage sho
Open terminal, type sudo raspi-config select expand roots
You could say my love for Linux is terminal 

- DougieLawson
- Posts: 42160
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
Re: 4GB SD Card image to 16GB SD Card - only 4GB storage sho
That does not work for a NOOBS card.theoscy wrote:Open terminal, type sudo raspi-config select expand roots
For a NOOBS card you need to boot an alternative copy of Raspbian, mount your 16GB card in a USB SDCard reader and use parted or gparted to resize the extended partition and resize the ext4 partitions in that extended partition.
Languages using left-hand whitespace for syntax are ridiculous
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.