MicroSD

From Sixsigma
Jump to: navigation, search

I've started this documentation to record what's on (some of) my MicroSD cards. New MicroSD cards on top. New images on top.

Note: when writing MicroSD images via the USB adapter, especially on tact, first chown the device for your user and then use 'dd' from your own account, running 'dd' as root is way too risky, one wrong character and you can hose your operating system!

S2

S2 is 16GB.

2020-09-03-035827

This image created below is invalid because I wrote the .xz file to the device not the .img file.

-------------------
Thu Sep 03 03:11:58
jj5@tact:/home/jj5/desktop/download
$ sudo dd bs=1M conv=fdatasync status=progress of=/dev/sde if=freedombox-stable-free_buster_a20-olinuxino-lime2-armhf.img.xz
597+1 records in
597+1 records out
626319792 bytes (626 MB, 597 MiB) copied, 40.1217 s, 15.6 MB/s
-------------------
Thu Sep 03 03:23:54

I checked the signature and I think the file downloaded okay...

-------------------
Thu Sep 03 03:44:01
jj5@tact:/home/jj5/desktop/download
$ gpg --verify freedombox-stable-free_buster_a20-olinuxino-lime2-armhf.img.xz.sig
gpg: assuming signed data in 'freedombox-stable-free_buster_a20-olinuxino-lime2-armhf.img.xz'
gpg: Signature made Sat 29 Aug 2020 23:14:58 AEST
gpg:                using RSA key 013D86D8BA32EAB4A6691BF85D4153D6FE188FC8
gpg: Good signature from "FreedomBox CI (Continuous Integration server) <admin@freedombox.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 013D 86D8 BA32 EAB4 A669  1BF8 5D41 53D6 FE18 8FC8
-------------------
Thu Sep 03 03:44:26

S1

S1 is 32GB.

2020-09-03-035838

This fixed the issue I was having because I was writing the .xz file to the device not the uncompressed .img file.

-------------------
Thu Sep 03 03:52:35
jj5@tact:/home/jj5/desktop/download
$ dd bs=1M conv=fdatasync status=progress of=/dev/sde if=freedombox-stable-free_buster_a20-olinuxino-lime2-armhf.img
3974103040 bytes (4.0 GB, 3.7 GiB) copied, 153 s, 26.0 MB/s
3800+0 records in
3800+0 records out
3984588800 bytes (4.0 GB, 3.7 GiB) copied, 189.873 s, 21.0 MB/s
-------------------
Thu Sep 03 03:56:01

2020-09-03-031838

This didn't work because I wrote the .xz file to the device... :P

-------------------
Thu Sep 03 03:09:49
jj5@tact:/home/jj5
$ sudo chown jj5:disk /dev/sde
-------------------
Thu Sep 03 03:11:10
jj5@tact:/home/jj5/desktop/download
$ dd bs=1M conv=fdatasync status=progress of=/dev/sde if=freedombox-stable-free_buster_a20-olinuxino-lime2-armhf.img.xz
597+1 records in
597+1 records out
626319792 bytes (626 MB, 597 MiB) copied, 31.0405 s, 20.2 MB/s
-------------------
Thu Sep 03 03:11:58