Skip to content

Instantly share code, notes, and snippets.

View noxowl's full-sized avatar

Suyeong RHIE noxowl

View GitHub Profile
@noxowl
noxowl / setup_the_respeaker_w_rpi3_in_2022.md
Last active September 21, 2022 06:59
Setup the Respeaker with RPI3 in 2022

Setup the Respeaker with RPI3 in 2022 (with Kernel 4.19/32bit)

  1. Flash the SD card with latest(2020) Raspberry pi OS 4.19 kernel(32bit).
https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2020-05-28/
  1. Fix kernel version to do not accidentally update it.
sudo apt-mark hold raspberrypi-kernel
sudo apt-mark hold raspberrypi-bootloader
  1. Check zfs partition status.
# blkid
/dev/nvme0n1: PTTYPE="dos"
/dev/nvme0n1p1: UUID="okrmhV-gm3f-MC91-GejV-yONI-Xws1-uDKmIs" TYPE="LVM2_member"
/dev/sda1: LABEL="yuki" UUID="14119085054448600462" UUID_SUB="6285893604496654293" TYPE="zfs_member" PARTLABEL="zfs-d1d734cf9d112169" PARTUUID="1bf322cb-9af5-d543-a427-b22eeb9021e2"
/dev/sda9: PARTUUID="d9ca354a-f296-6d41-84a6-54d03e66b2d4"
/dev/sdb1: LABEL="yuki" UUID="14119085054448600462" UUID_SUB="3678569684473852681" TYPE="zfs_member" PARTLABEL="zfs-bfca6ce2abf2c93f" PARTUUID="bf9cdd03-3c1f-6743-93be-d7bff5c893cd"
/dev/sdb9: PARTUUID="c63caa4e-621d-3f4c-b308-8ec0cbdf5726"
/dev/sdc1: LABEL="yuki" UUID="14119085054448600462" UUID_SUB="2007402372256439981" TYPE="zfs_member" PARTLABEL="zfs-1dd2973aa2351f75" PARTUUID="4eaf10ec-d052-a64e-bcce-3deb56cffacc"

Method written by reddit user jkool702: Original Post

#!/bin/bash

cat << EOF | sudo tee '/usr/lib/systemd/system/zfs-modprobe.service'
[Unit]
Description=Import ZFS kernel modules using modprobe 
Documentation=man:modprobe(8)
DefaultDependencies=no

Keybase proof

I hereby claim:

  • I am noxowl on github.
  • I am rhie (https://keybase.io/rhie) on keybase.
  • I have a public key whose fingerprint is 6F69 7234 4875 C5E1 59C5 9689 C98C 944D 31F0 C595

To claim this, I am signing this object: