I am creating a custom embedded Linux distribution for a new unit.
So far I've been able to configure and compile my secondary bootloader , kernel and the root file system, which I now need to transfer to an SD card to test on the target hardware.
This is where the complicated bit is. My development environment is a server with IT, meaning I don't have physical access to it to write the files to the sdcard. The only thing I have is my Windows machine with win32 image writer.
What I need to do is create an
.img file, which has a
fat boot partition of around 40MB and the remaining 4GB to have the
rootfs image. How do I go about creating and mounting this image to have two partitions?