Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
user:hum [2019/02/06 16:58]
hum writing image to sdcard with pv
user:hum [2020/05/22 20:53] (current)
hum
Line 1: Line 1:
-===== Writing a devuan image for Raspberry Pi to sd-card ===== +  * [[user:hum/self-reliance|http(sservices running on local computer(s)]] 
- +  ​* [[user:hum/upgrading_from_ascii_to_beowulf|Upgrading ​from devuan ​ascii to devuan ​beowulf]] 
-From the [[https://​ftp.fau.de/​devuan-cd/​devuan_ascii/​embedded/​README.txt|README.txt]] +  ​[[user:hum/wtfbsd|Installing wtf (package or in the home dir)]] 
- +  * The old content of my startpage ​is now at [[user:hum/pre_12-2019|pre_12-2019]].
-    # dd the raw image to a medium of your choice ​(little less than 2GB) +
-    xzcat devuan_ascii_2.0.0_armhf_sunxi.img.xz | sudo dd of=/​dev/​mmcblk0 bs=2M   +
- +
-I prefer using pv to see the progress: +
- +
-    $ xz -tv devuan_ascii_2.0.0_armel_raspi1.img.xz # Get the size of the image +
-    devuan_ascii_2.0.0_armel_raspi1.img.xz ​(1/1) +
-    100 %     145,4 MiB / 1.891,0 MiB = 0,077    79 MiB/s       ​0:​23 +
-     +
-    $ xzcat devuan_ascii_2.0.0_armel_raspi1.img.xz | pv -s 1891M > /dev/sdX # replace X with the sdcard +
-    1,85GiB 0:03:21 [9,37MiB/s[==========================================================>​100%  ​ +
- +
-=====  Are the deb-src lines in my sources.list necessary? ===== +
-You need them if you want to query/fetch/build source packages. Some other unexpected things need to do that (like the nvidia drivers). I guess they might not need it but they do need kernel headers at least. But that's right for the most part you don't need them, but it's best to have them in case you forget.  +
-(based on comments by gnarface and pardis ​from #devuan ​on freenode.org) +
- +
- +
-===== npm ===== +
-For installing npm add the backports ​to your sources.list e.g.: +
- +
-  deb http://​pkgmaster.devuan.org/​merged/​ ascii-backports main non-free contrib +
-  ​deb-src http://​pkgmaster.devuan.org/​merged/​ ascii-backports main non-free contrib +
- +
-===== writing pandoc'​s markdown and converting to dokuwiki markup ===== +
- +
-Using different kind of markup languages is not the way I like. [[https://​pandoc.org/​|pandoc]] converts from several markup languages to several markup languages. dokuwiki ​is supported as target only, not as source. To convert from pandoc'​s markdown to dokuwiki I use: +
- +
-<​code>​ +
- ​pandoc -t dokuwiki -o mypage.dokuwiki mypage.md +
-</​code>​ +
- +
- +
-==== https sources in sources.list ==== +
- +
-After reading ​[[https://​www.heise.de/​security/​meldung/​Kritische-Sicherheitsluecke-in-Debians-Update-Tools-4285012.html|Kritische Sicherheitslücke in Debians Update-Tools]] I checked /​etc/​apt/​sources.list and found my configuration with http:%%//%% "​http://​de.deb.devuan.org"​. Since https://​de.deb.devuan.org/​ throws a warning in the browser that the certificate is only valid for pkgmaster.devuan.org I changed my sources to https://​pkgmaster.devuan.org +
- +