@por
fdisk /dev/sdx --where x is the sd card
m prints the help commant (really helpful)
n creates new partition
then you have to set the size, I set it with +xxxx where x is the number of sectors
then you have to format it... and repeat that to create a second partition
tar -pxjvf is the command i used to extract the rootfs (where p is needed to preserve permissions)
I hope I could help you a bit.
|