megasoft
Posts: 11
Joined: Wed Feb 18, 2015 12:55 pm

Cloning a 8GB SD (with Rasp OS) to 16GB

Sun Mar 01, 2015 6:11 am

Hi,
I used dd to clone my old 8GB SD card. After that I dd again to burn the image on a 16GB. The problem is that now the new 16 GB card is 8 GB.

When I run lsblk I get:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 14.9G 0 disk
|-mmcblk0p1 179:1 0 56M 0 part /boot
`-mmcblk0p2 179:2 0 7.4G 0 part /

This is confusing since it shows that I have a 16GB disk but the partitions seem to be 8GB. Is there a way to get the missing space available?

I also ran dd again (to clone the 16GB to my PC) and it creates a 14GB image file but once again this image has only a 8GB partition.

Thanks

megasoft
Posts: 11
Joined: Wed Feb 18, 2015 12:55 pm

Re: Cloning a 8GB SD (with Rasp OS) to 16GB

Sun Mar 01, 2015 6:46 am

Ok, found a quick solution here:
http://www.raspberrypi.org/forums/viewt ... 7&start=25

Simply use: gparted. Works great!

Thanks

User avatar
rpdom
Posts: 17174
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Cloning a 8GB SD (with Rasp OS) to 16GB

Sun Mar 01, 2015 7:46 am

As you're running Raspbian, all you needed to do was "sudo raspi-config" and select the "Expand Filesystem" option. Then let it do some stuff and reboot.

Return to “Raspberry Pi OS”