「誤家庭における小規模ネットワーク構築/Raspberry Piセットアップ」の版間の差分
ナビゲーションに移動
検索に移動
| 57行目: | 57行目: | ||
= Raspberry Piの初期設定 = |
= Raspberry Piの初期設定 = |
||
== cloud- |
== cloud-init == |
||
* /bootディレクトリ |
* /bootディレクトリ |
||
2026年8月31日 (月) 14:28時点における版
注意事項
ハードウェア設定
| デバイス | 接続先 |
|---|---|
| USB接続のSSD | USB 3.0 port 1(※port 2だと、PARTUUIDが変わってしまう) |
イメージファイルのダウンロード
参考
ダウンロード
$ 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) |
ストレージへの書き込み
書き込み
$ 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) |
Raspberry Piの初期設定
cloud-init
- /bootディレクトリ
- meta-data
- network-config
- user-data
user-data
- Country
- Language
- Timezone
- username
- password
- WiFi network
- Browser