- Make sure to run Cygwin with Administrator permissions!
To get a list of partitions, run:
cat /proc/partitions
It should list off your partitions. It will map them to the letter drives so you can find out which device is yours. In my case, my drive was /dev/sdc1
.
For Cygwin, check if fdisk is installed: fdisk --help
. If it is not found, you will probably need to add /usr/sbin
to your path in Cygwin. You can do this by adding export PATH="/sbin:/usr/sbin:$PATH"
to .bash_profile
(vi is installed by default on Cygwin). Running fdisk --help
now should work.