Example of how to work with disks in Cosmos OS
To initialize the disk, you must replace your virtual machine disk with a special one with the FAT32 file system.
For VM - https://github.com/CosmosOS/Cosmos/raw/master/build/VMWare/Workstation/Filesystem.vmdk
For Hyper-V - https://github.com/CosmosOS/Cosmos/raw/master/build/HyperV/Filesystem.vhdx