As far as I know there are no good/easy ways to do this from Windows for the EXT filesystem support for Win is quite unstable. Also Win does not recognize the Unix filesystem permissions so you will most likely end-up with an unbootable system or scrambled security/files/partitioning.
What you can do is:
0) ?? I might be wrong but I believe Gparted also has a migrate option ?? (won't take away the need to create an image backup though!!!)
1) Fast and Way Too Easy: Bribe someone who owns a Mac and use Disk Utility to make an image file > Partition the Image file so it will fit > Copy to new SD.
2) take a Linux liveCD/USB/SD/Whatever and boot your Pi or PC from it. > Use the dd command to create an image of your SD. > Partition the image using Gparted /dev/deviceName > use dd command to copy image to new SD card.
3) Boot your RaspberryPi and download the
mkstage4 script. I never tried it on a RaspberryPi but I've used it successfully in lot's of Linux distributions. If you won't have to change the script a lot this is probably the fastest way with the least hocus pocus. It produces a compressed gzip or bzip archive that you can extract to a pre-formatted and mounted filesystem. You might have to make a backup of the FAT partition separately but those files you can just copy or zip. Only 'hard' part is copying the MBR to the new Disk.
DD examples: (DON'T Copy & Paste the complete commands below for you must replace /dev/something with the actual device or path on your system, If you're wrong here you might mess-up an entire hard drive's contents!!!)
Create raw image copy of a disk:
Code: Select all
sudo dd if=/dev/8gbsd of=/home/username/Backups/my-rpi-SD-image.img
Restore an image to disk:
Code: Select all
sudo dd if=/home/username/Backups/my-rpi-4GBSD-image.img of=/dev/4gbsd
Clone MBR + BootSector to a new drive:
Code: Select all
dd if=/dev/sdb of=/dev/sdc bs=512 count=2
To restore the MBR from a backup image you want to copy only the first 446 bytes:
Code: Select all
dd if=mbrbackup.img of=/dev/sdc bs=446 count=1
Clone only MBR from source disk to a new drive:
Code: Select all
dd if=/dev/sdb of=/dev/sdc bs=446 count=1