- 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.
To get a list of partitions, run:
cat /proc/partitions
For Linix, it is better to use fdisk to analyze the disk. Run fdisk /dev/sd[a/b/x]
where the letter is the letter of your drive. If you are not aware, then take a guess.
Press i
to get information about a partition and then press a partition number.
To get the Linux partition type, you can do file -sL /dev/sd[a/b]*
When building the header files, make sure you add this to your path. If sopc-create-header-files is not found, then it is probably because you don't have it in your path export PATH=/cygdrive/c/intelFPGA_lite/16.1/quartus/sopc_builder/bin:$PATH