Every time I go to burn a new image to a thumbdrive I have to remember how. This post aims to fix that so I can just look it up.
Case in point: mfsBSD
I have downloaded mfsbsd-12.1-RELEASE-amd64.img from https://mfsbsd.vx.sk/files/images/12/amd64/
From the same URL I’ve looked in mfsbsd-12.1-RELEASE-amd64.img.sums.txt and grabbed the md5 hash.
I verified the downloaded file via:
[dan@pro02:~/Downloads] $ md5 mfsbsd-12.1-RELEASE-amd64.img | grep a79046a330938d284167dac08cc0bfcb MD5 (mfsbsd-12.1-RELEASE-amd64.img) = a79046a330938d284167dac08cc0bfcb
Yes, that matches.
Now the burn to disk.
I know to use disk3 because I looked in the OSX Disk Utility app. Choose wisely.
[dan@pro02:~/Downloads] $ sudo dd if=mfsbsd-12.1-RELEASE-amd64.img of=/dev/disk3 bs=1m 180288+0 records in 180288+0 records out 92307456 bytes transferred in 110.669449 secs (834083 bytes/sec)
And it boots.
Thank you for coming to my TED talk.