Edited by tpickle at 2017-5-19 08:04
code:
- Prepare SD card
- <NEED SUDO PRIVLEDGES or remove sudo and run as root>
- echo -e "n\np\n1\n2048\n+15M\nn\np\n2\n32768\n+240M\np\nw" | sudo fdisk /dev/<CARD_LOCATION> && sudo mkfs.vfat /dev/<CARD_LOCATION>1
I am going to try this, this weekend if anyone else wants to report back, and let me know if it format your SD card and created two partitions.