Is there a tool that can be used to partition a disk (SD card in particular) from the command line? The purpose of this is for batch processing and customized GUI.
|
feedback
|
|
I doubt it will work on an SD card, but here is the command: diskpart | |||
|
feedback
|
|
KCotreau is right. You can use DiskPart, which is more poweful as the graphical disk management tool. But there is a problem on some USB-Sticks/SD-Cards: They usually don't have a MBR (Master Boot Record) In such case you have to delete the existing partition and create a MBR. After this, you can create more than one partitions. But sometimes you have to assign drive letter manually, because Windows recognizes just the first partition. BTW: A Advantage of an existing MBR is, that you can boot from such a media. | |||
feedback
|
|
Perhaps an unusual solution, but you could just boot Linux (even off an SD card!) and use the excellent cfdisk. Or fdisk. | |||
|
feedback
|