automating the format/burn process - Raspberry Pi Forums


due fact need burn rasbian img files often, trying automate process of formatting microsd , burning img file on it.

format microsd i’ve created batch file
fat32.cmd

code: select all

diskpart /s fat32.txt
fat32.txt

code: select all

list disk select disk 1 clean create partition primary select partition 1 active format fs=fat32 quick exit
takes care of first part. need butn img file on microsd.
ideas on how can achieve batch file?

aristosv wrote:due fact need burn rasbian img files often, trying automate process of formatting microsd , burning img file on it.

format microsd i’ve created batch file
fat32.cmd
if using ".img" file , not noobs, not need format sd card first. pointless image overwrites everything. image of raw disk, , therefore includes partition table , 2 partitions, ready formatted.
see instructions on download page:-
https://www.raspberrypi.org/documentati ... /readme.md
see makes no mention of "formatting".


raspberrypi



Comments