- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2020-05-21T11:11:28+09:00","default:honma","honma")
#author("2020-05-21T13:03:20+09:00","default:honma","honma")
* Raspberry piにubuntu MATE(18.04.2)をインストールする [#vd5f6f8c]
Raspberry pi 3b+ に 32bit版と64bit版の ubuntu MATE(18.04.2) をインストールしてみる
Raspberry pi 3b+ は Cortex-A53 なので 64bit CPU なのだが、残念なことに raspbian は 32bit版しか提供されていない。~
そこで、Raspberry pi 3b+ に 32bit版と64bit版の ubuntu MATE(18.04.2) をそれぞれインストールしてみる.
** ダウンロード先 [#k8c94560]
** ダウンロード [#k8c94560]
[[32bit版:https://ubuntu-mate.org/download/armhf/bionic/]]
リンク先ページ名は18.04.4 だがファイル名は18.04.2~
ファイル名のarmhfは32bitのhard float版だから。arm64はもちろん64bit版
[[32bit版:https://ubuntu-mate.org/download/armhf/bionic/]]~
$ wget https://ubuntu-mate.org/raspberry-pi/ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
$ sha256sum ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
bb74b607da2f4d417851e006fadd5de1304f84681db9c4bd8f17ff1b1d410995 ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
[[64bit版:https://ubuntu-mate.org/download/arm64/bionic/]]
$ wget https://ubuntu-mate.org/raspberry-pi/ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz
$ sha256sum ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz
bb4f6f722b41aa4c40b710b3cb81936127ecf799236ccbaa3b6b5455d8bf2b39 ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz
** 書き込み手順 [#xfdf47a0]
32bit版
$ ls -l ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
-rw-r--r-- 1 developer developer 1265649512 5月 19 10:00 ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
-rw-r--r-- 1 developer developer 1265649512 3月 25 2019 ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
$ xz -dv ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz (1/1)
100 % 1,207.0 MiB / 4,768.4 MiB = 0.253 60 MiB/s 1:19
$ ls -l ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img
-rw-r--r-- 1 developer developer 5000000000 5月 19 10:00 ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img
-rw-r--r-- 1 developer developer 5000000000 3月 25 2019 ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img
$ sudo dd bs=4M if=ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img of=/dev/sdb status=progress conv=fsync
5000000000 bytes (5.0 GB, 4.7 GiB) copied, 537 s, 9.3 MB/s
1192+1 レコード入力
1192+1 レコード出力
5000000000 bytes (5.0 GB, 4.7 GiB) copied, 624.387 s, 8.0 MB/s
64bit版
$ ls -l ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz
-rw-r--r-- 1 developer developer 1251038932 5月 19 10:01 ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz
-rw-r--r-- 1 developer developer 1251038932 3月 25 2019 ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz
$ xz -dv ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz
ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img.xz (1/1)
100 % 1,193.1 MiB / 4,768.4 MiB = 0.250 83 MiB/s 0:57
$ ls -l ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img
-rw-r--r-- 1 developer developer 5000000000 5月 19 10:01 ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img
-rw-r--r-- 1 developer developer 5000000000 3月 25 2019 ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img
$ sudo dd bs=4M if=ubuntu-mate-18.04.2-beta1-desktop-arm64+raspi3-ext4.img of=/dev/sdb status=progress conv=fsync
5000000000 bytes (5.0 GB, 4.7 GiB) copied, 420 s, 11.9 MB/s
1192+1 レコード入力
1192+1 レコード出力
5000000000 bytes (5.0 GB, 4.7 GiB) copied, 483.559 s, 10.3 MB/s
** SSHが利用できるまでの手順 [#pa2b2ea5]
※ssh-keygen が必要なので注意!
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install ssh
$ sudo ssh-keygen -A
$ sudo systemctl start ssh
$ sudo systemctl enable ssh
※Raspberry PiはRaspberry Pi財団の登録商標です。
#htmlinsert(rpi3b+.html);