「誤家庭における小規模ネットワーク構築/Raspberry Piセットアップ」の版間の差分

提供: Medeshima wiki
ナビゲーションに移動 検索に移動
45行目: 45行目:
options usb-storage quirks=152d:0562:u
options usb-storage quirks=152d:0562:u
</pre>
</pre>

<syntaxhighlight lang="bash">
$ lsusb -t
...
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
|__ Port 002: Dev 007, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
...
</syntaxhighlight>


== 書き込み ==
== 書き込み ==

2026年8月28日 (金) 05:35時点における版

イメージファイルのダウンロード

参考

ダウンロード

$ curl -O URL
パラメータ 説明
URL イメージファイルのURL(例:https://downloads.raspberrypi.com/raspios_full_arm64/images/raspios_full_arm64-2026-06-19/2026-06-18-raspios-trixie-arm64-full.img.xz)

チェックサム

$ sha256sum -c hash.txt
パラメータ 説明
hash.txt チェックサムを記載したファイル(例:
2ca7ec6ac0e43595774ebf1061334a00f9dc0d1ea879b895a174a52ea8e32ec3  2026-06-18-raspios-trixie-arm64-full.img.xz
)

ストレージへの書き込み

UAS対応が不完全なUSBストレージを使用する場合

$ lsusb
...
Bus 002 Device 007: ID 152d:0562 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
...
  • /etc/modprobe.d/jms567.conf
options usb-storage quirks=152d:0562:u
$ lsusb -t
...
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 002: Dev 007, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
...

書き込み

$ xzcat RASPIOS.img.xz | sudo dd of=/dev/sdX bs=4M status=progress conv=fsync
パラメータ 説明
RASPIOS.img.xz イメージファイル(例:2026-06-18-raspios-trixie-arm64-full.img.xz)
sdX デバイス名(例:sdb)