On a Raspberry Pi with the raspbian distro i need to make an extra partition that can be read from both windows and linux. So i use FDISK on /dev/mmcblk0 (the sd card) to create a new partition which is a FAT32 partition like soDevice         Boot   Start      End  Sectors   Size Id Type/dev/mmcblk0p1           16   125055   125040  61.1M  b W95 FAT32/dev/mmcblk0p2       125056  2000000  1874945 915.5M 83 Linux/dev/mmcblk0p3 *    2000001 15523839 13523839   6.5G  c W95 FAT32 (LBA)After i have written the above and rebooted the device there is no extra drive or anything listed like the above partition, which i determine by using the df -h command:Filesystem      Size  Used Avail Use% Mounted on/dev/root       885M  442M  384M  54% /devtmpfs        483M     0  483M   0% /devtmpfs           487M     0  487M   0% /dev/shmtmpfs           487M  6.5M  481M   2% /runtmpfs           5.0M     0  5.0M   0% /run/locktmpfs           487M     0  487M   0% /sys/fs/cgrouptmpfs           487M     0  487M   0% /tmp/dev/mmcblk0p1   61M   35M   27M  57% /boottmpfs            98M     0   98M   0% /run/user/0I might be approachung this in a very wrong way, since im not used to this kind of task, but can you please assist me how to do this correctly. The partition needs to be visible inside the linux terminal (mounted) and also visible if i pull out the card and plug it into a windows pc
Paritioning a SD Card with both Linux and Fat32 partitions
partition;fdisk;fat32
As we discussed the issue was that fdisk does not create a filesystem, it only creates partitions.To create a FAT32 filesystem on raspbian you need to install dosfstools and then use mkfs.vfat as follows:mkfs.vfat -F 32 <device>In this specific casemkfs.vfat -F 32 /dev/mmcblk0p3After this the device is mountable.Note:  FAT32 has no uid/gid or access permissions written to the files on the filesystem.  Therefore you may want to use the -o option of mount to use the files as a normal user.  For examplemount -o uid=myuser /dev/mmcblk0p3 /home/myuser/mymountpoint